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 182365 - Class Moving throws NPE at org.netbeans.modules.javafx.refactoring.impl.scanners.MoveProblemCollector.checkVisibilty
Summary: Class Moving throws NPE at org.netbeans.modules.javafx.refactoring.impl.scann...
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:
: 182368 (view as bug list)
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2010-03-19 12:05 UTC by Alexandr Scherbatiy
Modified: 2010-03-23 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166687


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-03-19 12:05:42 UTC
Build: NetBeans IDE Dev (Build 201003180200)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javafx.refactoring.impl.scanners.MoveProblemCollector.checkVisibilty(MoveProblemCollector.java:224)
   at org.netbeans.modules.javafx.refactoring.impl.scanners.MoveProblemCollector.visitMemberSelect(MoveProblemCollector.java:175)
   at com.sun.tools.javafx.tree.JFXSelect.accept(JFXSelect.java:68)
   at com.sun.javafx.api.tree.JavaFXTreePathScanner.scan(JavaFXTreePathScanner.java:63)
   at com.sun.javafx.api.tree.JavaFXTreeScanner.visitAssignment(JavaFXTreeScanner.java:188)
   at com.sun.tools.javafx.tree.JFXAssign.accept(JFXAssign.java:62)
Comment 1 Alexandr Scherbatiy 2010-03-19 12:16:46 UTC
NetBeans-JavaFX-Soma:  #190

Steps to reproduce:

- Open the attached project
http://netbeans.org/bugzilla/attachment.cgi?id=95034

- Create the mathematics.multidimensional.shape2 package
- Expand the mathematics.multidimensional.shape  package 

- Select all classes under the package, right-click and select Cut
- Right-click on the mathematics.multidimensional.shape2 package
  and select Paste->Refactor Move
- Press Refactor on the Move Classes dialog
Comment 2 J Bachorik 2010-03-19 13:55:33 UTC
*** Bug 182368 has been marked as a duplicate of this bug. ***
Comment 3 J Bachorik 2010-03-19 14:20:08 UTC
fixed in http://hg.netbeans.org/javafx/rev/9d70da2587d9
Comment 4 Alexandr Scherbatiy 2010-03-22 15:33:39 UTC
verified in NetBeans-JavaFX-Soma:  #193
Comment 5 Alexandr Scherbatiy 2010-03-23 14:24:55 UTC
verified in NetBeans-JavaFX-Soma: #194