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 was typing in System.out,println <-- at this point i get a error Its allso in a loop so i had to kill NB and reboot to get my NB up and running again! Netbeans 5 beta on a P4 2.66Ghz win xp sp2.. I will provide any debug info as asked. i only sending this for your info Details below: ================ java.lang.ClassCastException at org.netbeans.modules.javacore.jmiimpl.javamodel.LocalVarDeclarationImpl.initChildren(LocalVarDeclarationImpl.java:108) at org.netbeans.modules.javacore.jmiimpl.javamodel.LocalVarDeclarationImpl.getAnnotations(LocalVarDeclarationImpl.java:90) at org.netbeans.modules.javacore.jmiimpl.javamodel.LocalVarDeclarationImpl.getChildren(LocalVarDeclarationImpl.java:97) at org.netbeans.modules.javacore.jmiimpl.javamodel.ElementFinder.getElementByOffset(ElementFinder.java:40) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getElementByOffset(ResourceImpl.java:1640) at org.netbeans.modules.j2ee.ejbcore.hints.EjbHintsProvider.getHints(EjbHintsProvider.java:82) at org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run(HintsOperator.java:233) at org.openide.util.Task.run(Task.java:207) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
I found that betwwen each error message (as it was in a loop) i found i has 1 to 3 chances to add a char in the code, so i deleted the System.out.println and the errors stoped when i was left with the word System. in other words the last error was reported when i had System. on the screen. public static int main(String[] args) { MainWindow MW; Exit = false; String name; name = System.getProperty("user.name"); System <----------Editing here at time of error // java.awt.EventQueue.invokeLater(new Runnable() { // public void run() { // new MainWindow().setVisible(true); // } } MW = new MainWindow(); MW.setVisible(true); while (Exit == false) { Exit = MW.IsExitRequested(); } System.out.println("while loop ended"); MW.setVisible(false); System.exit(0); return 0; }; }
Wrong component.
*** This issue has been marked as a duplicate of 66324 ***
Reorganization of java component