java.lang.NoSuchMethodError

org.json.JSONTokener.<init>(Ljava/io/InputStream;)V


Solutions on the web12645

Solution icon of github
org.json.JSONTokener.<init>(Ljava/io/InputStream;)V

Solution icon of github
via GitHub by val-litvak
, 4 months ago
org.json.JSONTokener.<init>(Ljava/io/InputStream;)V

Solution icon of springsource
via SpringSource Issue Tracker by François Rey, 1 year ago
org.json.JSONTokener.<init>(Ljava/io/Reader;)V

Solution icon of springsource
via SpringSource Issue Tracker by François Rey, 1 year ago
org.json.JSONTokener.<init>(Ljava/io/Reader;)V

Solution icon of stackoverflow
via Stack Overflow by honeysingh
, 1 year ago
No direct method <init>(Ljava/io/InputStream;)V in class Lorg/json/JSONTokener; or its super classes (declaration of 'org.json.JSONTokener' appears in /system/framework/core-libart.jar)

Solution icon of github
org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Ljava/io/InputStream;)V

Solution icon of stackoverflow
com.paypal.core.BaseService.<init>(Ljava/io/InputStream;)V

Solution icon of github
org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Ljava/io/InputStream;)V

Solution icon of oraclecommunity
via Oracle Community by user12940873, 1 year ago
oracle.dss.util.CustomStyle.<init>(Ljava/io/InputStream;)V

Solution icon of web
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(Ljava/io/InputStream;)V

Stack trace

  • java.lang.NoSuchMethodError: org.json.JSONTokener.<init>(Ljava/io/InputStream;)V at com.google.cloud.ServiceOptions.serviceAccountProjectId(ServiceOptions.java:452) at com.google.cloud.ServiceOptions.getDefaultProject(ServiceOptions.java:346) at com.google.cloud.ServiceOptions.<init>(ServiceOptions.java:281) at com.google.cloud.HttpServiceOptions.<init>(HttpServiceOptions.java:179) at com.google.cloud.storage.StorageOptions.<init>(StorageOptions.java:69) at com.google.cloud.storage.StorageOptions.<init>(StorageOptions.java:27) at com.google.cloud.storage.StorageOptions$Builder.build(StorageOptions.java:64)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.