[jira] Created: (OFBIZ-245) NPE Thrown in Cybersource ICS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-245) NPE Thrown in Cybersource ICS

Nicolas Malin (Jira)
NPE Thrown in Cybersource ICS
-----------------------------

                 Key: OFBIZ-245
                 URL: http://issues.apache.org/jira/browse/OFBIZ-245
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: accounting
            Reporter: Jacopo Cappellato
            Priority: Minor


Copy of an old issue from Andy Zenesky:

ava.lang.NullPointerException
org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source)
org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source)
org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source)
com.cybersource.security.asymmetric.signature.WsSecuritySign.signDocument(WsSecuritySign.java:47)
com.cybersource.ws.client.Signature.sign(Signature.java:65)
com.cybersource.ws.client.Client.soapWrapAndSign(Client.java:207)
com.cybersource.ws.client.Client.runTransaction(Client.java:103)
com.cybersource.ws.client.Client.runTransaction(Client.java:53)
org.ofbiz.accounting.thirdparty.cybersource.IcsPaymentServices.ccAuth(IcsPaymentServices.java:84)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)


Comment by Dave Sedlacek [26/Apr/05 11:09 AM]

I've recently come across the exact same error in an application at my workplace, beginning with the call to Client.runTransaction(). Very frustrating. The problem turned out to be a class, DOMImplementationImpl, was being loaded from crimson.jar instead of xercesImpl.jar, which is supplied with the CyberSource code. I was able to drop crimson.jar altogether, and the application immediately worked.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira