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 99504

Summary: AE when invoking java CC
Product: java Reporter: Jiri Prox <jiriprox>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: dump file
StackOverflowError

Description Jiri Prox 2007-03-30 09:47:30 UTC
NetBeans IDE Dev (Build 200703291800)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.8 running on i386
en_US (nb); MacRoman

AE occurred when invoking CC in jsp file inside <% %> tags. It blocks using CC at all. Not reproducible 
on Linux.

Steps to reproduce:
1) create new web project
2) in jsp file type
<%
  String s;
  s.
%>
3) call CC behind "s."
-> Annotation: An error occurred during parsing of 'SimplifiedJSPServlet.java in MemoryFileSystem'. 
Please report a bug against java/source and attach dump file '/Users/tester/.netbeans/dev/var/log/
SimplifiedJSPServlet_4.dump'.
Comment 1 Jiri Prox 2007-03-30 09:49:53 UTC
Created attachment 40176 [details]
dump file
Comment 2 Jiri Prox 2007-03-30 14:00:42 UTC
At the beginning there is StackOverflowError. Sorry I didn't noticed it first time
Comment 3 Jiri Prox 2007-03-30 14:04:57 UTC
Created attachment 40191 [details]
StackOverflowError
Comment 4 Jiri Prox 2007-03-30 16:04:45 UTC
Too bad, it's reproducible also in NB module. After the initial
StackOverflowError, the AE is thrown every time the document is parsed.
To recover from error, the {userdir}/var/cache must be deleted.

Steps to reproduce:
1) open JavaFoldsNavigationTest.java from java/editor module
2) inside some method type "txtOper." and wait for CC
(txtOper is JEditorPaneOperator)


------------
NetBeans IDE Dev (Build 070330)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8
Comment 5 Jan Lahoda 2007-03-30 16:12:17 UTC
Seems like to be caused by issue #99480. Please try a newer build (you will also
need to delete the var/cache, as it is already broken). Please reopen if the
problem happens on build with fixed issue #99480. Thanks.

*** This issue has been marked as a duplicate of 99480 ***
Comment 6 Jiri Prox 2007-06-04 13:17:08 UTC
not reproducible after fix 99480

verified