ClassNotFoundException: com.google.api.client.googleapis.json.GoogleJsonError$ErrorInfo

Bug #1332715 reported by pjv on 2014-06-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Collectionista
Undecided
Unassigned

Bug Description

Class that is only used in case of errors was probably left out due to proguard.

Bugsense: https://www.bugsense.com/dashboard/project/98c9e403/errors/951658340

java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:200)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)
at java.util.concurrent.FutureTask.setException(FutureTask.java:125)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1019)Caused by: java.lang.TypeNotPresentException: Type com.google.api.client.googleapis.json.GoogleJsonError$ErrorInfo not present
at org.apache.harmony.luni.lang.reflect.ImplForType.getRawType(ImplForType.java:64)
at org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:73)
at org.apache.harmony.luni.lang.reflect.ListOfTypes.resolveTypes(ListOfTypes.java:61)
at org.apache.harmony.luni.lang.reflect.ListOfTypes.getResolvedTypes(ListOfTypes.java:53)
at org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:72)
at org.apache.harmony.luni.lang.reflect.Types.getType(Types.java:29)
at java.lang.reflect.Field.getGenericType(Field.java:183)
at com.google.api.client.json.JsonParser.com.google.api.client.json.JsonFactory getFactory()(Collectionista:495)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at com.google.api.client.json.JsonParser.com.google.api.client.json.JsonFactory getFactory()(Collectionista:125)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at com.google.api.client.googleapis.json.GoogleJsonResponseException.com.google.api.client.googleapis.json.GoogleJsonResponseException from(com.google.api.client.json.JsonFactory,com.google.api.client.http.HttpResponse)(Collectionista:113)
at com.google.api.client.googleapis.services.GoogleClient.com.google.api.client.http.HttpResponse execute(com.google.api.client.http.HttpMethod,java.lang.String,java.lang.Object,com.google.api.client.http.json.JsonHttpRequest)(Collectionista:123)
at com.google.api.client.http.json.JsonHttpRequest.com.google.api.client.http.HttpResponse executeUnparsed()(Collectionista:67)
at com.google.api.services.books.Books$Volumes$List.com.google.api.services.books.model.Volumes execute()(Collectionista:959)
at net.lp.collectionista.adapters.GoogleBooksBookStore$GoogleBooksRequestHandler.java.lang.Object makeRequest$1f7dfdec(net.lp.collectionista.adapters.ProductHandledStore$SearchQuery,net.lp.collectionista.adapters.ProductHandledStore$ResponseParser)(Collectionista:263)
at net.lp.collectionista.adapters.GoogleBooksBookStore$FeedRequestHandler.java.lang.Object handleRequest(net.lp.collectionista.adapters.ProductHandledStore$SearchQuery)(Collectionista:1)
at net.lp.collectionista.adapters.ProductHandledStore.net.lp.collectionista.adapters.ProductStore$SearchQuery buildSingleProductQuery(java.lang.String,net.lp.collectionista.adapters.ProductStore$QueryDataType,net.lp.collectionista.adapters.ProductStore$Mission)(Collectionista:167)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at net.lp.collectionista.util.tasks.BookItemScanAddTask.net.lp.collectionista.domain.items.book.BookItem findSingleProduct()(Collectionista:134)
at net.lp.collectionista.util.tasks.BookItemScanAddTask.net.lp.collectionista.domain.Product doInBackground(java.lang.String[])(Collectionista:1)
at net.lp.collectionista.util.tasks.ScanAddTask.java.lang.Object doInBackground(java.lang.Object[])(Collectionista:1)
at android.os.AsyncTask$2.call(AsyncTask.java:185)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
... 4 more
Caused by: java.lang.ClassNotFoundException: com.google.api.client.googleapis.json.GoogleJsonError$ErrorInfo
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:234)
at org.apache.harmony.luni.lang.reflect.ImplForType.getRawType(ImplForType.java:62)
... 24 more
Caused by: java.lang.NoClassDefFoundError: com.google.api.client.googleapis.json.GoogleJsonError$ErrorInfo
... 27 more
Caused by: java.lang.ClassNotFoundException: com.google.api.client.googleapis.json.GoogleJsonError$ErrorInfo in loader dalvik.system.PathClassLoader[/data/app/net.lp.collectionista-1.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
... 27 more

Related branches

pjv (pjv) wrote :

Added to proguard

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers