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 174979 - NullPointerException at org.netbeans.modules.editor.NbEditorDocument.createEditor
Summary: NullPointerException at org.netbeans.modules.editor.NbEditorDocument.createEd...
Status: VERIFIED DUPLICATE of bug 138686
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Anton Chechel
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-10-20 11:09 UTC by Lukas Hasik
Modified: 2009-10-28 11:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 160414


Attachments
stacktrace (1.32 KB, text/plain)
2009-10-20 11:09 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2009-10-20 11:09:20 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910192001)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-92, Java(TM) SE Runtime Environment, 1.6.0_15-b03-226
OS: Mac OS X, 10.5.8, x86_64

User Comments:
ca: created a new JavaFXApplication

ca: - created sample WeatherFXApplication
- executed the application
- tried to open WeatherApp.fx file in Editor



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.editor.NbEditorDocument.createEditor(NbEditorDocument.java:170)
        at org.netbeans.modules.javafx.editor.JavaFXDocument.createEditor(JavaFXDocument.java:119)
        at org.openide.text.CloneableEditor$DoInitialize.initCustomEditor(CloneableEditor.java:497)
        at org.openide.text.CloneableEditor$DoInitialize.initVisual(CloneableEditor.java:599)
        at org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:291)
        at org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1317)
Comment 1 Lukas Hasik 2009-10-20 11:09:24 UTC
Created attachment 89749 [details]
stacktrace
Comment 2 Lukas Hasik 2009-10-20 11:30:41 UTC
happened on Vista + Mac, when you open a JavaFX file for the first time, but unfortunately I'm not able to reproduce.
Comment 3 Petr Suchomel 2009-10-20 12:36:42 UTC
I saw today similar exception, but when opening XML file. May this be some problem in editor infrastructure itself?
Comment 4 Vitezslav Stejskal 2009-10-20 13:06:15 UTC

*** This issue has been marked as a duplicate of 138686 ***
Comment 5 Alexandr Scherbatiy 2009-10-28 11:08:40 UTC
verified as duplicate