[forge-issues] [JBoss JIRA] (FORGE-653) Unexpected error when attempting to run an invalid command in Eclipse

George Gastaldi (JIRA) jira-events at lists.jboss.org
Tue Aug 14 16:50:14 EDT 2012


     [ https://issues.jboss.org/browse/FORGE-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-653.
---------------------------------

    Fix Version/s: 1.0.6.Final
       Resolution: Out of Date

    
> Unexpected error when attempting to run an invalid command in Eclipse
> ---------------------------------------------------------------------
>
>                 Key: FORGE-653
>                 URL: https://issues.jboss.org/browse/FORGE-653
>             Project: Forge
>          Issue Type: Bug
>          Components: JBoss Tools Integration
>            Reporter: George Gastaldi
>            Priority: Blocker
>             Fix For: 1.0.6.Final
>
>
> When I type "xx" for example and run in 1.0.6.Final, I get: 
> {code}
> ***ERROR*** Exception encountered: null (type "set VERBOSE true" to enable stack traces)
> {code}
> however in 1.0.5.Final, I get 
> {code}
> ***ERROR*** No such command: xx
> {code}
> This is the offending stack trace: 
> {code}
> java.lang.NullPointerException
> 	at org.jboss.tools.forge.runtime.ext.EventHandler.flattenObjectArray(EventHandler.java:43)
> 	at org.jboss.tools.forge.runtime.ext.EventHandler.getParameterString(EventHandler.java:38)
> 	at org.jboss.tools.forge.runtime.ext.EventHandler.handleCommandExecuted(EventHandler.java:27)
> 	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:601)
> 	at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> 	at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> 	at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
> 	at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
> 	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> 	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> 	at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> 	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> 	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> 	at org.jboss.forge.shell.command.Execution.perform(Execution.java:155)
> 	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
> 	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
> 	at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:817)
> 	at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:840)
> 	at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:630)
> 	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:601)
> 	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
> 	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
> 	at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
> 	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:601)
> 	at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> 	at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> 	at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
> 	at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
> 	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> 	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> 	at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> 	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> 	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> 	at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:147)
> 	at java.lang.Thread.run(Thread.java:722)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list