[JBoss JIRA] (FORGE-95) NPE when holding CTRL + arrow
by Lincoln Baxter III (Commented) (JIRA)
[ https://issues.jboss.org/browse/FORGE-95?page=com.atlassian.jira.plugin.s... ]
Lincoln Baxter III commented on FORGE-95:
-----------------------------------------
Any chance you could figure out what the difference is? I am unable to reproduce this issue. We have also now forked JLine into Forge itself, so we can directly fix any issue.
> NPE when holding CTRL + arrow
> ------------------------------
>
> Key: FORGE-95
> URL: https://issues.jboss.org/browse/FORGE-95
> Project: Forge
> Issue Type: Bug
> Components: Shell, Windows
> Affects Versions: 1.0.0.Beta2
> Environment: Windows 7
> Reporter: George Gastaldi
> Fix For: 1.0.0.Final
>
>
> The following stacktrace is presented with "set VERBOSE true":
> {code:java}
> java.lang.NullPointerException
> at jline.WindowsTerminal.readVirtualKey(WindowsTerminal.java:200)
> at jline.console.ConsoleReader.readVirtualKey(ConsoleReader.java:983)
> at jline.console.ConsoleReader.readBinding(ConsoleReader.java:1208)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:1300)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:1246)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:1232)
> at org.jboss.seam.forge.shell.ShellImpl.readLine(ShellImpl.java:601)
> at org.jboss.seam.forge.shell.ShellImpl.doShell(ShellImpl.java:486)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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.seam.forge.shell.org$jboss$weld$bean-classpath-ManagedBean-class_org$jboss$seam$forge$shell$ShellImpl_$$_WeldClientProxy.doShell(org$jboss$weld$bean-classpath-ManagedBean-class_or
> g$jboss$seam$forge$shell$ShellImpl_$$_WeldClientProxy.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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:270)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:222)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:632)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:619)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:613)
> at org.jboss.seam.forge.shell.Bootstrap$2.run(Bootstrap.java:92)
> {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