File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jboss NullPointerException

 
ibrahim yener
Ranch Hand
Posts: 188
Android Java PHP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all.
I am trying to create same environment as my client but i am having NullPointerException for ear file.
I don't know what causes this.

Thanks for any help

Edit : I forgot to write Jboss version; it is 5.1 AS

Log output is :
2014-02-07 11:45:07,396 INFO [STDOUT] (ajp-jboss51a%2F111.111.111.111-8309-13) 11:45:07,396 INFO [XCMSDPS] [111.222.333.444]GET-REQUEST
2014-02-07 11:45:07,403 INFO [STDOUT] (ajp-jboss51a%2F111.111.111.111-8309-13) 11:45:07,403 ERROR [XCMSDPS] [111.222.333.444]RESULT-ERROR:
2014-02-07 11:45:07,409 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/XCMS].[XCMSDPSWebService]] (ajp-jboss51a%2F111.111.111.111-8309-13) サーブレット XCMSDPSWebService のServlet.service()が例外を投げました
java.lang.NullPointerException
at xcms.XCMSDPSWebService.doPost(XCMSDPSWebService.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:385)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Thread.java:736)
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't recognize the class getting the NPE: xcms.XCMSDPSWebService
That is not part of JBoss AS. You need to find the author of that code and ask they why it is getting an NPE at that location.
 
ibrahim yener
Ranch Hand
Posts: 188
Android Java PHP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Peter
I have followed your advise and solved problem.

Problem was permission on server side.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic