[
https://issues.jboss.org/browse/FORGE-2045?page=com.atlassian.jira.plugin...
]
Ondrej Zizka updated FORGE-2045:
--------------------------------
Affects Version/s: 2.10.1.Final
NPE when stopping Forge
-----------------------
Key: FORGE-2045
URL:
https://issues.jboss.org/browse/FORGE-2045
Project: Forge
Issue Type: Bug
Affects Versions: 2.10.1.Final
Reporter: Ondrej Zizka
Happened when stopping Forge (Ctrl+D).
Could be caused by deleting .forge/addons content while still running.
{code}
03:47:40,711 SEVERE [org.jboss.forge.addon.ui.impl.controller.AbstractCommandController]
(Aesh Process Loop 581393411) Error while notifying listeners:
java.lang.NullPointerException
at
org.jboss.forge.addon.maven.projects.MavenFacetImpl.getModelResource(MavenFacetImpl.java:111)
at
org.jboss.forge.addon.maven.projects.MavenFacetImpl.getProjectBuildingResult(MavenFacetImpl.java:153)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) [:1.7.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_65]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
[furnace-proxy-2.10.1.Final.jar:2.10.1.Final]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
[furnace-api-2.10.1.Final.jar:2.10.1.Final]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
[furnace-proxy-2.10.1.Final.jar:2.10.1.Final]
at
org.jboss.forge.addon.maven.projects.MavenFacetImpl_$$_javassist_9ed88088-cab9-4c3b-984f-38898d2f7c5f.getProjectBuildingResult(MavenFacetImpl_$$_javassist_9ed88088-cab9-4c3b-984f-38898d2f7c5f.java)
at
org.jboss.forge.addon.maven.projects.facets.MavenPackagingFacet.getBuildResult(MavenPackagingFacet.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_65]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
[furnace-proxy-2.10.1.Final.jar:2.10.1.Final]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
[furnace-api-2.10.1.Final.jar:2.10.1.Final]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
[furnace-proxy-2.10.1.Final.jar:2.10.1.Final]
at
org.jboss.forge.addon.maven.projects.facets.MavenPackagingFacet_$$_javassist_d03b0ae4-70b6-423e-ab1a-f46beb7d814e.getBuildResult(MavenPackagingFacet_$$_javassist_d03b0ae4-70b6-423e-ab1a-f46beb7d814e.java)
at
org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener.postCommandExecuted(ProjectBuildStatusListener.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_65]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_65]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
[furnace-proxy-2.10.1.Final.jar:2.10.1.Final]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
[furnace-api-2.10.1.Final.jar:2.10.1.Final]
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
[furnace-proxy-2.10.1.Final.jar:2.10.1.Final]
at
org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener_$$_javassist_8840c8db-249d-48dd-bb36-4f4e122075a2.postCommandExecuted(ProjectBuildStatusListener_$$_javassist_8840c8db-249d-48dd-bb36-4f4e122075a2.java)
at
org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.firePostCommandExecuted(AbstractCommandController.java:144)
[ui-impl-2.10.1.Final.jar:2.10.1.Final]
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:89)
[ui-impl-2.10.1.Final.jar:2.10.1.Final]
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74)
[shell-impl-2.10.1.Final.jar:2.10.1.Final]
at
org.jboss.forge.addon.shell.ShellImpl$ForgeInterruptHook.handleInterrupt(ShellImpl.java:317)
[shell-impl-2.10.1.Final.jar:2.10.1.Final]
at org.jboss.aesh.console.Console$3.handleInterrupt(Console.java:215)
[aesh-0.56.1.jar:0.56.1]
at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:157)
[aesh-0.56.1.jar:0.56.1]
at org.jboss.aesh.console.Console.processInternalOperation(Console.java:615)
[aesh-0.56.1.jar:0.56.1]
at org.jboss.aesh.console.Console.execute(Console.java:605) [aesh-0.56.1.jar:0.56.1]
at org.jboss.aesh.console.Console.access$700(Console.java:58) [aesh-0.56.1.jar:0.56.1]
at org.jboss.aesh.console.Console$6.run(Console.java:508) [aesh-0.56.1.jar:0.56.1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)