[jboss-user] [JBossWS] - Re: NullPointerException from JBossXSEntityResolver

martinschweigert do-not-reply at jboss.com
Wed May 28 05:18:40 EDT 2008


Now I patched "JBossXSEntityResolver" - it seems to work ;)


@@ -164,6 +164,7 @@

    private XMLInputSource getXMLInputSource(InputSource inputSource, XMLResourceIdentifier resId)
    {
+      if (inputSource == null) return null;
       String encoding = inputSource.getEncoding();
       InputStream byteStream = inputSource.getByteStream();
       return new XMLInputSource(resId.getPublicId(), resId.getExpandedSystemId(), resId.getBaseSystemId(), byteStream, encoding);



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153883#4153883

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153883



More information about the jboss-user mailing list