[
https://issues.jboss.org/browse/SEAMFORGE-198?page=com.atlassian.jira.plu...
]
George Gastaldi edited comment on SEAMFORGE-198 at 9/22/11 5:03 PM:
--------------------------------------------------------------------
Confirmed it is a Jline bug from the version Forge is running.
Tested with an example downloaded on
http://jline.sourceforge.net and the error did not
occur on latest available version (1.0).
was (Author: gastaldi):
It looks like a jline bug.
NPE when holding CTRL + arrow
------------------------------
Key: SEAMFORGE-198
URL:
https://issues.jboss.org/browse/SEAMFORGE-198
Project: Seam Forge
Issue Type: Bug
Components: Shell, Windows
Affects Versions: 1.0.0.Beta2
Environment: Windows 7
Reporter: George Gastaldi
Fix For: 1.0.0.Beta3
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.
For more information on JIRA, see:
http://www.atlassian.com/software/jira