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 184303 - NullPointerException at org.netbeans.api.javafx.source.ElementHandle.create
Summary: NullPointerException at org.netbeans.api.javafx.source.ElementHandle.create
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 18:46 UTC by tim_sa
Modified: 2010-04-20 08:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 164706


Attachments
stacktrace (1.72 KB, text/plain)
2010-04-15 18:46 UTC, tim_sa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tim_sa 2010-04-15 18:46:43 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows Vista

User Comments:
tim_sa: typing the following code

    function getDataSources(): List {
        var backend = DataSourceUtility.connectToDataSourceBackend("inhouse", 5410);
        backen
        return null;
    }

note that
        var backend = DataSourceUtility.connectToDataSourceBackend("inhouse", 5410);
        backen
is a call to a Java class




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.javafx.source.ElementHandle.create(ElementHandle.java:310)
   at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:310)
   at org.netbeans.modules.javafx.source.tasklist.FXErrorAnnotator$3.run(FXErrorAnnotator.java:297)
   at org.netbeans.modules.javafx.source.parsing.LegacyUserTask.run(LegacyUserTask.java:68)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113)
Comment 1 tim_sa 2010-04-15 18:46:49 UTC
Created attachment 97475 [details]
stacktrace
Comment 2 J Bachorik 2010-04-19 08:20:49 UTC
Obsolete - FXErrorAnnotator has been replaced by the shared ErrorsCache
http://hg.netbeans.org/javafx/rev/e7859d70a051
Comment 3 Alexandr Scherbatiy 2010-04-20 08:20:47 UTC
unable to reproduce in build NetBeans-JavaFX-Soma: #227