George Gastaldi created FORGE-2441:
--------------------------------------
Summary: Exception in log while shutting down
Key: FORGE-2441
URL:
https://issues.jboss.org/browse/FORGE-2441
Project: Forge
Issue Type: Quality Risk
Components: UI - Shell
Affects Versions: 2.17.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Priority: Optional
Fix For: 2.18.0.Final
While shutting down, the following exception is displayed in the logs:
{code}
12:47:05,228 SEVERE [org.jboss.forge.addon.ui.impl.controller.AbstractCommandController]
(Aesh Process Loop 724826075) Error while notifying listeners:
java.lang.IllegalStateException: Cannot access this method until Furnace is running. Call
.start() or .startAsync() first.
at org.jboss.forge.furnace.impl.FurnaceImpl.assertIsAlive(FurnaceImpl.java:504)
[furnace-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at org.jboss.forge.furnace.impl.FurnaceImpl.getAddonRegistry(FurnaceImpl.java:350)
[furnace-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at
org.jboss.forge.addon.resource.ResourceFactoryImpl.getAddonRegistry(ResourceFactoryImpl.java:136)
[resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.resource.ResourceFactoryImpl.getGenerators(ResourceFactoryImpl.java:69)
[resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.resource.ResourceFactoryImpl.create(ResourceFactoryImpl.java:47)
[resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.resource.AbstractFileResource.getParent(AbstractFileResource.java:66)
[resources-api-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.resource.DirectoryResourceImpl.getParent(DirectoryResourceImpl.java:168)
[resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.resource.DirectoryResourceImpl.getParent(DirectoryResourceImpl.java:25)
[resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.allDirectoriesOnPath(ProjectFactoryImpl.java:187)
[projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:126)
[projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:107)
[projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.projects.Projects.getSelectedProject(Projects.java:40)
[projects-api-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener.postCommandExecuted(ProjectBuildStatusListener.java:41)
[projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[rt.jar:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_51]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
[furnace-proxy-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
[furnace-api-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
[furnace-proxy-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at
org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener_$$_javassist_dcd80bb2-ba56-473a-b0e5-9935fef000c6.postCommandExecuted(ProjectBuildStatusListener_$$_javassist_dcd80bb2-ba56-473a-b0e5-9935fef000c6.java)
[projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.firePostCommandExecuted(AbstractCommandController.java:144)
[ui-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94)
[ui-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98)
[shell-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at
org.jboss.forge.addon.shell.ShellImpl$ForgeInterruptHook.handleInterrupt(ShellImpl.java:325)
[shell-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.aesh.console.Console$3.handleInterrupt(Console.java:235)
[aesh-0.61.jar:0.61]
at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:179)
[aesh-0.61.jar:0.61]
at org.jboss.aesh.console.Console.processInternalOperation(Console.java:698)
[aesh-0.61.jar:0.61]
at org.jboss.aesh.console.Console.execute(Console.java:688) [aesh-0.61.jar:0.61]
at org.jboss.aesh.console.Console.access$1000(Console.java:73) [aesh-0.61.jar:0.61]
at org.jboss.aesh.console.Console$6.run(Console.java:593) [aesh-0.61.jar:0.61]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_51]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)