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 have a class with main function. I started IDE and tried to start this class (Run File action) but some exceptions were thrown and nothing was started. I looked into explorer and there was not any method in the class'es hierarchy. I tried to edit the file but nothing changed until i created a new method there.
Created attachment 21971 [details] thrown exceptions
I've seen the problem only once. Build 200505031930.
I've seen another similar exception after Save action: java.lang.NegativeArraySizeException at java.util.ArrayList.<init>(ArrayList.java:135) at org.netbeans.modules.java.JavaNode$StateUpdater.run(JavaNode.java:739) at org.openide.util.Task.run(Task.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)
Could you please attach the whole log file? Seems like method.getType() returned null, which is weird.
Created attachment 21974 [details] ide.log
This one was fixed I hope. Cannot reproduce and the code looks fine. Nothing suspicios there.
v