salesforce dto generator: Unrecognized field "is_readonly" in LoginToken

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

salesforce dto generator: Unrecognized field "is_readonly" in LoginToken

rpcat
perhaps a new salesforce field "is_readonly" is needed in LoginToken to fix the DTO generator?


[INFO] --- camel-salesforce-maven-plugin:2.15.3:generate (default-cli) @ salesforceIntegration ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=39, ConflictIdSorter.graphTim                                                        e=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=25, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=10, Con                                                        flictResolver.conflictItemCount=38, DefaultDependencyCollector.collectTime=250, DefaultDependencyCollector.transformTime=10}
[DEBUG] org.apache.camel.maven:camel-salesforce-maven-plugin:jar:2.15.3:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.8:compile
[DEBUG]    org.apache.camel:camel-salesforce:jar:2.15.3:compile
[DEBUG]       org.apache.camel:camel-core:jar:2.15.3:compile
[DEBUG]       org.eclipse.jetty:jetty-client:jar:8.1.17.v20150415:compile
[DEBUG]          org.eclipse.jetty:jetty-http:jar:8.1.17.v20150415:compile
[DEBUG]       org.eclipse.jetty:jetty-util:jar:8.1.17.v20150415:compile
[DEBUG]       org.eclipse.jetty:jetty-io:jar:8.1.17.v20150415:compile
[DEBUG]       org.codehaus.jackson:jackson-mapper-asl:jar:1.9.12:compile
[DEBUG]          org.codehaus.jackson:jackson-core-asl:jar:1.9.12:compile
[DEBUG]       com.thoughtworks.xstream:xstream:jar:1.4.8:compile
[DEBUG]          xmlpull:xmlpull:jar:1.1.3.1:compile
[DEBUG]          xpp3:xpp3_min:jar:1.1.4c:compile
[DEBUG]       org.cometd.java:cometd-java-client:jar:2.4.3:compile
[DEBUG]          org.cometd.java:bayeux-api:jar:2.4.3:compile
[DEBUG]          org.cometd.java:cometd-java-common:jar:2.4.3:compile
[DEBUG]       joda-time:joda-time:jar:2.5:compile
[DEBUG]    org.apache.velocity:velocity:jar:1.7:compile
[DEBUG]       commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG]       commons-lang:commons-lang:jar:2.4:compile
[DEBUG]    org.slf4j:slf4j-api:jar:1.6.6:compile
[DEBUG]    log4j:log4j:jar:1.2.17:compile
[DEBUG]    com.sun.xml.bind:jaxb-core:jar:2.2.11:compile
[DEBUG]    com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile
[DEBUG] Created new class realm plugin>org.apache.camel.maven:camel-salesforce-maven-plugin:2.15.3
[DEBUG] Importing foreign packages into class realm plugin>org.apache.camel.maven:camel-salesforce-maven-plugin:2.15.3
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.camel.maven:camel-salesforce-maven-plugin:2.15.3
[DEBUG]   Included: org.apache.camel.maven:camel-salesforce-maven-plugin:jar:2.15.3
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.8
[DEBUG]   Included: org.apache.camel:camel-salesforce:jar:2.15.3
[DEBUG]   Included: org.apache.camel:camel-core:jar:2.15.3
[DEBUG]   Included: org.eclipse.jetty:jetty-client:jar:8.1.17.v20150415
[DEBUG]   Included: org.eclipse.jetty:jetty-http:jar:8.1.17.v20150415
[DEBUG]   Included: org.eclipse.jetty:jetty-util:jar:8.1.17.v20150415
[DEBUG]   Included: org.eclipse.jetty:jetty-io:jar:8.1.17.v20150415
[DEBUG]   Included: org.codehaus.jackson:jackson-mapper-asl:jar:1.9.12
[DEBUG]   Included: org.codehaus.jackson:jackson-core-asl:jar:1.9.12
[DEBUG]   Included: com.thoughtworks.xstream:xstream:jar:1.4.8
[DEBUG]   Included: xmlpull:xmlpull:jar:1.1.3.1
[DEBUG]   Included: xpp3:xpp3_min:jar:1.1.4c
[DEBUG]   Included: org.cometd.java:cometd-java-client:jar:2.4.3
[DEBUG]   Included: org.cometd.java:bayeux-api:jar:2.4.3
[DEBUG]   Included: org.cometd.java:cometd-java-common:jar:2.4.3
[DEBUG]   Included: joda-time:joda-time:jar:2.5
[DEBUG]   Included: org.apache.velocity:velocity:jar:1.7
[DEBUG]   Included: commons-collections:commons-collections:jar:3.2.1
[DEBUG]   Included: commons-lang:commons-lang:jar:2.4
[DEBUG]   Included: log4j:log4j:jar:1.2.17
[DEBUG]   Included: com.sun.xml.bind:jaxb-core:jar:2.2.11
[DEBUG]   Included: com.sun.xml.bind:jaxb-impl:jar:2.2.11
[DEBUG] Configuring mojo org.apache.camel.maven:camel-salesforce-maven-plugin:2.15.3:generate from plugin realm ClassRealm[plugin>org.apache.camel.ma                                                        ven:camel-salesforce-maven-plugin:2.15.3, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
[DEBUG] Configuring mojo 'org.apache.camel.maven:camel-salesforce-maven-plugin:2.15.3:generate' with basic configurator -->

...


[ERROR] Failed to execute goal org.apache.camel.maven:camel-salesforce-maven-plugin:2.15.3:generate (default-cli) on project salesforceIntegration: S                                                        alesforce login error Login error: unexpected exception Unrecognized field "is_readonly" (Class org.apache.camel.component.salesforce.internal.dto.Lo                                                        ginToken), not marked as ignorable
[ERROR] at [Source: [B@3703bf3c; line: 1, column: 147] (through reference chain: org.apache.camel.component.salesforce.internal.dto.LoginToken["is_re                                                        adonly"])
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.camel.maven:camel-salesforce-maven-plugin:2.15.3:generate (                                                        default-cli) on project salesforceIntegration: Salesforce login error Login error: unexpected exception Unrecognized field "is_readonly" (Class org.a                                                        pache.camel.component.salesforce.internal.dto.LoginToken), not marked as ignorable
 at [Source: [B@3703bf3c; line: 1, column: 147] (through reference chain: org.apache.camel.component.salesforce.internal.dto.LoginToken["is_readonly"                                                        ])
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Salesforce login error Login error: unexpected exception Unrecognized field "is_readonly"                                                         (Class org.apache.camel.component.salesforce.internal.dto.LoginToken), not marked as ignorable
 at [Source: [B@3703bf3c; line: 1, column: 147] (through reference chain: org.apache.camel.component.salesforce.internal.dto.LoginToken["is_readonly"                                                        ])
        at org.apache.camel.maven.CamelSalesforceMojo.execute(CamelSalesforceMojo.java:237)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 20 more
Caused by: {message:'Login error: unexpected exception Unrecognized field "is_readonly" (Class org.apache.camel.component.salesforce.internal.dto.Log                                                        inToken), not marked as ignorable
 at [Source: [B@3703bf3c; line: 1, column: 147] (through reference chain: org.apache.camel.component.salesforce.internal.dto.LoginToken["is_readonly"                                                        ])',statusCode:0}
        at org.apache.camel.component.salesforce.internal.SalesforceSession.login(SalesforceSession.java:186)
        at org.apache.camel.maven.CamelSalesforceMojo.execute(CamelSalesforceMojo.java:234)
        ... 22 more
Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "is_readonly" (Class org.apache.camel.component.salesforce.                                                        internal.dto.LoginToken), not marked as ignorable
 at [Source: [B@3703bf3c; line: 1, column: 147] (through reference chain: org.apache.camel.component.salesforce.internal.dto.LoginToken["is_readonly"                                                        ])
        at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53)
        at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267)
        at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:673)
        at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:659)
        at org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty(BeanDeserializer.java:1365)
        at org.codehaus.jackson.map.deser.BeanDeserializer._handleUnknown(BeanDeserializer.java:725)
        at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:703)
        at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
        at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732)
        at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1935)
        at org.apache.camel.component.salesforce.internal.SalesforceSession.login(SalesforceSession.java:137)
        ... 23 more