[JBoss JIRA] Commented: (SEAMFORGE-198) NPE when holding CTRL + arrow
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/SEAMFORGE-198?page=com.atlassian.jira.plu... ]
George Gastaldi commented on SEAMFORGE-198:
-------------------------------------------
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
13 years, 2 months
[JBoss JIRA] Commented: (SEAMFORGE-198) NPE when holding CTRL + arrow
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/SEAMFORGE-198?page=com.atlassian.jira.plu... ]
George Gastaldi commented on SEAMFORGE-198:
-------------------------------------------
It´s occurring on Windows. Here is the full stacktrace:
{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.forge.shell.ShellImpl.readLine(ShellImpl.java:629)
at org.jboss.forge.shell.ShellImpl.readLine(ShellImpl.java:616)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:488)
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.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_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: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:83)
at java.lang.Thread.run(Thread.java:662)
{code}
> 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
13 years, 2 months
[JBoss JIRA] Closed: (SEAMFORGE-257) Add ability to alias commands (like bash)
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/SEAMFORGE-257?page=com.atlassian.jira.plu... ]
Lincoln Baxter III closed SEAMFORGE-257.
----------------------------------------
Assignee: Lincoln Baxter III
Resolution: Done
Done, but requires quotes around the alias definition because of bug in FSH
> Add ability to alias commands (like bash)
> -----------------------------------------
>
> Key: SEAMFORGE-257
> URL: https://issues.jboss.org/browse/SEAMFORGE-257
> Project: Seam Forge
> Issue Type: Feature Request
> Components: Shell
> Affects Versions: 1.0.0.Alpha4
> Reporter: Lincoln Baxter III
> Assignee: Lincoln Baxter III
> Fix For: 1.0.0.Beta3
>
>
> It should be possible to create aliases:
> {code}$ alias foo="echo bar"{code}
> Alias by itself should print a list of aliases:
> {code}$ alias
> $ foo="echo bar"{code}
> Aliases should simply be literal translations via regex on the front of any command, should we support embedded aliases? For modifying any part of a command?
> {code}$ alias foo="bar"
> $ echo foo
> bar{code}
> Etc...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] Updated: (SEAMFORGE-198) NPE when holding CTRL + arrow
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/SEAMFORGE-198?page=com.atlassian.jira.plu... ]
Lincoln Baxter III updated SEAMFORGE-198:
-----------------------------------------
Component/s: Windows
> 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
13 years, 2 months
[JBoss JIRA] Updated: (SEAMFORGE-198) NPE when holding CTRL + arrow
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/SEAMFORGE-198?page=com.atlassian.jira.plu... ]
Lincoln Baxter III updated SEAMFORGE-198:
-----------------------------------------
Fix Version/s: 1.0.0.Beta3
Affects Version/s: 1.0.0.Beta2
Component/s: Shell
I still cannot reproduce this. Could you please "set VERBOSE on" and post the full stack-trace?
Also, as an attempt to clear this up, could you try deleting your ~/.forge directory?
Thanks,
Lincoln
> NPE when holding CTRL + arrow
> ------------------------------
>
> Key: SEAMFORGE-198
> URL: https://issues.jboss.org/browse/SEAMFORGE-198
> Project: Seam Forge
> Issue Type: Bug
> Components: Shell
> 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
13 years, 2 months