java.lang.NullPointerException: Attempt to read from field 'int java.math.BigDecimal.scale' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ericpolkadoc
, 1 year ago
Attempt to read from field 'int java.math.BigDecimal.scale' on a null object reference
java.lang.NullPointerException: Attempt to read from field 'int java.math.BigDecimal.scale' on a null object reference
at java.math.BigDecimal.add(BigDecimal.java:733)
at de.appwerft.paypal.PaymentProxy.getStuffToBuy(PaymentProxy.java:311)
at de.appwerft.paypal.PaymentProxy.showPaymentOverLay(PaymentProxy.java:89)
at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)
at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:62)
at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:918)
at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1141)
at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:356)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:145)
at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:118)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.