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 135664 - SIOOBE: com.sun.tools.javadoc.Comment.getInlineTags
Summary: SIOOBE: com.sun.tools.javadoc.Comment.getInlineTags
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 09:47 UTC by unr303
Modified: 2008-09-09 17:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 52029


Attachments
ide log (173.00 KB, text/plain)
2008-05-23 09:47 UTC, unr303
Details
source (3.87 KB, text/plain)
2008-05-23 09:48 UTC, unr303
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unr303 2008-05-23 09:47:16 UTC
insert @ after 
     * Из-за этого возникает ситуация, когда {
and wait also when press ctrl+space

Build: NetBeans IDE 6.1  Build 200804211638 
VM: Java HotSpot TM  Client VM, 1.6.0_02-b05, Java TM  SE Runtime Environment, 1.6.0_02-b05
OS: Linux, 2.6.22-14-generic, i386
User comments: ${buildday}
STACKTRACE:  first 10 lines 
java.lang.IllegalStateException:   Uses the {@link PaymentRequest#getTransId  } and the success of the specified
 }{@
 @param response
 @return
 
org.netbeans.modules.java.editor.javadoc.DocPositions@1ef897c
token sequence dump: T  0 :   n     *   <4821,4829> OTHER_TEXT 5  DefT, IHC 8963102
T  1 :  Uses  <4829,4833> IDENT 0  DefT, IHC 17016701
T  2 :     <4833,4834> OTHER_TEXT 5  DefT, IHC 15276206
T  3 :  the  <4834,4837> IDENT 0  DefT, IHC 22248522
T  4 :   {  <4837,4839> OTHER_TEXT 5  DefT, IHC 329724
T  5 :  @link  <4839,4844> TAG 1  DefT, IHC 5198394
T  6 :     <4844,4845> OTHER_TEXT 5  DefT, IHC 27222815
T  7 :  PaymentRequest  <4845,4859> IDENT 0  DefT, IHC 19183678
T  8 :  #  <4859,4860> HASH 4  DefT, IHC 29094953
T  9 :  getTransId  <4860,4870> IDENT 0  DefT, IHC 10140651
T 10 :    }   <4870,4874> OTHER_TEXT 5  DefT, IHC 10968136
T 11 :  and  <4874,4877> IDENT 0  DefT, IHC 26970275
T 12 :     <4877,4878> OTHER_TEXT 5  DefT, IHC 2602853
T 13 :  the  <4878,4881> IDENT 0  DefT, IHC 24731010
T 14 :      
        at org.netbeans.modules.java.editor.javadoc.DocPositions.resolve DocPositions.java:196 
        at org.netbeans.modules.java.editor.javadoc.DocPositions.getTag DocPositions.java:112 
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.resolveTagToken JavadocCompletionQuery.java:261 
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.analyzeContext JavadocCompletionQuery.java:237 
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.access$100 JavadocCompletionQuery.java:110 
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery$1.run JavadocCompletionQuery.java:183 
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery$1.run JavadocCompletionQuery.java:175 
        at org.netbeans.api.java.source.JavaSource.runUserActionTask JavaSource.java:665 
        at org.netbeans.api.java.source.JavaSource.runWhenScanFinished JavaSource.java:822 
        at org.netbeans.modules.java.editor.javadoc.JavadocCompletionQuery.runInJavac JavadocCompletionQuery.java:173
Comment 1 unr303 2008-05-23 09:47:52 UTC
Created attachment 61810 [details]
ide log
Comment 2 unr303 2008-05-23 09:48:10 UTC
Created attachment 61811 [details]
source
Comment 3 Vitezslav Stejskal 2008-06-02 10:15:38 UTC
Looks like a problem in javadoc module. The exceptions thrown from HintsControllerImpl were reported as issue #112566.
Comment 4 Jan Pokorsky 2008-07-07 14:37:39 UTC
A bug in the javadoc tool. 

java.lang.StringIndexOutOfBoundsException: String index out of range: -2
	at java.lang.String.substring(String.java:1938)
	at com.sun.tools.javadoc.Comment.getInlineTags(Comment.java:318)
	at com.sun.tools.javadoc.DocImpl.inlineTags(DocImpl.java:144)
	at org.netbeans.modules.java.editor.javadoc.DocPositions$Env.prepare(DocPositions.java:389)
	at org.netbeans.modules.java.editor.javadoc.DocPositions.resolve(DocPositions.java:145)
Comment 6 Quality Engineering 2008-09-09 17:23:29 UTC
Integrated into 'main-golden', will be available in build *200809091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7069959ebc3d
User: Jan Pokorsky <jpokorsky@netbeans.org>
Log: #135664: wrong start bound for searching end of inline tag