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.
build 040519 I moved a class from one package to another. The class was moved right, but an attached exception was thrown at the end of operation.
Created attachment 15022 [details] Exception
I had to clear userdir after the described issue. The restart IDE didn't help. Everytime I got an attached exceptiom.
Created attachment 15024 [details] Exception_II
Marku, when you file a bug please be more specific. What project did you use? What class did you move? What was the target folder? Did you use D'n'D?
What project did you use? New Project->Desktop->J2SE Application What class did you move? <Src root> | abc |-A.java (before a move) |-def |- 'A.java' (after a move) What was the target folder? above Did you use D'n'D? No! (I'll try it ;-)
*** Issue 43519 has been marked as a duplicate of this issue. ***
I am looking at the build 040528 (merge candidate 2) and this issue has not been fixed yet. The test case is pretty simple and this action is one of the basic refactoring functionality. I would considered this issue like P1. BTW, when I invoke Undo action I get the following exception Annotation: Exception occurred in Request Processor javax.jmi.reflect.InvalidObjectException: Object with MOFID 5F18017C-B2D6-11D8-8405-0773A2FCAA77:0000000000000153 no longer exists. at org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:322) at org.netbeans.mdr.handlers.BaseObjectHandler.refImmediatePackage(BaseObjectHandler.java:282) at org.netbeans.modules.javacore.JMManager.getFileObject(JMManager.java:286) at org.netbeans.modules.javacore.JMManager.getDataObject(JMManager.java:302) at org.netbeans.modules.java.JavaNode$PropL.resourceParsed(JavaNode.java:202) at org.netbeans.modules.java.JavaEditor$WParsingListener.resourceParsed(JavaEditor.java:2667) at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:819) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Fixed in various places. But undo still does not work -> but it is separate issue 42515. Checking in javacore/src/org/netbeans/modules/javacore/JMManager.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/Attic/JMManager.java,v <-- JMManager.java new revision: 1.1.2.26; previous revision: 1.1.2.25 done Processing log script arguments... More commits to come... Checking in javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceClassImpl.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/Attic/ResourceClassImpl.java,v <-- ResourceClassImpl.java new revision: 1.1.2.10.2.3; previous revision: 1.1.2.10.2.2 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/java/JavaNode.java; /cvs/java/src/org/netbeans/modules/java/JavaNode.java,v <-- JavaNode.java new revision: 1.99.6.6; previous revision: 1.99.6.5 done Checking in src/org/netbeans/modules/java/OverrideAnnotationSupport.java; /cvs/java/src/org/netbeans/modules/java/OverrideAnnotationSupport.java,v <-- OverrideAnnotationSupport.java new revision: 1.3.6.9; previous revision: 1.3.6.8 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/java/ui/nodes/elements/ElementNode.java; /cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/Attic/ElementNode.java,v <-- ElementNode.java new revision: 1.1.2.6; previous revision: 1.1.2.5 done
Verified in build 20040614