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 the following code - I was in the process of typing the last line (the caret was at the end of the unfinished line) when this exception occurred: int mask = masksByFours[i]; int curr = hash & mask; curr >>>= 8 * It occurs continuously until I delete or change the unfinished line "curr >>>= 8 *" java.lang.ClassCastException at org.netbeans.modules.javacore.jmiimpl.javamodel.AssignmentImpl.initChildren(AssignmentImpl.java: 87) at org.netbeans.modules.javacore.jmiimpl.javamodel.AssignmentImpl.getLeftSide(AssignmentImpl.java: 44) at org.netbeans.jmi.javamodel.Assignment$Impl.getLeftSide(Unknown Source) at org.netbeans.modules.javacore.jmiimpl.javamodel.AssignmentImpl.getChildren(AssignmentImpl.java: 77) at org.netbeans.modules.javacore.jmiimpl.javamodel.ElementFinder.getElementByOffset(ElementFinder.jav a:40) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getElementByOffset(ResourceImpl.java: 1612) at org.netbeans.modules.java.hints.JavaHintsProvider.getHints(JavaHintsProvider.java:121) at org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run(HintsOperator.java: 221) 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)
The important information is what is the line after curr >>>= 8 * Meanwhile I can reproduce it with the following code: public static void main(String[] args) { int a; assert a==null:"fff"+ a=10; }
*** Issue 64576 has been marked as a duplicate of this issue. ***
*** Issue 64900 has been marked as a duplicate of this issue. ***
Fixed in trunk. Checking in gjast.jar; /cvs/java/external/gjast.jar,v <-- gjast.jar new revision: 1.2; previous revision: 1.1 done
*** Issue 64848 has been marked as a duplicate of this issue. ***
*** Issue 65550 has been marked as a duplicate of this issue. ***
*** Issue 65747 has been marked as a duplicate of this issue. ***
*** Issue 65398 has been marked as a duplicate of this issue. ***
*** Issue 65886 has been marked as a duplicate of this issue. ***
*** Issue 65910 has been marked as a duplicate of this issue. ***
*** Issue 66927 has been marked as a duplicate of this issue. ***
*** Issue 66914 has been marked as a duplicate of this issue. ***
*** Issue 66877 has been marked as a duplicate of this issue. ***
I am getting the same stack trace as in <a href='http://www.netbeans.org/issues/show_bug.cgi?id=63195'>Issue 63195</a> (marked as a duplicate) with NetBeans 5.0 Beta in the same scenario. Since this issue was closed 9/23 and the beta went out 9/28 ... is the fix meant to be in the beta? I apologize if this is a false alarm, but I do not see how to determine in which release the fix should appear.
The beta was branched sooner than this issue was fixed. The fix did not make it into the beta branch. The fix should be in the last q-build or you can download a daily build.
*** Issue 67467 has been marked as a duplicate of this issue. ***
*** Issue 67772 has been marked as a duplicate of this issue. ***
*** Issue 67837 has been marked as a duplicate of this issue. ***
*** Issue 67789 has been marked as a duplicate of this issue. ***
*** Issue 67746 has been marked as a duplicate of this issue. ***
*** Issue 68435 has been marked as a duplicate of this issue. ***
*** Issue 68537 has been marked as a duplicate of this issue. ***
*** Issue 68857 has been marked as a duplicate of this issue. ***
*** Issue 69200 has been marked as a duplicate of this issue. ***
*** Issue 69435 has been marked as a duplicate of this issue. ***
*** Issue 69964 has been marked as a duplicate of this issue. ***
*** Issue 69820 has been marked as a duplicate of this issue. ***
*** Issue 70466 has been marked as a duplicate of this issue. ***
*** Issue 70797 has been marked as a duplicate of this issue. ***
Reorganization of java component