Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-139

Colon in project path confuses error message parser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 2.5.0
    • Fix Version/s: 3.0.0
    • Component/s: Compiler

      Description

      As reported by Don Blaheta on Bluej-discuss/bluej-support, when a compiler error occurs in a project which has a colon in the path, BlueJ barfs:

      BlueJ run started: Sat Oct 25 15:05:38 CDT 2008
      BlueJ version 2.5.0
      Java version 1.5.0_16
      Virtual machine: Java HotSpot(TM) 64-Bit Server VM 1.5.0_16-b02 (Sun Microsystems Inc.)
      Running on: Linux 2.6.25.14-69.fc8 (amd64)
      Java Home: /usr/java/jdk1.5.0_16/jre
      ----
      Opening project: /home/employee/dblaheta/scratch/cs141/lab5-ljorgens-22 October 2008 14:26:53/eliza_start
      Connected to debug VM via dt_socket transport...
      Communication with debug VM fully established.
      Exception during compilation: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      	at bluej.compiler.EventqueueCompileObserver.runOnEventQueue(EventqueueCompileObserver.java:51)
      	at bluej.compiler.EventqueueCompileObserver.errorMessage(EventqueueCompileObserver.java:69)
      	at bluej.compiler.JavacCompilerInternal.compile(JavacCompilerInternal.java:123)
      	at bluej.compiler.Job.compile(Job.java:58)
      	at bluej.compiler.CompilerThread.run(CompilerThread.java:50)
      Caused by: java.lang.reflect.InvocationTargetException
      	at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
      	at bluej.compiler.EventqueueCompileObserver.runOnEventQueue(EventqueueCompileObserver.java:48)
      	... 4 more
      Caused by: java.lang.NullPointerException
      	at bluej.utility.JavaNames.getPrefix(JavaNames.java:110)
      	at bluej.pkgmgr.Package.showEditorMessage(Package.java:2090)
      	at bluej.pkgmgr.Package.access$400(Package.java:69)
      	at bluej.pkgmgr.Package$PackageCompileObserver.errorMessage(Package.java:2341)
      	at bluej.compiler.EventqueueCompileObserver.run(EventqueueCompileObserver.java:101)
      	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
      	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
      	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
      	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
      	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      

        Attachments

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              davmac Davin McCall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: