[JBoss JIRA] (FORGE-2005) Display the project build errors after a command is executed when in a project context
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2005?page=com.atlassian.jira.plugin... ]
George Gastaldi reopened FORGE-2005:
------------------------------------
The following exception is thrown in some scenarios:
{code}
Sep 16, 2014 3:19:18 PM org.jboss.forge.addon.ui.impl.controller.AbstractCommandController firePostCommandExecuted
SEVERE: Error while notifying listeners
java.lang.NullPointerException
at org.jboss.forge.addon.maven.projects.MavenBuildManager.getProjectBuildingResult(MavenBuildManager.java:95)
at org.jboss.forge.addon.maven.projects.MavenFacetImpl.getProjectBuildingResult(MavenFacetImpl.java:153)
at org.jboss.forge.addon.maven.projects.MavenFacetImpl.isModelValid(MavenFacetImpl.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at org.jboss.forge.addon.maven.projects.MavenFacetImpl_$$_javassist_df1768b6-7b3a-4909-ac99-b7a39edffb26.isModelValid(MavenFacetImpl_$$_javassist_df1768b6-7b3a-4909-ac99-b7a39edffb26.java)
at org.jboss.forge.addon.maven.projects.facets.MavenPackagingFacet.getBuildResult(MavenPackagingFacet.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at org.jboss.forge.addon.maven.projects.facets.MavenPackagingFacet_$$_javassist_4ade6a8d-6d77-42b8-82d5-7141ddf1c431.getBuildResult(MavenPackagingFacet_$$_javassist_4ade6a8d-6d77-42b8-82d5-7141ddf1c431.java)
at org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener.postCommandExecuted(ProjectBuildStatusListener.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener_$$_javassist_8f62c9c0-7174-4acc-9c1f-a3c8b47fe740.postCommandExecuted(ProjectBuildStatusListener_$$_javassist_8f62c9c0-7174-4acc-9c1f-a3c8b47fe740.java)
at org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.firePostCommandExecuted(AbstractCommandController.java:144)
at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:89)
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74)
at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
{code}
> Display the project build errors after a command is executed when in a project context
> --------------------------------------------------------------------------------------
>
> Key: FORGE-2005
> URL: https://issues.jboss.org/browse/FORGE-2005
> Project: Forge
> Issue Type: Feature Request
> Components: Build Tools - Maven, Projects, UI - API
> Affects Versions: 2.9.2.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.10.0.Final
>
>
> More details in JBIDE-17492
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)