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 217182 - StringIndexOutOfBoundsException: String index out of range: -6
Summary: StringIndexOutOfBoundsException: String index out of range: -6
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on: 218455
Blocks:
  Show dependency tree
 
Reported: 2012-08-21 21:29 UTC by misterm
Modified: 2012-10-09 14:13 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191720


Attachments
stacktrace (1.57 KB, text/plain)
2012-08-21 21:30 UTC, misterm
Details
stacktrace (1.57 KB, text/plain)
2012-08-21 21:44 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2012-08-21 21:29:58 UTC
Build: NetBeans IDE Dev (Build 20120819-e6bbc5b6057a)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -6
   at java.lang.String.substring(String.java:0)
   at org.eclipse.mylyn.internal.bugzilla.core.BugzillaUserMatchResponse.parseResultMatchFailed(BugzillaUserMatchResponse.java:261)
   at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.parseRepositoryResponse(BugzillaClient.java:2060)
   at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.parsePostResponse(BugzillaClient.java:1878)
   at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.postTaskDataInternal(BugzillaClient.java:1338)
   at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.postTaskData(BugzillaClient.java:1205)
Comment 1 misterm 2012-08-21 21:30:00 UTC
Created attachment 123358 [details]
stacktrace
Comment 2 misterm 2012-08-21 21:43:21 UTC
This prevents me from reporting exceptions from the IDE.
Comment 3 misterm 2012-08-21 21:44:24 UTC
Created attachment 123360 [details]
stacktrace
Comment 4 Ondrej Vrabec 2012-08-22 10:13:25 UTC
1) try to click on reload attributes before submitting a bug
2) what exactly are you entering into Assign to, QA Contact and CC fields? Are you sure you're entering an existing full username with @netbeans.org suffix?
I can reproduce only when entering either "ovrabec" or non-existent "ovrabecccc@netbeans.org". Please make a full screenshot of the issue page before submitting.
Comment 5 Ondrej Vrabec 2012-08-22 10:58:45 UTC
This may be related, possibly the fix: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382173

Downgrading to P3, entering valid full email address into the fields should avoid this.
Comment 6 Tomas Stupka 2012-10-09 14:13:29 UTC
should be fixe in scope of issue #218455 - #1c5c8382ea1c