#756 NullPointerException in QuickStart Guide

3: Ugly
closed-fixed
7
2009-04-16
2009-04-15
Mathias Ricken
No

java.lang.NullPointerException
at edu.rice.cs.drjava.ui.QuickStartFrame$1.hyperlinkUpdate(QuickStartFrame.java:94)
at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:320)
at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:827)
at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:637)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5586)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5348)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3945)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

System Properties:
DrJava Version drjava-20090415-r4897
DrJava Build Time 20090415-1422

drjava.debug.port = 55298
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries
java.vm.version = 1.5.0_16-132
awt.nativeDoubleBuffering = true
gopherProxySet = false
java.vm.vendor = "Apple Computer, Inc."
java.vendor.url = http://apple.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 = unknown
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.dir>
java.runtime.version = 1.5.0_16-b06-275
java.awt.graphicsenv = apple.awt.CGraphicsEnvironment
java.endorsed.dirs = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed
os.arch = i386
java.io.tmpdir = /tmp
line.separator = "\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
os.name = Mac OS X
apple.laf.useScreenMenuBar = true
sun.jnu.encoding = MacRoman
java.library.path = <anonymized user.dir>/DrJava.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.specification.name = Java Platform API Specification
java.class.version = 49.0
sun.management.compiler = HotSpot Client Compiler
os.version = 10.4.11
user.home = <anonymized user.home>
user.timezone = America/Chicago
java.awt.printerjob = apple.awt.CPrinterJob
file.encoding = MacRoman
java.specification.version = 1.5
java.class.path = <anonymized user.dir>/DrJava.app/Contents/Resources/Java/drjava.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar
user.name = <anonymized user.name>
apple.awt.graphics.UseQuartz = true
java.vm.specification.version = 1.0
java.home = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
sun.arch.data.model = 32
user.language = en
java.specification.vendor = Sun Microsystems Inc.
awt.toolkit = apple.awt.CToolkit
java.vm.info = mixed mode
java.version = 1.5.0_16
java.ext.dirs = /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext
sun.boot.class.path = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar
java.vendor = Apple Computer, Inc.
file.separator = /
java.vendor.url.bug = http://developer.apple.com/java/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
java.rmi.server.hostname = 127.0.0.1
mrj.version = 1040.1.5.0_16-275
sun.awt.exception.handler = apple.awt.CToolkit$EventQueueExceptionHandler
sun.cpu.isalist =

#DrJava configuration file
#Wed Apr 15 18:55:29 CDT 2009
font.line.numbers = Monaco-10
lineenum.enabled = true
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]
find.replace.match.case = false
debug.sourcepath = <anonymized user.home>/Applications:<anonymized user.home>/backup
debug.step.exclude = a,b,c
javadoc.1.4.link = file://<anonymized user.home>/Sites/docs/Java/j2sdk-1_4_2-doc/api/
javadoc.1.5.link = file://<anonymized user.home>/Sites/docs/Java/jdk-1_5_0-doc/api
javadoc.additional.links = [http://drjava.org/javadoc/dynamicjava,http://drjava.org/javadoc/drjava,http://drjava.org/javadoc/plt]
interactions.exit.prompt = false
open.folder.recursive = true
recent.files = [<anonymized user.home>/Documents/Java/Foo.java,/Users/Shared/drjava/drjava/src/edu/rice/cs/drjava/ui/config/VectorKeyStrokeOptionComponent.java,/Users/Shared/drjava/drjava/src/edu/rice/cs/drjava/ui/config/VectorKeyStrokeOptionComponentTest.java]
recent.projects = [<anonymized user.home>/Documents/Research/Concutest/ClassLoader/ClassLoader.xml,<anonymized user.home>/Desktop/Bug3.xml,<anonymized user.home>/drjava/drjava.xml,<anonymized user.home>/Documents/Research/Mint/java-mint/java-mint.xml]
window.height = 776
window.width = 1276
window.x = 0
window.y = 22
window.state = 6
doc.list.width = 0
last.dir = /Users/Shared/drjava/drjava/src/edu/rice/cs/drjava/ui/KeyBindingManager.java
last.interactions.dir = /Users/Shared/drjava
master.jvm.xmx = 1024
dialog.clipboard.history.state = 425 400 425 210
dialog.gotofile.state = 393 300 441 260 0
dialog.completeword.javaapi = true
tabbedpanes.state = 640 400 700 400
dialog.jaroptions.state = 417 273
find.replace.focus.in.defpane = true
new.version.notification = weekly experimental builds
new.version.notification.last = 1239390206806
drjava.survey.notification.last = 1239805456768
drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=4897&os.name=Mac%20OS%20X&os.version=10.4.11&java.version=1.5.0_16&java.vendor=Apple%20Computer,%20Inc.

Used memory: about 61.24 megabytes
Free memory: about 123.69 megabytes
Total memory: about 184.93 megabytes
Total memory can expand to: about 1016.12 megabytes

Discussion

  • Mathias Ricken
    Mathias Ricken
    2009-04-15

    This happens every time a link is clicked, in both the QuickStart guide and the User Documentation.

     
  • Mathias Ricken
    Mathias Ricken
    2009-04-15

    • priority: 5 --> 7
     
  • Mathias Ricken
    Mathias Ricken
    2009-04-16

    The file names for the documentation changed when the docs build process was migrated to xsltproc in revision 4712, and the names were not updated in the DrJava code base.

    Fixed as of revision 4905.

     
  • Mathias Ricken
    Mathias Ricken
    2009-04-16

    • assigned_to: nobody --> mgricken
    • status: open --> closed-fixed