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 - java.lang.ClassCastException: org.netbeans.jmi.javamodel.InfixExpression$Impl
Summary: java.lang.ClassCastException: org.netbeans.jmi.javamodel.InfixExpression$Impl
Status: RESOLVED DUPLICATE of bug 63195
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -S1S-
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-23 16:08 UTC by wilsonwamatu
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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