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 151112 - NPE in moveToPhase
Summary: NPE in moveToPhase
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
: 151243 (view as bug list)
Depends on:
Blocks: 149769
  Show dependency tree
 
Reported: 2008-10-23 10:21 UTC by David Strupl
Modified: 2008-10-27 16:46 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2008-10-23 10:21:57 UTC
Invoke code completion on 

javafx.util.Sequences.

and wait for the first item to try to display JavaDoc. I am Cc-ing Anton but he insists that Petr should fix this.

SEVERE [global]
java.lang.NullPointerException
        at org.netbeans.api.javafx.source.JavaFXSource.moveToPhase(JavaFXSource.java:270)
        at org.netbeans.api.javafx.source.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:132)
        at org.netbeans.api.javafx.source.CompilationController.toPhase(CompilationController.java:72)
        at
org.netbeans.modules.javafx.editor.completion.JavaFXCompletionQuery.resolveDocumentation(JavaFXCompletionQuery.java:368)
        at org.netbeans.modules.javafx.editor.completion.JavaFXCompletionQuery.run(JavaFXCompletionQuery.java:362)
        at org.netbeans.modules.javafx.editor.completion.JavaFXCompletionQuery.run(JavaFXCompletionQuery.java:89)
[catch] at org.netbeans.api.javafx.source.JavaFXSource.runUserActionTask(JavaFXSource.java:470)
        at org.netbeans.modules.javafx.source.scheduler.CompilationJob.runWhenScanFinished(CompilationJob.java:268)
        at org.netbeans.api.javafx.source.JavaFXSource.runWhenScanFinished(JavaFXSource.java:706)
        at org.netbeans.modules.javafx.editor.completion.JavaFXCompletionQuery.query(JavaFXCompletionQuery.java:251)
        at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 cms 2008-10-24 09:48:18 UTC
Affects profiler also (reproducible in "select profiling root method" action for library classes like Stage etc).
Comment 2 David Strupl 2008-10-24 10:04:23 UTC
Please check for duplicates before filing bugs!
Comment 3 David Strupl 2008-10-26 11:37:09 UTC
Making it P1 <-- I cannot solve my bug report with exception that would follow if this wouldn't happen --- if you don't
fix this one I can close my P2 since it will never go there and so it is unreproducible ;-)
Comment 4 David Strupl 2008-10-27 10:19:55 UTC
I apologize Petr, the code was added by Andrey. I will fix that ...
Comment 5 David Strupl 2008-10-27 10:34:18 UTC
Fixed by changeset:   1647:edf1c456199f
Comment 6 Lark Fitzgerald 2008-10-27 16:40:50 UTC
Continuous build 455/SDK 44 Build-Number: 765, Build-ID: 2008-10-23_20-59-55 on:
Product Version: NetBeans IDE 6.5 RC2 (Build 200810171318)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 7 Petr Nejedly 2008-10-27 16:46:20 UTC
*** Issue 151243 has been marked as a duplicate of this issue. ***