Vaadin 8 migration issue

Hi Team,

I am migrating vaadin 7 to vaadin 8.4.5, after migrating all components i am seeing following runtime error for vaadin button component.

Caused by: java.lang.IllegalAccessError: tried to access method com.vaadin.server.AbstractClientConnector.fireEvent(Ljava/util/EventObject;)V from class com.vaadin.ui.AbstractFocusable$$dtt
at java.lang.invoke.MethodHandleNatives.resolve(Native Method) ~[na:1.8.0_101]

at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975) ~[na:1.8.0_101]

at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000) ~[na:1.8.0_101]

at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1389) ~[na:1.8.0_101]

at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1745) ~[na:1.8.0_101]

at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:477) ~[na:1.8.0_101]

... 66 common frames omitted

i am waiting for help on this, please someone reply.

Can you help reproduce this error? There is very little information to go on.

I have used Vaadin-server 8.4.5 jar and some other add-ons, for all vaadin buttons used in application i am getting below error, may be what i am thinking is jar conflict, but pom.xml dependency hierarchy does not show any conflicts.

Caused by: java.lang.BootstrapMethodError: java.lang.IllegalAccessError:
at com.vaadin.ui.AbstractFocusable$$dtt.dt_11_minitn_46(Unknown Source) ~[na:8.4.5]

at com.vaadin.ui.AbstractFocusable.<init>(AbstractFocusable.java:40) ~[vaadin-server-8.4.5.jar:8.4.5]

at com.vaadin.ui.Button.<init>(Button.java:73) ~[vaadin-server-8.4.5.jar:8.4.5]

at com.quintiles.analytics.vaadin.newui.headermenu.HeaderLayout.<init>(HeaderLayout.java:206) ~[_wl_cls_gen.jar:na]

at com.quintiles.analytics.vaadin.newui.headermenu.HeaderLayout.<init>(HeaderLayout.java:74) ~[_wl_cls_gen.jar:na]

at com.quintiles.analytics.vaadin.newui.MonPage.makeMonPage(MonPage.java:118) ~[_wl_cls_gen.jar:na]

at com.quintiles.analytics.vaadin.newui.MonPage.<init>(MonPage.java:107) ~[_wl_cls_gen.jar:na]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_101]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_101]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_101]

at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_101]

at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ~[spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]

... 54 common frames omitted

Caused by: java.lang.IllegalAccessError:
… 66 common frames omitted

[INFO]
 --- maven-dependency-plugin:2.8:tree (default-cli) --
[INFO]
 com.quintiles:cm-webapp:war:7.0.000.000-SNAPSHOT
[INFO]
 +- com.sun.jersey:jersey-bundle:jar:1.19.4:compile
[INFO]
 |  \- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO]
 +- org.vaadin.addons:screenshot:jar:0.4.1.3-CM.V8-SNAPSHOT:compile
[INFO]
 |  \- commons-codec:commons-codec:jar:1.6:compile
[INFO]
 +- junit:junit:jar:4.11:test
[INFO]
 |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO]
 +- org.seleniumhq.selenium:selenium-java:jar:3.4.0:test
[INFO]
 |  +- org.seleniumhq.selenium:selenium-api:jar:3.4.0:test
[INFO]
 |  +- org.seleniumhq.selenium:selenium-edge-driver:jar:3.4.0:test
[INFO]
 |  +- org.seleniumhq.selenium:selenium-ie-driver:jar:3.4.0:test
[INFO]
 |  +- org.seleniumhq.selenium:selenium-opera-driver:jar:3.4.0:test
[INFO]
 |  +- org.seleniumhq.selenium:selenium-remote-driver:jar:3.4.0:test
[INFO]
 |  +- org.seleniumhq.selenium:selenium-safari-driver:jar:3.4.0:test
[INFO]
 |  +- cglib:cglib-nodep:jar:3.2.4:test
[INFO]
 |  +- org.apache.commons:commons-exec:jar:1.3:test
[INFO]
 |  +- commons-io:commons-io:jar:2.5:compile
[INFO]
 |  +- commons-logging:commons-logging:jar:1.2:compile
[INFO]
 |  +- org.w3c.css:sac:jar:1.3:compile
[INFO]
 |  +- net.sourceforge.cssparser:cssparser:jar:0.9.22:test
[INFO]
 |  +- com.google.code.gson:gson:jar:2.8.0:compile
[INFO]
 |  +- com.google.guava:guava:jar:21.0:compile
[INFO]
 |  +- net.sourceforge.htmlunit:htmlunit:jar:2.26:test
[INFO]
 |  +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.26:test
[INFO]
 |  +- net.sourceforge.htmlunit:neko-htmlunit:jar:2.25:test
[INFO]
 |  +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile
[INFO]
 |  +- org.apache.httpcomponents:httpcore:jar:4.4.6:compile
[INFO]
 |  +- org.apache.httpcomponents:httpmime:jar:4.5.3:test
[INFO]
 |  +- org.eclipse.jetty:jetty-io:jar:9.4.1.v20170120:test
[INFO]
 |  +- org.eclipse.jetty:jetty-util:jar:9.4.1.v20170120:test
[INFO]
 |  +- net.java.dev.jna:jna:jar:4.1.0:test
[INFO]
 |  +- net.java.dev.jna:jna-platform:jar:4.1.0:test
[INFO]
 |  +- com.codeborne:phantomjsdriver:jar:1.4.0:test
[INFO]
 |  +- org.seleniumhq.selenium:htmlunit-driver:jar:2.26:test
[INFO]
 |  +- org.eclipse.jetty.websocket:websocket-api:jar:9.4.3.v20170317:test
[INFO]
 |  +- org.eclipse.jetty.websocket:websocket-client:jar:9.4.3.v20170317:test
[INFO]
 |  |  \- org.eclipse.jetty:jetty-client:jar:9.4.3.v20170317:test
[INFO]
 |  |     \- org.eclipse.jetty:jetty-http:jar:9.4.3.v20170317:test
[INFO]
 |  +- org.eclipse.jetty.websocket:websocket-common:jar:9.4.3.v20170317:test
[INFO]
 |  +- xalan:serializer:jar:2.7.2:compile
[INFO]
 |  +- xalan:xalan:jar:2.7.2:compile
[INFO]
 |  \- xerces:xercesImpl:jar:2.11.0:test
[INFO]
 +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.53.0:test
[INFO]
 +- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.53.0:test
[INFO]
 +- com.vaadin:vaadin-testbench:jar:5.1.0:test
[INFO]
 |  +- com.vaadin:vaadin-testbench-core:jar:5.1.0:test
[INFO]
 |  |  +- org.seleniumhq.selenium:selenium-server:jar:3.4.0:test
[INFO]
 |  |  |  +- com.beust:jcommander:jar:1.48:test
[INFO]
 |  |  |  +- net.jcip:jcip-annotations:jar:1.0:test
[INFO]
 |  |  |  +- org.seleniumhq.selenium:jetty-repacked:jar:9.4.1.v20170120:test
[INFO]
 |  |  |  \- org.yaml:snakeyaml:jar:1.15:test
[INFO]
 |  |  \- org.easymock:easymock:jar:3.1:test
[INFO]
 |  |     \- org.objenesis:objenesis:jar:1.2:test
[INFO]
 |  \- com.vaadin:vaadin-testbench-api:jar:8.1.5:test
[INFO]
 +- org.hamcrest:hamcrest-all:jar:1.3:test
[INFO]
 +- org.eclipse.jetty:jetty-servlet:jar:8.1.1.v20120215:test
[INFO]
 |  \- org.eclipse.jetty:jetty-security:jar:8.1.1.v20120215:test
[INFO]
 |     \- org.eclipse.jetty:jetty-server:jar:8.1.1.v20120215:test
[INFO]
 |        +- org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016:test
[INFO]
 |        \- org.eclipse.jetty:jetty-continuation:jar:8.1.1.v20120215:test
[INFO]
 +- org.seleniumhq.selenium:selenium-support:jar:3.4.0:test
[INFO]
 +- xml-apis:xml-apis:jar:1.4.01:compile
[INFO]
 +- com.vaadin:vaadin-server:jar:8.4.5:compile
[INFO]
 |  +- com.vaadin:vaadin-sass-compiler:jar:0.9.13:compile
[INFO]
 |  |  \- com.vaadin.external.flute:flute:jar:1.3.0.gg2:compile
[INFO]
 |  +- com.vaadin:vaadin-shared:jar:8.4.5:compile
[INFO]
 |  \- com.vaadin.external:gentyref:jar:1.2.0.vaadin1:compile
[INFO]
 +- com.vaadin:vaadin-client:jar:8.4.5:compile
[INFO]
 |  \- com.google.gwt:gwt-elemental:jar:2.8.2:compile
[INFO]
 |     \- com.google.gwt:gwt-user:jar:2.8.2:compile
[INFO]
 |        +- com.google.jsinterop:jsinterop-annotations:jar:1.0.2:compile
[INFO]
 |        +- com.google.jsinterop:jsinterop-annotations:jar:sources:1.0.2:compile
[INFO]
 |        +- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO]
 |        \- javax.validation:validation-api:jar:sources:1.0.0.GA:compile
[INFO]
 +- com.vaadin:vaadin-client-compiled:jar:8.4.5:compile
[INFO]
 +- com.vaadin:vaadin-themes:jar:8.4.5:compile
[INFO]
 +- com.quintiles:commons-vaadin:jar:4.0.4.V8-SNAPSHOT:compile
[INFO]
 |  +- com.quintiles:vaadin-grid-util-v8:jar:2.1.2.V8-SNAPSHOT:compile
[INFO]
 |  \- com.quintiles:ra-model:jar:4.4.0.012-SNAPSHOT:compile
[INFO]
 +- com.quintiles:easyuploads:jar:9.0.1.V8-SNAPSHOT:compile
[INFO]
 |  \- org.vaadin:viritin:jar:2.8:compile
[INFO]
 |     +- org.commonjava.googlecode.markdown4j:markdown4j:jar:2.2-cj-1.1:compile
[INFO]
 |     \- javax.el:javax.el-api:jar:2.2.4:compile
[INFO]
 +- org.vaadin.alump:ckeditor:jar:0.1.2.V8-SNAPSHOT:compile
[INFO]
 +- org.tepi.listbuilder:listbuilder:jar:1.0.0.v8:compile
[INFO]
 +- com.vaadin.addon:vaadin-onoffswitch:jar:1.1.0:compile
[INFO]
 +- org.vaadin.addons:vaadin-sliderpanel:jar:2.2.1-CM:compile
[INFO]
 +- com.fo0.advancedtokenfield:AdvancedTokenField:jar:0.5.1:compile
[INFO]
 |  \- org.apache.commons:commons-lang3:jar:3.9:compile (version selected from constraint [3.7,))
[INFO]
 +- com.quintiles:q-spring-vaadin-integration:jar:1.0.0.V8-SNAPSHOT:compile
[INFO]
 |  +- ru.xpoft.vaadin:spring-vaadin-integration:jar:3.2.V8-SNAPSHOT:compile
[INFO]
 |  \- org.springframework:spring-context-support:jar:4.3.4.RELEASE:compile
[INFO]
 +- org.springframework:spring-tx:jar:4.3.4.RELEASE:compile
[INFO]
 |  +- org.springframework:spring-beans:jar:4.3.4.RELEASE:compile
[INFO]
 |  \- org.springframework:spring-core:jar:4.3.4.RELEASE:compile
[INFO]
 +- org.springframework:spring-context:jar:4.3.4.RELEASE:compile
[INFO]
 |  +- org.springframework:spring-aop:jar:4.3.4.RELEASE:compile
[INFO]
 |  \- org.springframework:spring-expression:jar:4.3.4.RELEASE:compile
[INFO]
 +- org.springframework:spring-web:jar:4.3.4.RELEASE:compile
[INFO]
 +- org.springframework:spring-webmvc:jar:4.3.4.RELEASE:compile
[INFO]
 +- org.springframework:spring-orm:jar:4.3.4.RELEASE:compile
[INFO]
 |  \- org.springframework:spring-jdbc:jar:4.3.4.RELEASE:compile
[INFO]
 +- com.quintiles:eass-service:jar:4.0.1:compile
[INFO]
 |  +- org.hibernate:hibernate-core:jar:4.3.4.Final:compile
[INFO]
 |  |  +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[INFO]
 |  |  +- org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[INFO]
 |  |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[INFO]
 |  |  +- dom4j:dom4j:jar:1.6.1:compile
[INFO]
 |  |  +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile
[INFO]
 |  |  +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO]
 |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO]
 |  |  \- org.jboss:jandex:jar:1.1.0.Final:compile
[INFO]
 |  \- com.quintiles:eass-model:jar:4.0.0:compile
[INFO]
 +- com.quintiles:cm-service:jar:2.0.32-SNAPSHOT:compile
[INFO]
 |  +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO]
 |  +- com.oracle:ojdbc6:jar:11.2.0.3:compile
[INFO]
 |  +- org.slf4j:jul-to-slf4j:jar:1.7.5:compile
[INFO]
 |  +- org.slf4j:log4j-over-slf4j:jar:1.7.5:compile
[INFO]
 |  +- org.slf4j:jcl-over-slf4j:jar:1.7.5:compile
[INFO]
 |  +- cglib:cglib:jar:2.2:compile
[INFO]
 |  +- com.quintiles:cm-model:jar:2.0.17-SNAPSHOT:compile
[INFO]
 |  +- javax.mail:mail:jar:1.4.7:compile
[INFO]
 |  |  \- javax.activation:activation:jar:1.1:compile
[INFO]
 |  \- net.sf.json-lib:json-lib:jar:jdk15:2.4:compile
[INFO]
 |     \- net.sf.ezmorph:ezmorph:jar:1.0.6:compile
[INFO]
 +- com.quintiles:ra-service:jar:4.4.0.012-SNAPSHOT:compile
[INFO]
 +- com.quintiles:active-directory-service:jar:1.3.1:compile
[INFO]
 |  \- org.springframework.ldap:spring-ldap-core:jar:1.3.1.RELEASE:compile
[INFO]
 +- com.quintiles:spotfire-service:jar:2.0.1:compile
[INFO]
 |  \- com.quintiles:spotfire-model:jar:2.0.0:compile
[INFO]
 +- com.quintiles:tmdh-service-cm:jar:1.1.7-SNAPSHOT:compile
[INFO]
 |  \- com.quintiles:tmdh-model-cm:jar:1.1.5-SNAPSHOT:compile
[INFO]
 +- commons-configuration:commons-configuration:jar:1.9:compile
[INFO]
 |  \- commons-lang:commons-lang:jar:2.6:compile
[INFO]
 +- com.quintiles:ping-sso-filter:jar:1.0.6:compile
[INFO]
 +- opentoken:opentoken-java:jar:2.4:compile
[INFO]
 +- org.jsoup:jsoup:jar:1.11.3:compile
[INFO]
 +- com.itextpdf:itextpdf:jar:5.5.13:compile
[INFO]
 +- com.itextpdf.tool:xmlworker:jar:5.5.13:compile
[INFO]
 +- javax.servlet:javax.servlet-api:jar:3.1.0:provided
[INFO]
 +- org.vaadin.addons:hibernate-container:jar:1.1.1.V8-SNAPSHOT:compile
[INFO]
 |  \- commons-beanutils:commons-beanutils:jar:1.8.3:compile
[INFO]
 +- org.slf4j:slf4j-api:jar:1.7.21:compile
[INFO]
 +- com.quintiles:commons-hibernate:jar:2.0.0:compile
[INFO]
 +- com.quintiles:q-confirmdialog:jar:1.0.0.V8-SNAPSHOT:compile
[INFO]
 |  \- org.vaadin.addon:confirmdialog:jar:3.2.0:compile
[INFO]
 +- org.vaadin.addons:googleanalyticstracker:jar:4.0.0.001.V8-SNAPSHOT:compile
[INFO]
 |  \- org.vaadin.addons:commons-gwt:jar:2.0.0.V8-SNAPSHOT:compile
[INFO]
 +- org.vaadin.addons:googlecharts4vaadin:jar:1.1.2-3.5.3.V8-SNAPSHOT:compile
[INFO]
 |  \- com.google.gwt.google-apis:gwt-visualization:jar:1.1.2-1.3.0-SNAPSHOT:compile
[INFO]
 +- com.quintiles:commons-lang:jar:0.0.1:compile
[INFO]
 +- com.quintiles:lorem-ipsum:jar:1.0.2:test
[INFO]
 +- com.quintiles:commons-logback:jar:1.0.0:compile
[INFO]
 |  \- ch.qos.logback:logback-classic:jar:1.1.1:compile
[INFO]
 |     \- ch.qos.logback:logback-core:jar:1.1.1:compile
[INFO]
 +- com.quintiles:spotfire-visualization:jar:2.2.0.3.V8-SNAPSHOT:compile
[INFO]
 +- org.vaadin.addons:simple-accordion:jar:1.0.1.V8-SNAPSHOT:compile
[INFO]
 +- com.quintiles:commons-configuration:jar:1.1.0:compile
[INFO]
 +- org.javassist:javassist:jar:3.18.1-GA:compile
[INFO]
 +- org.apache.poi:poi:jar:3.11:compile
[INFO]
 +- org.apache.poi:poi-ooxml:jar:3.11:compile
[INFO]
 |  \- org.apache.poi:poi-ooxml-schemas:jar:3.11:compile
[INFO]
 |     \- org.apache.xmlbeans:xmlbeans:jar:2.6.0:compile
[INFO]
 |        \- stax:stax-api:jar:1.0.1:compile
[INFO]
 +- org.vaadin.addons.lazyqueryprovider:vaadin-lazyqueryprovider:jar:8.0.0.0.V8-SNAPSHOT:compile
[INFO]
 +- org.vaadin.addons:round-trip:jar:2.0.0.V8-SNAPSHOT:compile
[INFO]
 +- org.vaadin.alump.masonry:masonry-addon:jar:0.2.1-0.0.1.V8-SNAPSHOT:compile
[INFO]
 +- org.apache.commons:commons-csv:jar:1.0:compile
[INFO]
 +- com.quintiles:xss-addon-v8:jar:1.0.0.V8-SNAPSHOT:compile
[INFO]
 +- org.vaadin.addons:sessionguard:jar:1.1.0.V8-SNAPSHOT:compile
[INFO]
 +- com.quintiles:eef-service:jar:3.0.7-SNAPSHOT:compile
[INFO]
 |  +- javax.xml.bind:jaxb-api:jar:2.2.11:compile
[INFO]
 |  +- com.quintiles:eef-model:jar:3.0.3-SNAPSHOT:compile
[INFO]
 |  \- com.quintiles:eef.common.schema:jar:0.0.1-SNAPSHOT:compile
[INFO]
 +- com.quintiles:eef-rule-service:jar:2.1.6.1-SNAPHPOT:compile
[INFO]
 +- com.quintiles:eef-alert-update-service:jar:2.0.2.1-SNAPSHOT:compile
[INFO]
 |  \- com.sun.xml.ws:jaxws-tools:jar:2.1.7:compile
[INFO]
 |     +- com.sun.xml.ws:jaxws-rt:jar:2.1.7:compile
[INFO]
 |     |  +- javax.xml.ws:jaxws-api:jar:2.1:compile
[INFO]
 |     |  +- com.sun.xml.bind:jaxb-impl:jar:2.1.11:compile
[INFO]
 |     |  +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.3:compile
[INFO]
 |     |  |  \- javax.xml.soap:saaj-api:jar:1.3:compile
[INFO]
 |     |  +- com.sun.xml.stream.buffer:streambuffer:jar:0.9:compile
[INFO]
 |     |  +- org.codehaus.woodstox:wstx-asl:jar:3.2.3:compile
[INFO]
 |     |  +- org.jvnet.staxex:stax-ex:jar:1.2:compile
[INFO]
 |     |  |  \- javax.xml.stream:stax-api:jar:1.0:compile
[INFO]
 |     |  +- com.sun.org.apache.xml.internal:resolver:jar:20050927:compile
[INFO]
 |     |  \- org.jvnet:mimepull:jar:1.3:compile
[INFO]
 |     \- com.sun.xml.bind:jaxb-xjc:jar:2.1.11:compile
[INFO]
 +- com.quintiles:eef-alert-service:jar:2.0.5.1-SNAPHOT:compile
[INFO]
 +- com.quintiles:eef-alert-metadata-service:jar:2.0.2.4-SNAPSHOT:compile
[INFO]
 +- com.quintiles:eef-alert-create-service-cm:jar:2.0.2.2-SNAPSHOT:compile
[INFO]
 +- com.quintiles:eef-user-service:jar:1.0.1:compile
[INFO]
 +- com.microsoft:sqljdbc:jar:4.0:compile
[INFO]
 +- com.quintiles:eef-sql-service:jar:1.0.2:compile
[INFO]
 +- com.quintiles:eef-mailer-service:jar:1.0.0:compile
[INFO]
 +- com.quintiles:study-service-cm:jar:2.0.2.2-SNAPSHOT:compile
[INFO]
 +- com.vaadin:vaadin-push:jar:8.4.5:compile
[INFO]
 |  \- com.vaadin.external.atmosphere:atmosphere-runtime:jar:2.4.24.vaadin1:compile
[INFO]
 |     \- com.vaadin.external.slf4j:vaadin-slf4j-jdk14:jar:1.6.1:compile
[INFO]
 +- org.docx4j:xhtmlrenderer:jar:3.0.0:compile
[INFO]
 |  \- com.lowagie:itext:jar:2.1.7:compile
[INFO]
 +- org.docx4j:docx4j:jar:3.3.6:compile
[INFO]
 |  +- org.plutext:jaxb-svg11:jar:1.0.2:compile
[INFO]
 |  +- net.engio:mbassador:jar:1.2.4.2:compile
[INFO]
 |  +- com.fasterxml.jackson.core:jackson-core:jar:2.7.3:compile
[INFO]
 |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.7.3:compile
[INFO]
 |  |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.7.0:compile
[INFO]
 |  +- org.apache.xmlgraphics:xmlgraphics-commons:jar:2.1:compile
[INFO]
 |  +- org.apache.avalon.framework:avalon-framework-api:jar:4.3.1:compile
[INFO]
 |  +- org.apache.avalon.framework:avalon-framework-impl:jar:4.3.1:compile
[INFO]
 |  +- net.arnx:wmf2svg:jar:0.9.8:compile
[INFO]
 |  +- org.antlr:antlr-runtime:jar:3.5.2:compile
[INFO]
 |  +- org.antlr:stringtemplate:jar:3.2.1:compile
[INFO]
 |  \- com.thedeanda:lorem:jar:2.0:compile
[INFO]
 +- org.docx4j:docx4j-ImportXHTML:jar:3.3.6-1:compile
[INFO]
 +- com.jcraft:jsch:jar:0.1.54:compile
[INFO]
 \- org.vaadin.alump:searchdropdown:jar:0.3.0:compile

Based on that stack trace: check what you’re doing on HeaderLayout.java:206.

Also, this is not really related, but is there a reason you’re using 8.4.5? The latest Vaadin 8 release is 8.8.6.

attached the dependency tree.

HeaderLayout.java:206 we are just creating Button object Button logout = new Button();

That’s pretty weird. Which JDK are you using?

JDK 1.8

Can you create a new dummy project based on the vaadin-archetype-application Maven archetype and see what happens there: https://vaadin.com/docs/v8/framework/getting-started/getting-started-archetypes.html ?

same code is working in one weblogic server, but not working in other environment weblogic server, any issue for vaadin 8 with weblogic?

Some, but mostly quite old: https://github.com/vaadin/framework/issues?utf8=✓&q=is%3Aissue+is%3Aopen+weblogic . What’s the difference between these two environments?

we created a sample hello world program with button and text field, and when we it thrown same error mentioned above, but when we removed button , deployed code with only text field its working. and there is no difference between the weblogic environemnts.

there is no difference between the weblogic environemnts.

Yes, but you wrote:

same code is working in one weblogic server, but not working in other environment weblogic server,

If it’s the same code and there is no difference between the environments, then it doesn’t make any sense at all that one of them works and the other doesn’t.

actually we have 3 environments and all are weblogic servers. and all server versions and all configurations are same. when i deployed the code to all 3 servers, two of them it is working and in one of the server its not working.

But if we remove button component from code and deployed , it is working in all 3 environments.

That doesn’t really change anything, though. Same code, works in two environments, doesn’t work in one. Somewhere there must be a difference.

Only issue with Button code and it is giving following error

com.vaadin.server.ServiceException: java.lang.BootstrapMethodError: java.lang.IllegalAccessError: tried to access method com.vaadin.server.AbstractClientConnector.fireEvent(Ljava/util/EventObject;)V from class com.vaadin.ui.AbstractFocusable$$dtt
at com.vaadin.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1654)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1614)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:445)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
Truncated. see log file for complete stacktrace
Caused By: java.lang.BootstrapMethodError: java.lang.IllegalAccessError: tried to access method com.vaadin.server.AbstractClientConnector.fireEvent(Ljava/util/EventObject;)V from class com.vaadin.ui.AbstractFocusable$$dtt
at com.vaadin.ui.AbstractFocusable$$dtt.dt_11_minitn_46(Unknown Source)
at com.vaadin.ui.AbstractFocusable.(AbstractFocusable.java:40)
at com.vaadin.ui.Button.(Button.java:73)
at com.vaadin.ui.Button.(Button.java:84)
at com.example.Vaadin8.MyUI.init(MyUI.java:34)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalAccessError: tried to access method com.vaadin.server.AbstractClientConnector.fireEvent(Ljava/util/EventObject;)V from class com.vaadin.ui.AbstractFocusable$$dtt
at java.lang.invoke.MethodHandleNatives.resolve(Native Method)
at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:975)
at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000)
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1389)
at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1745)
Truncated. see log file for complete stacktrace

My guess is that you have a different version of e.g. vaadin-server on the server than what you’ve compiled the code against. See https://stackoverflow.com/questions/7076414/java-lang-illegalaccesserror-tried-to-access-method

anything specific to weblogic issue, i am using weblogic 12c