braintree / braintree_java

Braintree Java library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
158 stars 99 forks source link

I am integrating braintree gateway in my code, so ica #55

Closed brajrajsingh11 closed 6 years ago

brajrajsingh11 commented 6 years ago

General information

I am integrating braintree gateway in my code, so i create maven project and add braintree dependency 2.46.0 in code, at compile time its not giving any issue but on time is giving following exception

Issue description

Caused by: java.lang.ExceptionInInitializerError
    at com.braintreegateway.BraintreeGateway.<init>(BraintreeGateway.java:56)
    at com.bdbizviz.yujaa.services.impl.YujaaServicesImpl.<clinit>(YujaaServicesImpl.java:1516)
    at com.bdbizviz.yujaa.services.activator.YujaaServicesActivator.start(YujaaServicesActivator.java:19)
    at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:2146)
    ... 22 more
Caused by: java.lang.NullPointerException
jaypatel512 commented 6 years ago

Hey @brajrajsingh11 !

Can you please use our latest version if possible 2.73.0 and see if you are still having this problem. Using the latest version is always recommended.

Let me know if you still face this issue.

crookedneighbor commented 6 years ago

I'm going to close this, but feel free to comment here if you're still having issues.