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 182250 - NullPointerException at org.netbeans.modules.javafx.refactoring.RefactoringSupport.getRefId
Summary: NullPointerException at org.netbeans.modules.javafx.refactoring.RefactoringSu...
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2010-03-17 17:47 UTC by Karol Harezlak
Modified: 2010-03-22 14:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 166585


Attachments
stacktrace (6.32 KB, text/plain)
2010-03-17 17:47 UTC, Karol Harezlak
Details
Task project (21.02 KB, application/zip)
2010-03-17 17:58 UTC, Karol Harezlak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karol Harezlak 2010-03-17 17:47:28 UTC
Build: NetBeans IDE Dev (Build 201003160201)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux

User Comments:
kharezlak: While using refactoring,Task List  Error scaner disabled.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javafx.refactoring.RefactoringSupport.getRefId(RefactoringSupport.java:81)
   at org.netbeans.modules.javafx.refactoring.repository.ClassModelFactory$ClassModelPopulator.getMethodDef(ClassModelFactory.java:529)
   at org.netbeans.modules.javafx.refactoring.repository.ClassModelFactory$ClassModelPopulator.visitFunctionDefinition(ClassModelFactory.java:430)
   at org.netbeans.modules.javafx.refactoring.repository.ClassModelFactory$ClassModelPopulator.visitFunctionDefinition(ClassModelFactory.java:108)
   at com.sun.tools.javafx.tree.JFXFunctionDefinition.accept(JFXFunctionDefinition.java:110)
   at com.sun.javafx.api.tree.JavaFXTreePathScanner.scan(JavaFXTreePathScanner.java:63)
Comment 1 Karol Harezlak 2010-03-17 17:47:33 UTC
Created attachment 95325 [details]
stacktrace
Comment 2 Karol Harezlak 2010-03-17 17:58:49 UTC
Created attachment 95328 [details]
Task project
Comment 3 Karol Harezlak 2010-03-17 18:00:00 UTC
To reproduce it refactor name of the package in attached project.
Comment 4 J Bachorik 2010-03-18 14:49:40 UTC
Seems to have been fixed by http://hg.netbeans.org/javafx/rev/b5b23e1190af
Comment 5 J Bachorik 2010-03-18 14:56:44 UTC
Changed the way the source is opened from the navigator not to block AWT while waiting for the compiler - http://hg.netbeans.org/javafx/rev/fd49c54b742f
Comment 6 J Bachorik 2010-03-18 14:57:12 UTC
Plz, ignore the last comment
Comment 7 Alexandr Scherbatiy 2010-03-22 14:33:06 UTC
verified in NetBeans-JavaFX-Soma:  #193