weixin_39603217
weixin_39603217
2020-12-09 14:37

java.lang.NullPointerException when deploying exploded war with admin console

I'm using:

Sun Java System Application Server 9.1 (build b33) SunOS jsfci 5.10 Generic_118855-14 i86pc i386 i86pc

When I log into the admin console, and try to deploy an exploded war, I get a 500 error.

Here is the stack trace from the log.

[#|2007-01-19T05:06:28.200-0800|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpSSLWorkerThread-24848-1;_RequestID=eb18d1fa-3afd-4843-aba5-cd377ca7a78b;|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception java.lang.NullPointerException at com.sun.webui.jsf.util.UploadFilter.parseRequest(UploadFilter.java:322) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:191) at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:262) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:295) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:234) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:62) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:168) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:164) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:207) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:249) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326) at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:401) at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)

| #] |

I'm not sure why this component is being invoked, because I'm deploying an exploded war via a local directory accessible to the server. In this case, it is /jsfci1/edburns/webpack-glassfish-v2/jsf-extensions/samples/flash/build/jsf-flash

Environment

Operating System: All Platform: Sun

Affected Versions

[9.1pe]

该提问来源于开源项目:eclipse-ee4j/glassfish

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

12条回答

  • weixin_39603217 weixin_39603217 5月前
    • Issue Imported From: https://github.com/javaee/glassfish/issues/2100
    • Original Issue Raised By:
    • Original Issue Assigned To:
    • Original Issue Closed By:
    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented said: Same story when trying to upload a WAR that is accessible to the server.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented said: Uploading it as a WAR from the browser does work. So, it looks like the "point to a server accessible local path" feature doesn't work.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented gfbugbridge said:

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented anilam said: This is due to a regression in the Woodstock component 4.0 ur1 build 3 that we just integrated to the Admin Gui. The regression is introduced when they fix bug# 6504432 We are waiting to hear from them of when the fix will be available.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented anilam said: cc senthil.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented anilam said: We have patched up the woodstock jar b3 with the one class, UploadFilter, that the developer provide. This will be lower risk than taking a nightly build which may not have fully tested. The jar is integrated to glassfish on 1/23. Built starting 1/24 will have the fix.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented anilam said: * * * Issue 2218 has been marked as a duplicate of this issue. ***

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Was assigned to anilam

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented This issue was imported from java.net JIRA GLASSFISH-2100

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Reported by

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Marked as fixed on Thursday, January 25th 2007, 2:51:19 am

    点赞 评论 复制链接分享

相关推荐