You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an interactive shell using picocli-shell-jline3 as in this example.
When I run the example and type in an open or closed parenthesis, I get a Null Pointer Exception. Here is the stack trace coming from my main method when I read in the line: line = reader.readLine(prompt, rightPrompt, (MaskingCallback) null, null)
java.lang.NullPointerException at org.jline.console.impl.SystemRegistryImpl.commandDescription(SystemRegistryImpl.java:405) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1268) at groovy.lang.MetaClassImpl.invokeMethodClosure(MetaClassImpl.java:1048) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1142) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1035) at groovy.lang.Closure.call(Closure.java:412) at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:110) at com.sun.proxy.$Proxy20.apply(Unknown Source) at org.jline.widget.TailTipWidgets$CommandDescriptions.evaluateCommandLine(TailTipWidgets.java:737) at org.jline.widget.TailTipWidgets$CommandDescriptions.evaluateCommandLine(TailTipWidgets.java:689) at org.jline.widget.TailTipWidgets.doTailTip(TailTipWidgets.java:262) at org.jline.widget.TailTipWidgets.tailtipInsert(TailTipWidgets.java:249) at org.jline.widget.Widgets$1.apply(Widgets.java:69) at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:689) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSite.invoke(PojoMetaMethodSite.java:191) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:166)
Is this a known bug?
The text was updated successfully, but these errors were encountered:
Hi,
I have an interactive shell using picocli-shell-jline3 as in this example.
When I run the example and type in an open or closed parenthesis, I get a Null Pointer Exception. Here is the stack trace coming from my main method when I read in the line:
line = reader.readLine(prompt, rightPrompt, (MaskingCallback) null, null)
java.lang.NullPointerException at org.jline.console.impl.SystemRegistryImpl.commandDescription(SystemRegistryImpl.java:405) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1268) at groovy.lang.MetaClassImpl.invokeMethodClosure(MetaClassImpl.java:1048) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1142) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1035) at groovy.lang.Closure.call(Closure.java:412) at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:110) at com.sun.proxy.$Proxy20.apply(Unknown Source) at org.jline.widget.TailTipWidgets$CommandDescriptions.evaluateCommandLine(TailTipWidgets.java:737) at org.jline.widget.TailTipWidgets$CommandDescriptions.evaluateCommandLine(TailTipWidgets.java:689) at org.jline.widget.TailTipWidgets.doTailTip(TailTipWidgets.java:262) at org.jline.widget.TailTipWidgets.tailtipInsert(TailTipWidgets.java:249) at org.jline.widget.Widgets$1.apply(Widgets.java:69) at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:689) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSite.invoke(PojoMetaMethodSite.java:191) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:166)
Is this a known bug?
The text was updated successfully, but these errors were encountered: