groovy
  1. groovy
  2. GROOVY-5354

Problems embedding groovyConsole

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 1.8.6
    • Fix Version/s: None
    • Component/s: Groovy Console
    • Labels:
      None
    • Environment:
      MATLAB MacOSX Snow Leopard
    • Number of attachments :
      0

      Description

      On Mac Snow Leopard with MATLAB releases prior to R2012a, groovy.ui.Console() gives class not found errors.
      This seems to occur on UNIX systems generally - not on Windows. The originating exception is

      java.lang.NullPointerException
      at java.util.prefs.AbstractPreferences.node(Unknown Source)
      at java.util.prefs.AbstractPreferences.node(Unknown Source)
      at java.util.prefs.Preferences.userNodeForPackage(Unknown Source)
      at java_util_prefs_Preferences$userNodeForPackage.call(Unknown Source)
      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:116)

      at groovy.ui.Console.<clinit>(Console.groovy:77)
      ... 3 more

      or
      Caused by: java.lang.NullPointerException
      at java.util.prefs.AbstractPreferences.node(AbstractPreferences.java:817)
      at java.util.prefs.AbstractPreferences.node(AbstractPreferences.java:800)
      at java.util.prefs.Preferences.userNodeForPackage(Preferences.java:358)
      at java_util_prefs_Preferences$userNodeForPackage.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
      at groovy.ui.Console.<clinit>(Console.groovy:66)
      ... 60 more

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            ML
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: