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 190465 - java.nio.BufferUnderflowException at java.nio.DirectByteBuffer.get
Summary: java.nio.BufferUnderflowException at java.nio.DirectByteBuffer.get
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 normal (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks: 26230
  Show dependency tree
 
Reported: 2010-09-20 16:02 UTC by Jesse Glick
Modified: 2010-09-22 03:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 172664


Attachments
stacktrace (454 bytes, text/plain)
2010-09-20 16:02 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-09-20 16:02:44 UTC
This issue was reported manually by jglick.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 100920-44dca4908ecb)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Linux

User Comments:
jglick: Committed a one-file change in Hg.




Stacktrace: 
java.nio.BufferUnderflowException
   at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:224)
   at java.nio.ByteBuffer.get(ByteBuffer.java:675)
   at org.netbeans.modules.masterfs.watcher.LinuxNotifier.getString(LinuxNotifier.java:106)
   at org.netbeans.modules.masterfs.watcher.LinuxNotifier.nextEvent(LinuxNotifier.java:135)
   at org.netbeans.modules.masterfs.watcher.Watcher$Ext.run(Watcher.java:137)
   at java.lang.Thread.run(Thread.java:619)
Comment 1 Jesse Glick 2010-09-20 16:02:49 UTC
Created attachment 102085 [details]
stacktrace
Comment 2 Petr Nejedly 2010-09-20 16:57:25 UTC
Ah, a little overlook when converting the native access from byte array to ByteBuffer. I'm on it.
Comment 3 Petr Nejedly 2010-09-20 17:01:59 UTC
http://hg.netbeans.org/core-main/rev/dc0f2b86f3a4
Comment 4 Quality Engineering 2010-09-22 03:08:30 UTC
Integrated into 'main-golden', will be available in build *201009220000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dc0f2b86f3a4
User: Petr Nejedl