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.
I use two projects, with then two folders. When I copy files from a project to another, usin the copy command, and paste, then I see a window with: java.lang.NullPointerException at org.netbeans.mdr.storagemodel.AttrCollection.clea rAttribComposite(AttrCollection.java:268) at org.netbeans.mdr.storagemodel.AttrCollection$Attr Iterator.remove(AttrCollection.java:295) at org.netbeans.mdr.handlers.AttrCollWrapper$AttrIte ratorWrapper.remove(AttrCollWrapper.java:185) at org.netbeans.modules.javacore.jmiimpl.javamodel.J avaClassImpl._delete(JavaClassImpl.java:861) at org.netbeans.mdr.handlers.InstanceHandler.refDele te(InstanceHandler.java:306) at org.netbeans.modules.javacore.jmiimpl.javamodel.R esourceImpl._delete(ResourceImpl.java:1003) at org.netbeans.mdr.handlers.InstanceHandler.refDele te(InstanceHandler.java:306) at org.netbeans.modules.javacore.scanning.FileScanne r.removeFromRepository(FileScanner.java:130) at org.netbeans.modules.javacore.scanning.FileScanne r.scan(FileScanner.java:122) at org.netbeans.modules.javacore.JMManager.scanFiles (JMManager.java:888) at org.netbeans.modules.javacore.JMManager.resolveCP Root(JMManager.java:799) at org.netbeans.modules.javacore.JMManager.resolveCo debases(JMManager.java:710) at org.netbeans.modules.javacore.JMManager$2.run (JMManager.java:685) 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)
What version of NB are you using? Could you please attach the messages log?
Created attachment 20486 [details] Log file
If it can help you, i saw many windows with apparently the same error. Anyway, a nullpointerexception. This errors came back when i restarted NetBeans. I am using the version 4.0 beta 1. The VM is 1.5.0 rc-b63 Product version NetBeans IDE dev (build 200408191352) IdeVersionning IDE/1 spec=4.43 impl=200408191352 Good luck and thank you
The problem is that the metadata storage got corrupted. We had many problems causing this in beta1 - these are now fixed. Please upgrade to 4.0 release or the recent q-build of 4.1 to fix the problem.