good20087758521 / apjp

Automatically exported from code.google.com/p/apjp
0 stars 0 forks source link

"Caused by: java.lang.ArrayIndexOutOfBoundsException: 1" #123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
当前使用了heroku和dotcloud。

APJP.HTTP11.HTTPRequestException: HTTP_REQUEST/GET_HTTP_RESPONSE_MESSAGE
        at APJP.HTTP11.HTTPRequest.getHTTPResponseMessage(HTTPRequest.java:623)
        at APJP.HTTP.HTTPServerWorker.process(HTTPServerWorker.java:265)
        at APJP.HTTP.HTTPServerWorker.run(HTTPServerWorker.java:128)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
        at APJP.HTTP11.HTTPRequest.getHTTPResponseMessage(HTTPRequest.java:148)
        ... 3 more
APJP_LOCAL_HTTP_SERVER: HTTP_SERVER_WORKER: EXCEPTION
APJP.HTTP.HTTPServerException: HTTP_SERVER_WORKER/PROCESS: REQUEST/METHOD != 
"GET", REQUEST/METHOD == "

Original issue reported on code.google.com by zbut...@gmail.com on 27 Nov 2012 at 11:27

GoogleCodeExporter commented 9 years ago
"Caused by: java.lang.ArrayIndexOutOfBoundsException: 1"

http://docs.oracle.com/javase/6/docs/api/java/lang/ArrayIndexOutOfBoundsExceptio
n.html

@jvansteirteghem HELP!

Original comment by goknmuse on 27 Nov 2012 at 1:55

GoogleCodeExporter commented 9 years ago
How do I reproduce that exception?

I have had that exception before, because the request was not a HTTP request.
There were no problems in the browser because of that exception.

Original comment by jeroen.v...@gmail.com on 27 Nov 2012 at 6:55

GoogleCodeExporter commented 9 years ago
Yes it's caused by some applications support http proxy. And some other 
problems like "unkown_ca". Can the tunnel support more application besides 
browser, just like dropbox and qq? I think most problems is caused by https 
request. 

Original comment by zbut...@gmail.com on 29 Nov 2012 at 12:59

GoogleCodeExporter commented 9 years ago
Yes, if you import APJP_LOCAL.pem as CERTIFICATE AUTHORITY in your application 
and/or operating system.

Or you can use JAP: http://code.google.com/p/jap/

Original comment by jeroen.v...@gmail.com on 29 Nov 2012 at 12:04