Community
Participate
Working Groups
Created attachment 198780 [details] Console Build Output for jetty-client (mvn clean install) Various tests cases in jetty-client trigger many of the following exception during testing on OSX. java.lang.IllegalArgumentException: getIndex>putIndex: 23>0 at org.eclipse.jetty.io.AbstractBuffer.setPutIndex(AbstractBuffer.java:534) at org.eclipse.jetty.io.nio.ChannelEndPoint.fill(ChannelEndPoint.java:197) at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.unwrap(SslSelectChannelEndPoint.java:695) at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:346) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:289) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) Build Info: $ mvn --version Apache Maven 3.0.3 (r1075438; 2011-02-28 10:31:09-0700) Maven home: /Users/joakim/Java/maven/apache-maven-3.0.3 Java version: 1.6.0_24, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
I've found an issue where close was being called from within a try{}finally{} that was manipulating the buffer pointers. Can you try trunk and see if you still get this exception.
Created attachment 198783 [details] New build output /jetty-client/ Adding new build-2.log console output of /jetty-client/ build (mvn clean install) of current trunk. Still have the IllegalArgumentException's (and a new IllegalStateException)
Created attachment 198870 [details] Build log after changes
I have just ran the build on Mac OS X again and there are no more exceptions like this in the build log. Resolving this ticket now.