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 194502 - IllegalArgumentException: offset is out of file length; document based file=/home/jocke/dev/lagstrom.org/lengine/liblengine/rendersystems/opengl/glx/src/GLXWindowImpl.cpp;length=6246; offset=6248
Summary: IllegalArgumentException: offset is out of file length; document based file=/...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 21:38 UTC by jocke
Modified: 2011-01-22 06:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 175726


Attachments
stacktrace (3.15 KB, text/plain)
2011-01-19 21:39 UTC, jocke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jocke 2011-01-19 21:38:55 UTC
This issue was reported manually by vv159170.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201101100000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Linux

User Comments:
jocke: ...




Stacktrace: 
java.lang.IllegalArgumentException: offset is out of file length; document based file=/home/jocke/dev/lagstrom.org/lengine/liblengine/rendersystems/opengl/glx/src/GLXWindowImpl.cpp;length=6246; offset=6248
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getLineColumn(FileImpl.java:1854)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LazyOffsPositionImpl.getLine(LazyOffsPositionImpl.java:71)
   at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.getPositionString(OffsetableBase.java:202)
   at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.toString(OffsetableDeclarationBase.java:268)
   at org.netbeans.modules.cnd.modelimpl.csm.VariableImpl.toString(VariableImpl.java:464)
   at java.lang.String.valueOf(String.java:2826)
Comment 1 jocke 2011-01-19 21:39:00 UTC
Created attachment 105172 [details]
stacktrace
Comment 2 Alexander Simon 2011-01-20 14:31:07 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/dee7f30e3f6d
Comment 3 Quality Engineering 2011-01-22 06:13:30 UTC
Integrated into 'main-golden', will be available in build *201101220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dee7f30e3f6d
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #194502 IllegalArgumentException: offset is out of file length