This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 176907 - NullPointerException at javax.swing.ImageIcon.<init>
Summary: NullPointerException at javax.swing.ImageIcon.<init>
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Anton Chechel
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-11-16 07:09 UTC by Andrei Chistiakov
Modified: 2009-11-19 04:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 162192


Attachments
stacktrace (1.61 KB, text/plain)
2009-11-16 07:09 UTC, Andrei Chistiakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2009-11-16 07:09:24 UTC
Build: NetBeans IDE Dev (Build 200911160201)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments:
ca-nb: - created  Weather FX sample application
- DnD Stage from palette to source editor  window



Stacktrace: 
java.lang.NullPointerException
        at javax.swing.ImageIcon.<init>(ImageIcon.java:190)
        at org.netbeans.modules.javafx.navigation.DocumentationScrollPane.resolveIcon(DocumentationScrollPane.java:136)
        at org.netbeans.modules.javafx.navigation.DocumentationScrollPane.installTitleComponent(DocumentationScrollPane.java:149)
        at org.netbeans.modules.javafx.navigation.DocumentationScrollPane.<init>(DocumentationScrollPane.java:114)
        at org.netbeans.modules.javafx.navigation.JavafxdocTopComponent.<init>(JavafxdocTopComponent.java:75)
        at org.netbeans.modules.javafx.navigation.JavafxdocTopComponent.getDefault(JavafxdocTopComponent.java:100)
Comment 1 Andrei Chistiakov 2009-11-16 07:09:27 UTC
Created attachment 91092 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2009-11-16 07:37:39 UTC
Build 200911160201
NetBeans Full bundle.

- Install NetBeans
- Create a JavaFX Script project
The exception pops up.

java.lang.NullPointerException
	at javax.swing.ImageIcon.<init>(ImageIcon.java:190)
	at org.netbeans.modules.javafx.navigation.DocumentationScrollPane.resolveIcon(DocumentationScrollPane.java:136)
	at org.netbeans.modules.javafx.navigation.DocumentationScrollPane.installTitleComponent(DocumentationScrollPane.java:149)
	at org.netbeans.modules.javafx.navigation.DocumentationScrollPane.<init>(DocumentationScrollPane.java:114)
	at org.netbeans.modules.javafx.navigation.JavafxdocTopComponent.<init>(JavafxdocTopComponent.java:75)
	at org.netbeans.modules.javafx.navigation.JavafxdocTopComponent.getDefault(JavafxdocTopComponent.java:100)
	at org.netbeans.modules.javafx.navigation.JavafxdocTopComponent.findInstance(JavafxdocTopComponent.java:113)
[catch] at org.netbeans.modules.javafx.navigation.CaretListeningTask$2.run(CaretListeningTask.java:289)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 3 Anton Chechel 2009-11-16 08:56:42 UTC
fixed
http://hg.netbeans.org/javafx/rev/3d32329c3c8c
Comment 4 Lukas Hasik 2009-11-19 04:12:01 UTC
verified in 200911190201