[ https://issues.apache.org/jira/browse/GERONIMO-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079800#comment-13079800 ]
Ivan commented on GERONIMO-6104: -------------------------------- Hi, the initial codes is correct, IMO. There is a little difference between the class.getResource and classloader.getResource. You might check them in the java doc. For the file attribute description in HandlerChain, it is of the same behavior of class.getResource method. ---> file public abstract java.lang.String file Location of the handler chain file. The location supports 2 formats: An absolute java.net.URL in externalForm (ex: http://myhandlers.foo.com/handlerfile1.xml). A relative path from the source file or class file (ex: bar/handlerfile1.xml). <--- > @HandlerChain > ------------- > > Key: GERONIMO-6104 > URL: https://issues.apache.org/jira/browse/GERONIMO-6104 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: webservices > Affects Versions: 2.2.1 > Reporter: vu.nguyen > Assignee: Ivan > Labels: patch > Attachments: patch.txt > > > Got NPE when using the @HandlerChain annotation in WebService -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira