Menu

#895 dr.java cannot run - ExceptionInInitializerError

closed-wont-fix
nobody
5
2014-08-20
2010-11-21
nico
No

can't run dr.java, it always show this error before opened. I could be java runtime's problem but i can't figure it out.

java.lang.ExceptionInInitializerError
at edu.rice.cs.drjava.ui.SplashScreen.<init>(SplashScreen.java:57)
at edu.rice.cs.drjava.DrJavaRoot.main(DrJavaRoot.java:108)
at edu.rice.cs.drjava.DrJava.configureAndLoadDrJavaRoot(DrJava.java:377)
at edu.rice.cs.drjava.DrJava.main(DrJava.java:250)
Caused by: java.lang.NullPointerException
at sun.awt.shell.Win32ShellFolder2$7.call(Unknown Source)
at sun.awt.shell.Win32ShellFolder2$7.call(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Unknown Source)
at sun.awt.shell.ShellFolder.invoke(Unknown Source)
at sun.awt.shell.ShellFolder.invoke(Unknown Source)
at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Unknown Source)
at sun.awt.shell.Win32ShellFolder2.access$300(Unknown Source)
at sun.awt.shell.Win32ShellFolder2$11.call(Unknown Source)
at sun.awt.shell.Win32ShellFolder2$11.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

System Properties:
DrJava Version drjava-20100913-r5387
DrJava Build Time 20100913-2126

java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = C:\Program Files\Java\jre6\bin
java.vm.version = 17.1-b03
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 =
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.dir>
java.runtime.version = 1.6.0_22-b04
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs = C:\Program Files\Java\jre6\lib\endorsed
os.arch = x86
java.io.tmpdir = <anonymized user.home>\AppData\Local\Temp\ line.separator = "\u000d\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
user.variant =
os.name = Windows 7
sun.jnu.encoding = GBK
java.library.path = C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\PHP\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;d:\Program Files\MATLAB\R2007b\bin;d:\Program Files\MATLAB\R2007b\bin\win32;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;E:\PROGRA~1\lego\MINDST~1\WinNT\Bin;C:\Program Files\Autodesk\Backburner\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Windows Live\Shared;C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\OpenVPN\bin;C:\Program Files\Java\jre6\bin
java.specification.name = Java Platform API Specification
java.class.version = 50.0
sun.management.compiler = HotSpot Client Compiler
os.version = 6.1
user.home = <anonymized user.home>
user.timezone = America/New_York
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = Cp1252
java.specification.version = 1.6
java.class.path = <anonymized user.dir>drjava-stable-20100913-r5387.exe
user.name = <anonymized user.name>
java.vm.specification.version = 1.0
java.home = C:\Program Files\Java\jre6
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_22
java.ext.dirs = C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path = C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\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
sun.desktop = windows
sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

DrJava configuration file
In resource bundle edu.rice.cs.drjava.config.options:
nothing

In shadowed configuration:
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]

Used memory: about 1.80 megabytes
Free memory: about 13.70 megabytes
Total memory: about 15.50 megabytes
Total memory can expand to: about 247.50 megabytes

Number of processors/cores: 2

Compiler Discovery Log:

Discussion

  • nico

    nico - 2010-11-21
    • summary: dr.java cannot run --> dr.java cannot run - ExceptionInInitializerError
     
  • Mathias Ricken

    Mathias Ricken - 2010-11-21
    • status: open --> closed-wont-fix
     
  • Mathias Ricken

    Mathias Ricken - 2010-11-21

    This is not a bug in DrJava, and there is nothing we can do. It is a bug in Java that Oracle needs to fix.

    Please try downloading the jar file and using it instead of the exe. That may help. Other than that, I can only suggest keeping your version of Java as up to date as possible, since Oracle may fix this bug.

    Here are links to the Oracle bug report and to a bug report for Eclipse:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6973685
    http://netbeans.org/bugzilla/show_bug.cgi?id=188369

     
  • nico

    nico - 2010-11-21

    Thanks! I knew that this is not a bug in dr.java. Since a lot of things are going wrong using java. ArgoUML can't create new and save as. Java EE can't be installed. Even Eclipse is reminding me error coding everywhere, while there isn't one.

    I reinstalled java several times but the problem can't be fixed. I am actually going to restore my windows because of the desperation.

    As the problem in java exist, and dr.java is the only thing that reply me where did go wrong. I tried to post it here to see if anyone has seen the problem and got a way to solve it as well.

     

Log in to post a comment.