olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Amend (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OLINGO-1227) NoSuchMethodError exception in EdmBinary
Date Wed, 31 Jan 2018 12:55:00 GMT

    [ https://issues.apache.org/jira/browse/OLINGO-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346766#comment-16346766
] 

Christian Amend commented on OLINGO-1227:
-----------------------------------------

Hi Daniel,

Apache Olingo requires the dependency Apache.commons.codec with version 1.6. This is specified
in the POM. Can you please check if either:
1.	The dependency is not part of your classpath
2.	The dependency is not part of your war file
3.	There is another version of apache commons codec deployed? Maybe a lower version that does
not have the required method.

Best Regards,
Christian


> NoSuchMethodError exception in EdmBinary
> ----------------------------------------
>
>                 Key: OLINGO-1227
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1227
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.10
>            Reporter: Daniel Horvath
>            Priority: Blocker
>
> Dear Colleagues,
> When we try to read an entity with binary property with Olingo we get the following exception:
>  
> {code:java}
> Caused by: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.isBase64(Ljava/lang/String;)Z
> at org.apache.olingo.odata2.core.edm.EdmBinary.validateLiteral(EdmBinary.java:60)
> at org.apache.olingo.odata2.core.edm.EdmBinary.internalValueOfString(EdmBinary.java:91)
> at org.apache.olingo.odata2.core.edm.AbstractSimpleType.valueOfString(AbstractSimpleType.java:91)
> at org.apache.olingo.odata2.core.ep.consumer.JsonPropertyConsumer.readSimpleProperty(JsonPropertyConsumer.java:236)
> at org.apache.olingo.odata2.core.ep.consumer.JsonPropertyConsumer.readPropertyValue(JsonPropertyConsumer.java:169)
> at org.apache.olingo.odata2.core.ep.consumer.JsonEntryConsumer.handleName(JsonEntryConsumer.java:172)
> at org.apache.olingo.odata2.core.ep.consumer.JsonEntryConsumer.readEntryContent(JsonEntryConsumer.java:130)
> at org.apache.olingo.odata2.core.ep.consumer.JsonEntryConsumer.readFeedEntry(JsonEntryConsumer.java:117)
> at org.apache.olingo.odata2.core.ep.consumer.JsonFeedConsumer.readArrayContent(JsonFeedConsumer.java:153)
> at org.apache.olingo.odata2.core.ep.consumer.JsonFeedConsumer.handleName(JsonFeedConsumer.java:122)
> at org.apache.olingo.odata2.core.ep.consumer.JsonFeedConsumer.readFeedContent(JsonFeedConsumer.java:111)
> at org.apache.olingo.odata2.core.ep.consumer.JsonFeedConsumer.readFeed(JsonFeedConsumer.java:96)
> at org.apache.olingo.odata2.core.ep.consumer.JsonFeedConsumer.readFeedStandalone(JsonFeedConsumer.java:63)
> at org.apache.olingo.odata2.core.ep.consumer.JsonEntityConsumer.readDeltaFeed(JsonEntityConsumer.java:95)
> at org.apache.olingo.odata2.core.ep.consumer.JsonEntityConsumer.readFeed(JsonEntityConsumer.java:81)
> at org.apache.olingo.odata2.core.ep.JsonEntityProvider.readFeed(JsonEntityProvider.java:309)
> at org.apache.olingo.odata2.core.ep.ProviderFacadeImpl.readFeed(ProviderFacadeImpl.java:166)
> at org.apache.olingo.odata2.api.ep.EntityProvider.readFeed(EntityProvider.java:708)
> {code}
> Best regards,
> Daniel
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message