Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoSuchFieldError: REFLECTION #2

Closed
jludvice opened this issue Aug 30, 2016 · 4 comments
Closed

java.lang.NoSuchFieldError: REFLECTION #2

jludvice opened this issue Aug 30, 2016 · 4 comments
Labels
Milestone

Comments

@jludvice
Copy link
Member

Fix version conflicts in jaxb-* between camel and java-isds.

java.lang.NoSuchFieldError: REFLECTION
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:729)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:574)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:402)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258)
    at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:683)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:340)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:323)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:361)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:365)
    at javax.xml.ws.Service.getPort(Service.java:188)
    at cz.abclinuxu.datoveschranky.impl.Authentication.createService(Authentication.java:31)
    at cz.abclinuxu.datoveschranky.impl.DataBoxManager.getDataBoxMessagesService(DataBoxManager.java:58)
    at com.github.czgov.isds.ISDSConsumer.poll(ISDSConsumer.java:54)
    at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:175)
    at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:102)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

jaxws-rt-conflict

@jludvice jludvice added the bug label Aug 30, 2016
@jludvice
Copy link
Member Author

jludvice commented Aug 30, 2016

Possible workaround - forcing matching versions in camel-isds,
or bump jaxws-rt version in java-isds (https://github.com/czgov/JAVA_ISDS/).

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.sun.xml.bind</groupId>
        <artifactId>jaxb-core</artifactId>
        <version>2.2.11</version>
      </dependency>
      <dependency>
        <groupId>javax.xml.bind</groupId>
        <artifactId>jaxb-api</artifactId>
        <version>2.2.11</version>
      </dependency>
      <dependency>
        <groupId>com.sun.xml.bind</groupId>
        <artifactId>jaxb-impl</artifactId>
        <version>2.2.11</version>
      </dependency>
      <dependency>
        <groupId>com.sun.xml.ws</groupId>
        <artifactId>jaxws-rt</artifactId>
        <version>2.2.10</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

@jludvice
Copy link
Member Author

Jaxws-rt 2.1.4 is pretty old version

com.sun.xml.ws  jaxws-rt    2.1.4   04-Oct-2008 pom  jar  sources.jar  

@jludvice
Copy link
Member Author

jludvice commented Sep 7, 2016

Resolved in upstream project java-isds (czgov/java-isds#2).
Closing issue.

@jludvice jludvice closed this as completed Sep 7, 2016
@jludvice jludvice modified the milestone: 0.1.0 May 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant