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.
When attempting to delete a package with multiple JUnit tests, I got stream of exceptions beginning with: java.lang.Exception: ***** Info is null for element: sampleproject/KoloTest.java (instanceof: org.netbeans.jmi.javamodel.Resource$Impl MOFID: ED55C18A-2428-11DA-954D-B591E717AA77:0000000000000A62) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElementInfo(SemiPersistentElement.java:193) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.initChildren(ResourceImpl.java:321) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.initChildren(ResourceImpl.java:315) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initCheck(MetadataElement.java:140) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElementInfo(SemiPersistentElement.java:185) ... I'm attaching whole messages.log file. [nb 5.0 200509122200, JDK 1.5.0_05 b03, solaris 10/sparc]
I can reproduce it in about 1/3 of attempts. Steps to reproduce: ------------------- 1) Open attached SampleProject 2) In Projects tab, expand the Test Packages node 3) Expand the 'com.sun.ebank.ejb.customer' node 4) Try to delete whole package -->stream of exceptions
Created attachment 24732 [details] SampleProject
It seems that you have opened also another project. In sample project you attached, there is no sampleproject/KoloTest.java.
The file has been part of the project, but it has been deleted. Anyway, I cannot reproduce this exception anymore in current build. But using the same steps to reproduce, following strange message is typed to console: [org.netbeans.javacore] FileObject not found for resource: com/sun/ebank/ejb/customer/CustomerTest.java ... for some of the files contained in the package which is being deleted. I'm decreasing priority to P5. [200509221800, JDK 1.5.0_05, solaris 10/sparc]
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Verified. --- NetBeans IDE Dev (Build 061030) 1.6.0-rc; Java HotSpot(TM) Server VM 1.6.0-rc-b103 Linux version 2.6.12-1.1390_FC4smp running on i386 en_US (nb); UTF-8
Reorganization of java component