Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NewPageTemplate command cant find resource bundle properties #43

Open
jbuddha opened this issue May 16, 2015 · 0 comments
Open

NewPageTemplate command cant find resource bundle properties #43

jbuddha opened this issue May 16, 2015 · 0 comments

Comments

@jbuddha
Copy link

jbuddha commented May 16, 2015

Executing any commands in forge shell is resulting in an error while forge is trying to get list of commands. To reproduce this, enter forge shell. Install JBake Forge addon and execute any forge or shell command...

Following is the error...

SEVERE [org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl] (AeshProcess: 4) Error while getting command name for class org.jbake.forge.addon.ui.template.NewTemplate_$$_javassist_6a6abfba-b298-4e53-a791-e8124ac2ed95: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key metadata.template.description
        at java.util.ResourceBundle.getObject(ResourceBundle.java:450) [rt.jar:1.8.0_25]
        at java.util.ResourceBundle.getString(ResourceBundle.java:407) [rt.jar:1.8.0_25]
        at org.jbake.forge.addon.utils.MessageUtil.getMetadataValue(MessageUtil.java:69)
        at org.jbake.forge.addon.ui.template.NewTemplate.getMetadata(NewTemplate.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_25]
        at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.13.0.Final.jar:2.13.0.Final]
        at org.jbake.forge.addon.ui.template.NewTemplate_$$_javassist_6a6abfba-b298-4e53-a791-e8124ac2ed95.getMetadata(NewTemplate_$$_javassist_6a6abfba-b298-4e53-a791-e8124ac2ed95.java)
        at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getCommandName(CommandFactoryImpl.java:86) [ui-impl-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.findCommand(CommandFactoryImpl.java:137) [ui-impl-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getNewCommandByName(CommandFactoryImpl.java:124) [ui-impl-2.13.0.Final.jar:2.13.0.Final]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_25]
        at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl_$$_javassist_b8fe3109-458d-43b0-b604-055d1473cc47.getNewCommandByName(CommandFactoryImpl_$$_javassist_b8fe3109-458d-43b0-b604-055d1473cc47.java) [ui-impl-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.findCommand(ForgeCommandRegistry.java:135)
        at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getForgeCommand(ForgeCommandRegistry.java:110)
        at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getCommand(ForgeCommandRegistry.java:84)
        at org.jboss.aesh.console.AeshConsoleImpl.getCommand(AeshConsoleImpl.java:242)
        at org.jboss.aesh.console.AeshConsoleImpl.access$100(AeshConsoleImpl.java:51)
        at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:304)
        at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_25]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_25]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_25]

10:36:50,962 SEVERE [org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl] (AeshProcess: 4) Error while getting command name for class org.jbake.forge.addon.ui.template.NewTemplate_$$_javassist_6a6abfba-b298-4e53-a791-e8124ac2ed95: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key metadata.template.description
        at java.util.ResourceBundle.getObject(ResourceBundle.java:450) [rt.jar:1.8.0_25]
        at java.util.ResourceBundle.getString(ResourceBundle.java:407) [rt.jar:1.8.0_25]
        at org.jbake.forge.addon.utils.MessageUtil.getMetadataValue(MessageUtil.java:69)
        at org.jbake.forge.addon.ui.template.NewTemplate.getMetadata(NewTemplate.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_25]
        at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.13.0.Final.jar:2.13.0.Final]
        at org.jbake.forge.addon.ui.template.NewTemplate_$$_javassist_6a6abfba-b298-4e53-a791-e8124ac2ed95.getMetadata(NewTemplate_$$_javassist_6a6abfba-b298-4e53-a791-e8124ac2ed95.java)
        at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getCommandName(CommandFactoryImpl.java:86) [ui-impl-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.findCommand(CommandFactoryImpl.java:146) [ui-impl-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getNewCommandByName(CommandFactoryImpl.java:124) [ui-impl-2.13.0.Final.jar:2.13.0.Final]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_25]
        at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl_$$_javassist_b8fe3109-458d-43b0-b604-055d1473cc47.getNewCommandByName(CommandFactoryImpl_$$_javassist_b8fe3109-458d-43b0-b604-055d1473cc47.java) [ui-impl-2.13.0.Final.jar:2.13.0.Final]
        at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.findCommand(ForgeCommandRegistry.java:135)
        at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getForgeCommand(ForgeCommandRegistry.java:110)
        at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getCommand(ForgeCommandRegistry.java:84)
        at org.jboss.aesh.console.AeshConsoleImpl.getCommand(AeshConsoleImpl.java:242)
        at org.jboss.aesh.console.AeshConsoleImpl.access$100(AeshConsoleImpl.java:51)
        at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:304)
        at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_25]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_25]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_25]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant