Grails
  1. Grails
  2. GRAILS-8076

CTRL + D isn't working in the console

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-M2, 2.0-RC3
    • Fix Version/s: 2.1-RC1
    • Component/s: None
    • Labels:

      Description

      CTRL + D => means exit/logout on linux. But using that on grails interactive console produces some stacktrace.

        Activity

        Hide
        Raviteja added a comment - - edited

        This issue was not there in Grails 1.3.7 console

        Show
        Raviteja added a comment - - edited This issue was not there in Grails 1.3.7 console
        Hide
        Raviteja added a comment -
        java.lang.NullPointerException: Cannot invoke method trim() on null object
        	at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
        	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
        	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
        	at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)
        	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
        	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
        	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
        	at org.codehaus.groovy.grails.cli.interactive.InteractiveMode.run(InteractiveMode.groovy:101)
        	at org.codehaus.groovy.grails.cli.GrailsScriptRunner.main(GrailsScriptRunner.java:215)
        	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:616)
        	at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:234)
        	at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:262)
        | Error Error running script null: Cannot invoke method trim() on null object
        
        
        Show
        Raviteja added a comment - java.lang.NullPointerException: Cannot invoke method trim() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at org.codehaus.groovy.grails.cli.interactive.InteractiveMode.run(InteractiveMode.groovy:101) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.main(GrailsScriptRunner.java:215) 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:616) at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:234) at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:262) | Error Error running script null: Cannot invoke method trim() on null object
        Hide
        Marco Vermeulen added a comment -

        A fix for this waiting in a pull request:
        https://github.com/grails/grails-core/pull/145

        Show
        Marco Vermeulen added a comment - A fix for this waiting in a pull request: https://github.com/grails/grails-core/pull/145

          People

          • Assignee:
            Burt Beckwith
            Reporter:
            Raviteja
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development