Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AS2Servlet Internal error occured, NullPointerException. v3.0.0 #179

Closed
simakas opened this issue Oct 1, 2014 · 6 comments
Closed

AS2Servlet Internal error occured, NullPointerException. v3.0.0 #179

simakas opened this issue Oct 1, 2014 · 6 comments

Comments

@simakas
Copy link

simakas commented Oct 1, 2014

log snippet follows:

2014-10-01 09:40:08,511 ERROR [eu.peppol.inbound.server.AS2Servlet] [] Internal error occured: null 
java.lang.NullPointerException: null
     at org.apache.tomcat.util.http.parser.HttpParser.parseMediaType(HttpParser.java:215) ~[tomcat-coyote-7.0.37.jar:7.0.37]
     at org.apache.tomcat.util.http.parser.MediaTypeCache.parse(MediaTypeCache.java:54) ~[tomcat-coyote-7.0.37.jar:7.0.37]
     at org.apache.catalina.connector.Response.setContentType(Response.java:806) ~[catalina-7.0.37.jar:7.0.37]
     at org.apache.catalina.connector.Response.checkSpecialHeader(Response.java:1119) ~[catalina-7.0.37.jar:7.0.37]
     at org.apache.catalina.connector.Response.setHeader(Response.java:1446) ~[catalina-7.0.37.jar:7.0.37]
     at org.apache.catalina.connector.ResponseFacade.setHeader(ResponseFacade.java:535) ~[catalina-7.0.37.jar:7.0.37]
     at eu.peppol.inbound.server.AS2Servlet.setHeadersForMDN(AS2Servlet.java:207) ~[AS2Servlet.class:na]
     at eu.peppol.inbound.server.AS2Servlet.doPost(AS2Servlet.java:171) ~[AS2Servlet.class:na]
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) [tomcat7-servlet-3.0-api-7.0.37.jar:na]
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [tomcat7-servlet-3.0-api-7.0.37.jar:na]
<...>
2014-10-01 09:40:08,511 ERROR [eu.peppol.inbound.server.AS2Servlet] [] Attempting to return MDN with explanatory message and HTTP 500 status

environment:
version.oxalis: 3.0.0
version.java: 1.7.0_51
oxalis.operation.mode: PRODUCTION
oxalis.pki.version: V2
tomcat: 7.0.37

@bijeshcnair
Copy link

Im getting the same error with oxalis version 3.0.2

@teedjay
Copy link
Contributor

teedjay commented Oct 1, 2014

Can you try a newer Tomcat 7, seems like there could be a bug in your 7.0.37 version regarding this.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54703

Also see #174

@mganeshs
Copy link

mganeshs commented Oct 5, 2014

After updating tomcat, this issue got resolved. Thanks Thore.

@simakas
Copy link
Author

simakas commented Oct 5, 2014

yeap, looks like it works with 7.0.55

@VijayaKumar2
Copy link

Hi Everyone,

We are using the tomcat version 7.0.55 with oxalis version 3.0.2,
Still we are getting the same exception. Could any one help us?

What is the JAVA version which you people are running the tomcat ?

We are running with Java 7.

@simakas
Copy link
Author

simakas commented Feb 9, 2017

version.oxalis: 3.2.0
version.java: 1.8.0_101
Server version: Apache Tomcat/7.0.55

is our current stable setup, 1.8 solves some problems on the receiving end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants