You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by King JKing <be...@gmail.com> on 2011/03/12 17:37:20 UTC

Java Thrift 0.2

Dear all,

My Java Service use Thrift 020. I got a lot of error in log, but service
still run well ????.
Here is my error log:

ERROR [pool-1-thread-4] 2011-03-12 23:31:24,911 TNonblockingServer.java
(line 703) Unexpected exception while invoking!
java.lang.ArrayIndexOutOfBoundsException
ERROR [pool-1-thread-2] 2011-03-12 23:31:26,687 TNonblockingServer.java
(line 703) Unexpected exception while invoking!
java.lang.ArrayIndexOutOfBoundsException
ERROR [pool-1-thread-4] 2011-03-12 23:31:28,861 TNonblockingServer.java
(line 703) Unexpected exception while invoking!
java.lang.ArrayIndexOutOfBoundsException
ERROR [pool-1-thread-5] 2011-03-12 23:31:29,462 TNonblockingServer.java
(line 703) Unexpected exception while invoking!
java.lang.ArrayIndexOutOfBoundsException
ERROR [pool-1-thread-1] 2011-03-12 23:31:33,401 TNonblockingServer.java
(line 703) Unexpected exception while invoking!
java.lang.ArrayIndexOutOfBoundsException
ERROR [pool-1-thread-4] 2011-03-12 23:31:41,018 TNonblockingServer.java
(line 703) Unexpected exception while invoking!
java.lang.ArrayIndexOutOfBoundsException

Could you help me to fix this? May be I change to Thrift 060.

Thank a lot for support.

Re: Java Thrift 0.2

Posted by Bryan Duxbury <br...@rapleaf.com>.
*Are* you using TFramedTransport on the client side?

On Sat, Mar 12, 2011 at 8:40 AM, King JKing <be...@gmail.com> wrote:

> With another Java thrift service use Thrift 060, I got error
>
> ERROR [Thread-2] 2011-03-12 23:05:04,488 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:06:14,401 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:08:09,441 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:17:54,734 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:25:06,145 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:27:18,261 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:31:41,470 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:31:57,695 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
>
> Could you help me to fix this?
> Thank a lot for support.
>
> On Sat, Mar 12, 2011 at 11:37 PM, King JKing <be...@gmail.com> wrote:
>
> > Dear all,
> >
> > My Java Service use Thrift 020. I got a lot of error in log, but service
> > still run well ????.
> > Here is my error log:
> >
> > ERROR [pool-1-thread-4] 2011-03-12 23:31:24,911 TNonblockingServer.java
> > (line 703) Unexpected exception while invoking!
> > java.lang.ArrayIndexOutOfBoundsException
> > ERROR [pool-1-thread-2] 2011-03-12 23:31:26,687 TNonblockingServer.java
> > (line 703) Unexpected exception while invoking!
> > java.lang.ArrayIndexOutOfBoundsException
> > ERROR [pool-1-thread-4] 2011-03-12 23:31:28,861 TNonblockingServer.java
> > (line 703) Unexpected exception while invoking!
> > java.lang.ArrayIndexOutOfBoundsException
> > ERROR [pool-1-thread-5] 2011-03-12 23:31:29,462 TNonblockingServer.java
> > (line 703) Unexpected exception while invoking!
> > java.lang.ArrayIndexOutOfBoundsException
> > ERROR [pool-1-thread-1] 2011-03-12 23:31:33,401 TNonblockingServer.java
> > (line 703) Unexpected exception while invoking!
> > java.lang.ArrayIndexOutOfBoundsException
> > ERROR [pool-1-thread-4] 2011-03-12 23:31:41,018 TNonblockingServer.java
> > (line 703) Unexpected exception while invoking!
> > java.lang.ArrayIndexOutOfBoundsException
> >
> > Could you help me to fix this? May be I change to Thrift 060.
> >
> > Thank a lot for support.
> >
>

Re: Java Thrift 0.2

Posted by Chris Morgan <ch...@gmail.com>.
You might consider trying out a newer thrift release and if the
problems persist reporting them.

Chris


On Mar 12, 2011, at 11:40 AM, King JKing <be...@gmail.com> wrote:

> With another Java thrift service use Thrift 060, I got error
>
> ERROR [Thread-2] 2011-03-12 23:05:04,488 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:06:14,401 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:08:09,441 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:17:54,734 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:25:06,145 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:27:18,261 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:31:41,470 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
> ERROR [Thread-2] 2011-03-12 23:31:57,695 TNonblockingServer.java (line 467)
> Read an invalid frame size of 0. Are you using TFramedTransport on the
> client side?
>
> Could you help me to fix this?
> Thank a lot for support.
>
> On Sat, Mar 12, 2011 at 11:37 PM, King JKing <be...@gmail.com> wrote:
>
>> Dear all,
>>
>> My Java Service use Thrift 020. I got a lot of error in log, but service
>> still run well ????.
>> Here is my error log:
>>
>> ERROR [pool-1-thread-4] 2011-03-12 23:31:24,911 TNonblockingServer.java
>> (line 703) Unexpected exception while invoking!
>> java.lang.ArrayIndexOutOfBoundsException
>> ERROR [pool-1-thread-2] 2011-03-12 23:31:26,687 TNonblockingServer.java
>> (line 703) Unexpected exception while invoking!
>> java.lang.ArrayIndexOutOfBoundsException
>> ERROR [pool-1-thread-4] 2011-03-12 23:31:28,861 TNonblockingServer.java
>> (line 703) Unexpected exception while invoking!
>> java.lang.ArrayIndexOutOfBoundsException
>> ERROR [pool-1-thread-5] 2011-03-12 23:31:29,462 TNonblockingServer.java
>> (line 703) Unexpected exception while invoking!
>> java.lang.ArrayIndexOutOfBoundsException
>> ERROR [pool-1-thread-1] 2011-03-12 23:31:33,401 TNonblockingServer.java
>> (line 703) Unexpected exception while invoking!
>> java.lang.ArrayIndexOutOfBoundsException
>> ERROR [pool-1-thread-4] 2011-03-12 23:31:41,018 TNonblockingServer.java
>> (line 703) Unexpected exception while invoking!
>> java.lang.ArrayIndexOutOfBoundsException
>>
>> Could you help me to fix this? May be I change to Thrift 060.
>>
>> Thank a lot for support.
>>

Re: Java Thrift 0.2

Posted by King JKing <be...@gmail.com>.
With another Java thrift service use Thrift 060, I got error

ERROR [Thread-2] 2011-03-12 23:05:04,488 TNonblockingServer.java (line 467)
Read an invalid frame size of 0. Are you using TFramedTransport on the
client side?
ERROR [Thread-2] 2011-03-12 23:06:14,401 TNonblockingServer.java (line 467)
Read an invalid frame size of 0. Are you using TFramedTransport on the
client side?
ERROR [Thread-2] 2011-03-12 23:08:09,441 TNonblockingServer.java (line 467)
Read an invalid frame size of 0. Are you using TFramedTransport on the
client side?
ERROR [Thread-2] 2011-03-12 23:17:54,734 TNonblockingServer.java (line 467)
Read an invalid frame size of 0. Are you using TFramedTransport on the
client side?
ERROR [Thread-2] 2011-03-12 23:25:06,145 TNonblockingServer.java (line 467)
Read an invalid frame size of 0. Are you using TFramedTransport on the
client side?
ERROR [Thread-2] 2011-03-12 23:27:18,261 TNonblockingServer.java (line 467)
Read an invalid frame size of 0. Are you using TFramedTransport on the
client side?
ERROR [Thread-2] 2011-03-12 23:31:41,470 TNonblockingServer.java (line 467)
Read an invalid frame size of 0. Are you using TFramedTransport on the
client side?
ERROR [Thread-2] 2011-03-12 23:31:57,695 TNonblockingServer.java (line 467)
Read an invalid frame size of 0. Are you using TFramedTransport on the
client side?

Could you help me to fix this?
Thank a lot for support.

On Sat, Mar 12, 2011 at 11:37 PM, King JKing <be...@gmail.com> wrote:

> Dear all,
>
> My Java Service use Thrift 020. I got a lot of error in log, but service
> still run well ????.
> Here is my error log:
>
> ERROR [pool-1-thread-4] 2011-03-12 23:31:24,911 TNonblockingServer.java
> (line 703) Unexpected exception while invoking!
> java.lang.ArrayIndexOutOfBoundsException
> ERROR [pool-1-thread-2] 2011-03-12 23:31:26,687 TNonblockingServer.java
> (line 703) Unexpected exception while invoking!
> java.lang.ArrayIndexOutOfBoundsException
> ERROR [pool-1-thread-4] 2011-03-12 23:31:28,861 TNonblockingServer.java
> (line 703) Unexpected exception while invoking!
> java.lang.ArrayIndexOutOfBoundsException
> ERROR [pool-1-thread-5] 2011-03-12 23:31:29,462 TNonblockingServer.java
> (line 703) Unexpected exception while invoking!
> java.lang.ArrayIndexOutOfBoundsException
> ERROR [pool-1-thread-1] 2011-03-12 23:31:33,401 TNonblockingServer.java
> (line 703) Unexpected exception while invoking!
> java.lang.ArrayIndexOutOfBoundsException
> ERROR [pool-1-thread-4] 2011-03-12 23:31:41,018 TNonblockingServer.java
> (line 703) Unexpected exception while invoking!
> java.lang.ArrayIndexOutOfBoundsException
>
> Could you help me to fix this? May be I change to Thrift 060.
>
> Thank a lot for support.
>