[
https://wso2.org/jira/browse/ESBJAVA-598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruwan Linton resolved ESBJAVA-598.
----------------------------------
Fix Version/s: 2.1
Resolution: Fixed
Resolving as per the user comment
> NPE when running VFS with zip files
> -----------------------------------
>
> Key: ESBJAVA-598
> URL: https://wso2.org/jira/browse/ESBJAVA-598
> Project: WSO2 ESB
> Issue Type: Bug
> Environment: Linux Ubuntu
> Reporter: Srinath Perera
> Assignee: Ruwan Linton
> Fix For: 2.1
>
>
> I am hitting this NPE when I am using VFS to process a ZIP file. Note that
> since it is zip file (unlike given in the sample, which is a xml file) ,
> there is no real message. Instead a message is created to include the zip
> file as a attachment. This may play a role in the following NPE.
> java.lang.NullPointerException
> at
> org.apache.axis2.context.MessageContext.findBindingMessage(MessageContext.java:1619)
> at
> org.apache.axis2.context.MessageContext.getEffectivePolicy(MessageContext.java:1583)
> at
> org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:98)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:256)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:165)
> at
> org.apache.axis2.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:325)
> at
> org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:466)
> at
> org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:231)
> at
> org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:137)
> at
> org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:104)
> at
> org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:99)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev