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 164716 - [67cat] editor shows errors in JRE code
Summary: [67cat] editor shows errors in JRE code
Status: RESOLVED DUPLICATE of bug 169998
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks: 121950
  Show dependency tree
 
Reported: 2009-05-07 17:32 UTC by gholmer
Modified: 2009-08-17 17:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot showing JRE code with error flagged (95.38 KB, image/png)
2009-05-07 17:33 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2009-05-07 17:32:24 UTC
[ BUILD # : 200905070201 ]
[ JDK VERSION : 1.6.* ]

Often, if I'm stepping through code with F8 and get an exception, the
debugger will stop in some JRE code and flag an error there. 
Obviously this can't be correct.  The error flag typically goes away
after 10-15 seconds.  Screenshot attached.
Comment 1 gholmer 2009-05-07 17:33:29 UTC
Created attachment 81755 [details]
screenshot showing JRE code with error flagged
Comment 2 Martin Entlicher 2009-05-07 17:37:35 UTC
It's the editor who shows the error - likely some problem in the parser.
Comment 3 Vitezslav Stejskal 2009-05-11 11:33:07 UTC
I assume this can't be reliably reproduced.
Comment 4 Rastislav Komara 2009-05-14 13:05:29 UTC
@reporter: Please provide your userdir and project which cause this error. 
Comment 5 gholmer 2009-05-14 20:07:06 UTC
I just saw this issue again, but both files you requested are too large to upload (18M, 22M).  If there is another way
to get the files to you, please advise.

The error that triggered it this time was a JPA query that had an error in it; I had a breakpoint on the line that calls
"em.createQuery(jpql).getResultList()", and when I hit F8, the debugger immediately went to the source of
InvocationTargetException and showed an error there.

This is an enterprise app that uses JavaServer Faces, Seam, and the ICEfaces components.
Comment 6 Rastislav Komara 2009-05-18 11:54:02 UTC
Great! Please go to http://editor.netbeans.org/, in the right hand side menu click 'Files' and then on the 'Documents &
Files' page click 'Add new file', choose attachment and upload the heapdump file. Please call the file something
meaningful like iz164716-heapdump... Thanks.
Comment 7 Dusan Balek 2009-08-17 17:20:47 UTC
Should be fixed in the current dev build.

*** This issue has been marked as a duplicate of 169998 ***