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.
NB3.2 RC4, JDK 1.4, Apr/27 The following exception is thrown after every compilation when the compile messages are being written to the output tab. A simple class or interface is compiled (the exception is thrown but the class file is generated), a class which implements an interface not). It may be a bug in jdk (it works with jdk1.3), regexp (the exception is thrown from org.apache.regexp) or core (it is responsible for OutputTab handling). Mon Apr 30 15:38:07 CEST 2001: java.lang.StringIndexOutOfBoundsException: The pipe has been ended java.lang.StringIndexOutOfBoundsException: The pipe has been ended at org.apache.regexp.ReaderCharacterIterator.isEnd(ReaderCharacterIterator.java:125 ) at org.apache.regexp.RE.matchNodes(RE.java:1335) at org.apache.regexp.RE.matchNodes(RE.java:914) at org.apache.regexp.RE.matchAt(RE.java:1469) at org.apache.regexp.RE.match(RE.java:1525) at org.openide.compiler.ErrorsParsingThread.run1(ErrorsParsingThread.java:532) [catch] at org.openide.compiler.ErrorsParsingThread.run(ErrorsParsingThread.java:379)
I have tried latest 1.4 - beta 62 and it comes to me that it works - I can't reproduce it.... Which version of 1.4 do you use?
1.4.0-beta; Java HotSpot(TM) Client VM 1.4.0-beta-b62
I'm able to reproduce it under win2000 (NB 3.2, JDK1.4-b62), reopening Steps to reproduce: 1. doubleClick on: UserDir\examples\colorpicker\ColorPreview 2. change something in [Source Editor] (e.g. add some comment) - to make it compilable 3. MW menu -> Build -> Compile
It seems that this issue is related to Windows's JVM. It works perfectly on Solaris.
The main IO exception is this: java.io.IOException: The pipe has been ended at sun.nio.ch.FileDispatcher.read0(Native Method) at sun.nio.ch.FileDispatcher.read(FileDispatcher.java:32) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:171) at sun.nio.ch.IOUtil.read(IOUtil.java:150) at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:86) at java.io.InputStreamReader$CharsetFiller.readBytes(InputStreamReader.j ava:332) at java.io.InputStreamReader$CharsetFiller.fill(InputStreamReader.java:3 74) at java.io.InputStreamReader.read(InputStreamReader.java:511) at java.io.BufferedReader.fill(BufferedReader.java:139) at java.io.BufferedReader.read1(BufferedReader.java:187) at java.io.BufferedReader.read(BufferedReader.java:261) at java.io.Reader.read(Reader.java:103) at org.apache.regexp.ReaderCharacterIterator.read(ReaderCharacterIterato r.java:167) at org.apache.regexp.ReaderCharacterIterator.ensure(ReaderCharacterItera tor.java:202) at org.apache.regexp.ReaderCharacterIterator.isEnd(ReaderCharacterIterat or.java:142) at org.apache.regexp.RE.matchNodes(RE.java:1335) at org.apache.regexp.RE.matchNodes(RE.java:914) at org.apache.regexp.RE.matchAt(RE.java:1469) at org.apache.regexp.RE.match(RE.java:1525) at org.openide.compiler.ErrorsParsingThread.run1(ErrorsParsingThread.jav a:532) at org.openide.compiler.ErrorsParsingThread.run(ErrorsParsingThread.java :379)
Target milestone -> 3.3
The bug is apparently in merlin. It should be integrated in the next Merlin build.
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.