#852 Invalid Null pointer exceptions

6: Crashes
closed-duplicate
nobody
5
2010-04-10
2010-04-10
kenya phillips
No

When creating a GUI my integer and double fields showed this error...

java.lang.NullPointerException
at edu.rice.cs.drjava.ui.MainFrame$ModelListener.interactionEnded(MainFrame.java:7453)
at edu.rice.cs.drjava.model.GlobalEventNotifier.interactionEnded(GlobalEventNotifier.java:331)
at edu.rice.cs.drjava.model.repl.InteractionsEventNotifier.interactionEnded(InteractionsEventNotifier.java:75)
at edu.rice.cs.drjava.model.repl.DefaultInteractionsModel$3.run(DefaultInteractionsModel.java:136)
at java.awt.event.InvocationEvent.dispatch(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 20080112-0033
drjava.debug.port = 49499
java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = C:\Program Files\Java\jre6\bin
java.vm.version = 16.0-b13
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.dir>
java.runtime.version = 1.6.0_18-b07
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 Vista
sun.jnu.encoding = Cp1252
java.library.path = C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\ java.specification.name = Java Platform API Specification
java.class.version = 50.0
sun.management.compiler = HotSpot Client Compiler
os.version = 6.0
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-20080106-0744.jar
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_18
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
java.rmi.server.hostname = 127.0.0.1
sun.desktop = windows
sun.awt.exception.handler = edu.rice.cs.drjava.ui.DrJavaErrorHandler
sun.cpu.isalist =

#DrJava configuration file
#Sat Apr 10 11:28:33 EDT 2010
javac.location = G:\\Java Extensions\\tools.jar
extra.classpath = G:\\Java Extensions\\TurtleGraphics.jar;G:\\Java Extensions\\tools.jar;G:\\Java Extensions\\TerminalIO.jar;G:\\Java Extensions\\BreezySwing.jar;G:\\Java Extensions\\gridworld.jar;G:\\bookclasses
lineenum.enabled = true
key.delete.next = shift DELETE
key.delete.previous = shift BACK_SPACE
interactions.exit.prompt = false
save.before.compile = true
show.path.warnings = true
recent.files = [G:\\GreatestCommonDivisor.java,G:\\MyFirstGUIKP.java,G:\\Documents\\Videos\\ArrayGUIKP.java,G:\\SalesTable.java]
window.height = 754
window.width = 1040
window.x = -8
window.y = -8
doc.list.width = 165
last.dir = G:\\Documents\\Videos\\ArrayGUIKP.java
last.interactions.dir = G:\\Documents\\Videos

Used memory: about 23.55 megabytes
Free memory: about 12.30 megabytes
Total memory: about 35.86 megabytes
Total memory can expand to: about 123.75 megabytes

Discussion

  • kenya phillips
    kenya phillips
    2010-04-10

    The document containing "error"

     
    Attachments
  • Mathias Ricken
    Mathias Ricken
    2010-04-10

    Fixed in the latest stable at http://www.drjava.org/

     
  • Mathias Ricken
    Mathias Ricken
    2010-04-10

    • status: open --> closed-duplicate