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.

Bug 69200

Summary: java.lang.ClassCastException: org.netbeans.jmi.javamodel.InfixExpression$Impl
Product: java Reporter: wilsonwamatu <wilsonwamatu>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: -S1S-   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description wilsonwamatu 2005-11-23 16:08:48 UTC
While entering the following code in the editor, an exception occurs as
indicated below. The exception occurs after entering the modulo (sign)

Code
code[i] = Math.pow((double)code[i],(double)e) % 
Exception:
java.lang.ClassCastException: org.netbeans.jmi.javamodel.InfixExpression$Impl
	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.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)
Comment 1 Tomas Hurka 2005-11-23 16:47:04 UTC

*** This issue has been marked as a duplicate of 63195 ***
Comment 2 Quality Engineering 2007-09-20 10:03:01 UTC
Reorganization of java component