#588 DR java shows exception uopn creating new project

6: Crashes
closed
5
2007-04-27
2007-04-27
Anonymous
No

java.lang.NullPointerException
at edu.rice.cs.drjava.model.AbstractGlobalModel$ProjectFileGroupingState.getWorkingDirectory(AbstractGlobalModel.java:732)
at edu.rice.cs.drjava.model.AbstractGlobalModel.getWorkingDirectory(AbstractGlobalModel.java:617)
at edu.rice.cs.drjava.ui.ProjectPropertiesFrame._getWorkDir(ProjectPropertiesFrame.java:260)
at edu.rice.cs.drjava.ui.ProjectPropertiesFrame._workDirectoryPanel(ProjectPropertiesFrame.java:424)
at edu.rice.cs.drjava.ui.ProjectPropertiesFrame._setupPanel(ProjectPropertiesFrame.java:336)
at edu.rice.cs.drjava.ui.ProjectPropertiesFrame.init(ProjectPropertiesFrame.java:128)
at edu.rice.cs.drjava.ui.ProjectPropertiesFrame.<init>(ProjectPropertiesFrame.java:123)
at edu.rice.cs.drjava.ui.MainFrame._editProject(MainFrame.java:3892)
at edu.rice.cs.drjava.ui.MainFrame._newProject(MainFrame.java:3919)
at edu.rice.cs.drjava.ui.MainFrame.access$1100(MainFrame.java:106)
at edu.rice.cs.drjava.ui.MainFrame$10.actionPerformed(MainFrame.java:362)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

System Properties:
DrJava Version 20070130-2255
java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = C:\Program Files\Java\jre1.6.0_01\bin
java.vm.version = 1.6.0_01-b06
java.vm.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
path.separator = ;
java.vm.name = Java HotSpot(TM) Client VM
file.encoding.pkg = sun.io
sun.java.launcher = SUN_STANDARD
user.country = US
sun.os.patch.level = Service Pack 2
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.home>\Desktop\20441\javaEBooks\javaMultiMediaBook
java.runtime.version = 1.6.0_01-b06
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs = C:\Program Files\Java\jre1.6.0_01\lib\endorsed
os.arch = x86
java.io.tmpdir = c:\temp\ line.separator = "\u000d\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
user.variant =
os.name = Windows XP
sun.jnu.encoding = Cp1252
java.library.path = C:\Program Files\Java\jre1.6.0_01\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\STM\ST20R1.9.6\bin;C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\Intel\DMIX;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\Rational\common;C:\Program Files\Java\jdk1.6.0\bin;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;C:\Program Files\STI\bin\pc-win95
java.specification.name = Java Platform API Specification
java.class.version = 50.0
sun.management.compiler = HotSpot Client Compiler
os.version = 5.1
user.home = <anonymized user.home>
user.timezone = Asia/Jerusalem
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = Cp1252
java.specification.version = 1.6
java.class.path = <anonymized user.home>\Desktop\20441\javaEBooks\javaMultiMediaBook\drjava-stable-20070130-2255.exe;C:\Program Files\Java\jdk1.6.0_01\lib\tools.jar
user.name = <anonymized user.name>
java.vm.specification.version = 1.0
java.home = C:\Program Files\Java\jre1.6.0_01
sun.arch.data.model = 32
user.language = en
java.specification.vendor = Sun Microsystems Inc.
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode, sharing
java.version = 1.6.0_01
java.ext.dirs = C:\Program Files\Java\jre1.6.0_01\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
sun.boot.class.path = C:\Program Files\Java\jre1.6.0_01\lib\resources.jar;C:\Program Files\Java\jre1.6.0_01\lib\rt.jar;C:\Program Files\Java\jre1.6.0_01\lib\sunrsasign.jar;C:\Program Files\Java\jre1.6.0_01\lib\jsse.jar;C:\Program Files\Java\jre1.6.0_01\lib\jce.jar;C:\Program Files\Java\jre1.6.0_01\lib\charsets.jar;C:\Program Files\Java\jre1.6.0_01\classes
java.vendor = Sun Microsystems Inc.
file.separator = \ java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
java.rmi.server.hostname = 127.0.0.1
sun.desktop = windows
sun.awt.exception.handler = edu.rice.cs.drjava.ui.DrJavaErrorHandler
sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

#DrJava configuration file
#Fri Apr 27 16:29:36 IDT 2007
key.delete.next = shift DELETE
key.delete.previous = shift BACK_SPACE
save.before.compile = true
recent.files = [C:\\OferAndUri_java_Projects\\Test.java]
window.height = 734
window.width = 1024
window.x = 0
window.y = 0
debug.panel.height = 114
last.dir = C:\\OferAndUri_java_Projects
last.interactions.dir = C:\\OferAndUri_java_Projects

Used memory: about 5.46 megabytes
Free memory: about 4.13 megabytes
Total memory: about 9.61 megabytes
Total memory can expand to: about 127.06 megabytes

Discussion

  • Mathias Ricken

    Mathias Ricken - 2007-04-27

    Logged In: YES
    user_id=1075744
    Originator: NO

    Fixed as of release 4229. You can try out the latest version from April 27 at

    http://www.cs.rice.edu/~javaplt/drjavarice/

     
  • Mathias Ricken

    Mathias Ricken - 2007-04-27
    • assigned_to: nobody --> mgricken
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks