aspose file tools*
The moose likes JBoss/WildFly and the fly likes jboss NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss NullPointerException" Watch "jboss NullPointerException" New topic
Author

jboss NullPointerException

ibrahim yener
Ranch Hand

Joined: Jul 22, 2013
Posts: 129

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

Joined: May 14, 2008
Posts: 5827
    
    7

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.


JBoss In Action
ibrahim yener
Ranch Hand

Joined: Jul 22, 2013
Posts: 129

Dear Peter
I have followed your advise and solved problem.

Problem was permission on server side.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss NullPointerException