[
https://issues.apache.org/jira/browse/OLINGO-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Swapnil Nandgave updated OLINGO-1039:
-------------------------------------
Description:
Android Version 6.0.0
Getting this error when trying to iterate ODataEntitySetIterator
OData V4
Error log
java.lang.NoSuchMethodError: No static method
prependIfMissing(Ljava/lang/String;Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String;
in class Lorg/apache/commons/lang3/StringUtils; or its super classes
(declaration of 'org.apache.commons.lang3.StringUtils' appears in
/system/framework/framework.jar:classes2.dex)
at
org.apache.olingo.commons.core.serialization.JsonDeserializer.getJSONAnnotation(JsonDeserializer.java:139)
at
org.apache.olingo.commons.core.serialization.JsonEntityDeserializer.doDeserialize(JsonEntityDeserializer.java:154)
at
org.apache.olingo.commons.core.serialization.JsonDeserializer.toEntity(JsonDeserializer.java:458)
at
org.apache.olingo.client.core.serialization.AbstractODataDeserializer.toEntity(AbstractODataDeserializer.java:67)
at
org.apache.olingo.client.api.domain.ODataEntitySetIterator.nextJSONEntityFromEntitySet(ODataEntitySetIterator.java:216)
at
org.apache.olingo.client.api.domain.ODataEntitySetIterator.hasNext(ODataEntitySetIterator.java:118)
at
com.svatantra.saathi.network.FetchDataIntentService.onHandleIntent(FetchDataIntentService.java:56)
at
android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
at
android.os.Handler.dispatchMessage(Handler.java:102)
at
android.os.Looper.loop(Looper.java:148)
at
android.os.HandlerThread.run(HandlerThread.java:61)
was:
java.lang.NoSuchMethodError: No static method
prependIfMissing(Ljava/lang/String;Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String;
in class Lorg/apache/commons/lang3/StringUtils; or its super classes
(declaration of 'org.apache.commons.lang3.StringUtils' appears in
/system/framework/framework.jar:classes2.dex)
at
org.apache.olingo.commons.core.serialization.JsonDeserializer.getJSONAnnotation(JsonDeserializer.java:139)
at
org.apache.olingo.commons.core.serialization.JsonEntityDeserializer.doDeserialize(JsonEntityDeserializer.java:154)
at
org.apache.olingo.commons.core.serialization.JsonDeserializer.toEntity(JsonDeserializer.java:458)
at
org.apache.olingo.client.core.serialization.AbstractODataDeserializer.toEntity(AbstractODataDeserializer.java:67)
at
org.apache.olingo.client.api.domain.ODataEntitySetIterator.nextJSONEntityFromEntitySet(ODataEntitySetIterator.java:216)
at
org.apache.olingo.client.api.domain.ODataEntitySetIterator.hasNext(ODataEntitySetIterator.java:118)
at
com.svatantra.saathi.network.FetchDataIntentService.onHandleIntent(FetchDataIntentService.java:56)
at
android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
at
android.os.Handler.dispatchMessage(Handler.java:102)
at
android.os.Looper.loop(Looper.java:148)
at
android.os.HandlerThread.run(HandlerThread.java:61)
> java.lang.NoSuchMethodError: No static method prependIfMissing
> --------------------------------------------------------------
>
> Key: OLINGO-1039
> URL: https://issues.apache.org/jira/browse/OLINGO-1039
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Environment: Android
> Reporter: Swapnil Nandgave
>
> Android Version 6.0.0
> Getting this error when trying to iterate ODataEntitySetIterator
> OData V4
> Error log
> java.lang.NoSuchMethodError: No static method
> prependIfMissing(Ljava/lang/String;Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String;
> in class Lorg/apache/commons/lang3/StringUtils; or its super classes
> (declaration of 'org.apache.commons.lang3.StringUtils' appears in
> /system/framework/framework.jar:classes2.dex)
> at
> org.apache.olingo.commons.core.serialization.JsonDeserializer.getJSONAnnotation(JsonDeserializer.java:139)
> at
> org.apache.olingo.commons.core.serialization.JsonEntityDeserializer.doDeserialize(JsonEntityDeserializer.java:154)
> at
> org.apache.olingo.commons.core.serialization.JsonDeserializer.toEntity(JsonDeserializer.java:458)
> at
> org.apache.olingo.client.core.serialization.AbstractODataDeserializer.toEntity(AbstractODataDeserializer.java:67)
> at
> org.apache.olingo.client.api.domain.ODataEntitySetIterator.nextJSONEntityFromEntitySet(ODataEntitySetIterator.java:216)
> at
> org.apache.olingo.client.api.domain.ODataEntitySetIterator.hasNext(ODataEntitySetIterator.java:118)
> at
> com.svatantra.saathi.network.FetchDataIntentService.onHandleIntent(FetchDataIntentService.java:56)
> at
> android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
> at
> android.os.Handler.dispatchMessage(Handler.java:102)
> at
> android.os.Looper.loop(Looper.java:148)
> at
> android.os.HandlerThread.run(HandlerThread.java:61)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)