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 267595 - AssertionError: Invalid start:1578 end:1570
Summary: AssertionError: Invalid start:1578 end:1570
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-16 08:05 UTC by troodon
Modified: 2016-08-16 12:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 225785


Attachments
stacktrace (7.28 KB, text/plain)
2016-08-16 08:05 UTC, troodon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description troodon 2016-08-16 08:05:01 UTC
Build: NetBeans IDE Dev (Build 201608150002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
troodon: paste invalid json




Stacktrace: 
java.lang.AssertionError: Invalid start:1578 end:1570
   at org.netbeans.modules.csl.api.OffsetRange.<init>(OffsetRange.java:66)
   at org.netbeans.modules.javascript2.model.JsonModelResolver.createOffsetRange(JsonModelResolver.java:344)
   at org.netbeans.modules.javascript2.model.JsonModelResolver.createJSObject(JsonModelResolver.java:257)
   at org.netbeans.modules.javascript2.model.JsonModelResolver.visitObject(JsonModelResolver.java:170)
   at org.netbeans.modules.javascript2.model.JsonModelResolver.visitObject(JsonModelResolver.java:82)
   at org.netbeans.modules.javascript2.json.parser.JsonParser$ObjectContext.accept(JsonParser.java:310)
Comment 1 troodon 2016-08-16 08:05:03 UTC
Created attachment 161671 [details]
stacktrace
Comment 2 Petr Pisl 2016-08-16 12:51:10 UTC
Fixed in web-main.