Comments (7)
Looks like it
http://stackoverflow.com/questions/22495617/conflicting-getter-definitions-for-property-in-jackson-2-2-3
from intercom-java.
Stack:
io.intercom.api.IntercomException: Local exception calling [https://api.intercom.io//users]. Check connectivity and settings. [Conflicting getter definitions for property "update_last_request_at": io.intercom.api.User$UserUpdate#isUpdateLastRequestAt(0 params) vs io.intercom.api.User$UserUpdate#getUpdateLastRequestAt(0 params)]
at io.intercom.api.HttpClient.throwLocalException(HttpClient.java:115)
at io.intercom.api.HttpClient.post(HttpClient.java:95)
at io.intercom.api.DataResource.create(DataResource.java:20)
at io.intercom.api.User.create(User.java:63)
at com.tkbt.websiteservices.IntercomServices.CreateOrganisationAndUser(IntercomServices.java:42)
at com.tkbt.websiteservices.Server$7.lambda$handle$14(Server.java:294)
at com.tkbt.websiteservices.Server$7$$Lambda$16/1841823317.get(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1582)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Conflicting getter definitions for property "update_last_request_at": io.intercom.api.User$UserUpdate#isUpdateLastRequestAt(0 params) vs io.intercom.api.User$UserUpdate#getUpdateLastRequestAt(0 params)
at com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:838)
at com.fasterxml.jackson.databind.SerializerProvider.findValueSerializer(SerializerProvider.java:387)
at com.fasterxml.jackson.databind.SerializerProvider.findTypedValueSerializer(SerializerProvider.java:478)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:97)
at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:2718)
at com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2177)
at io.intercom.api.HttpClient.prepareRequestEntity(HttpClient.java:126)
at io.intercom.api.HttpClient.post(HttpClient.java:92)
... 7 more
Caused by: java.lang.IllegalArgumentException: Conflicting getter definitions for property "update_last_request_at": io.intercom.api.User$UserUpdate#isUpdateLastRequestAt(0 params) vs io.intercom.api.User$UserUpdate#getUpdateLastRequestAt(0 params)
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder.getGetter(POJOPropertyBuilder.java:190)
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder.getAccessor(POJOPropertyBuilder.java:283)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.removeIgnorableTypes(BeanSerializerFactory.java:678)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:557)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:373)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:268)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:213)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:152)
at com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:873)
at com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:833)
... 14 more
from intercom-java.
@gemmell the jackson version for the client is 2.4.2 which is also working for me. I'm going to try removing the added secondary methods instead of jsonignore
from intercom-java.
$ jar tf WebsiteServices-0.0.1-fat.jar | grep jackson
lib/jackson-databind-2.2.2.jar
lib/jackson-core-2.2.2.jar
lib/jackson-annotations-2.2.2.jar
mods/com.tkbtWebsiteServices0.0.1/lib/jackson-core-2.4.3.jar
mods/com.tkbtWebsiteServices0.0.1/lib/jackson-databind-2.4.3.jar
mods/com.tkbtWebsiteServices0.0.1/lib/jackson-annotations-2.4.0.jar
from intercom-java.
@gemmell there's a 1.0.9 version that backs out the alternate getters; lmk how it works with mixed libs for you.
from intercom-java.
Seems to do the trick.
from intercom-java.
@gemmell good to hear, thanks for reporting it
from intercom-java.
Related Issues (20)
- Please add possibility to update OWNER_ID field in contact and user HOT 1
- NotFoundException user not found when creating a user HOT 1
- Document what version of the Intercom API this SDK supports HOT 3
- Unable to fetch Admin objects using list(Map<String, String> params) method HOT 2
- Why doesn't conversation object contain a statistics object?
- Multiple CVE's exists on the jackson version used by the intercom library. HOT 2
- Missing "external_id" in the `Contact` model HOT 3
- Restore Company.delete method HOT 2
- Bintray deprecation - move artifacts elsewhere HOT 2
- InvalidDefinitionException: Joda date/time type `org.joda.time.DateTime` not supported by default HOT 1
- Finding Contacts or Users Returns Deserialization Error HOT 4
- Support for version 2.3
- Contact.update() doesn't work HOT 2
- joda_zoneinfomap FATAL EXCEPTION HOT 1
- List for tags and contacts returns empty response (no data)
- Monthly spend value doesn't update when the value is set to zero
- Is this library dead? HOT 3
- Tagging API seems odd, or maybe needs more documentation HOT 2
- conversationId not returned from Conversation.Create
- Intercom-java SDK is not compatible with recent versions of Jackson HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intercom-java.