Thank you Martin! We did more experiment. It seems the JDK 8.0.4.6
and
newer has this issue. We will follow up with IBM JDK team to find out why.
It seems someone reported the same issue on
wildfly(https://issues.jboss.org/browse/SWARM-772) Thanks
Emily
================
Emily Jiang
WebSphere Application Server, MicroProfile Development Lead
Phone: 44-1962-816278
E-mail: emijiang(a)uk.ibm.com <mailto:emijiang@uk.ibm.com>
Twitter: @emilyfhjiang
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
----- Original message -----
From: Martin Kouba <mkouba(a)redhat.com>
Sent by: weld-dev-bounces(a)lists.jboss.org
To: Emily Jiang <EMIJIANG(a)uk.ibm.com>
Cc: weld-dev(a)lists.jboss.org
Subject: Re: [weld-dev] illegal access exception on
org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler
Date: Wed, Nov 1, 2017 7:23 AM
Hi Emily,
the exception message looks odd. Do you have some more info? E.g. do
also you hit the problem with older versions of jdk8?
Martin
Dne 1.11.2017 v 00:32 Emily Jiang napsal(a):
> Hi Martin/Matej,
> We hit the following problem with Jdk 8.
> Caused by: java.lang.BootstrapMethodError:
> java.lang.IllegalAccessException:
> 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler' no
> access to:
'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'
> at
>
org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler.<clinit>(ObserverNotifier.java:480)
> at
>
org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
> at
>
org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
> at
>
org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
> at
>
org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
> at
>
org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
> at
>
org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:54)
> at
>
org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:391)
> at
>
org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:76)
> at
> com.ibm.ws.cdi.impl.CDIContainerImpl$2.run(CDIContainerImpl.java:141)
> at
> com.ibm.ws.cdi.impl.CDIContainerImpl$2.run(CDIContainerImpl.java:138)
> at
>
java.security.AccessController.doPrivileged(AccessController.java:594)
> at
>
com.ibm.ws.cdi.impl.CDIContainerImpl.applicationStarting(CDIContainerImpl.java:138)
> at
>
com.ibm.ws.cdi.liberty.CDIRuntimeImpl.applicationStarting(CDIRuntimeImpl.java:379)
> at
>
com.ibm.ws.container.service.state.internal.ApplicationStateManager.fireStarting(ApplicationStateManager.java:28)
> at
>
com.ibm.ws.container.service.state.internal.StateChangeServiceImpl.fireApplicationStarting(StateChangeServiceImpl.java:50)
> at
>
com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.preDeployApp(DeployedAppInfoBase.java:375)
> ... 8 more
> Caused by: java.lang.IllegalAccessException:
> 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler' no
> access to:
'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'
> at
>
java.lang.invoke.MethodHandles$Lookup.checkClassAccess(MethodHandles.java:371)
> at
>
java.lang.invoke.MethodHandles$Lookup.checkAccess(MethodHandles.java:281)
> at
>
java.lang.invoke.MethodHandles$Lookup.checkAccess(MethodHandles.java:264)
> at
>
java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:468)
> at
>
java.lang.invoke.MethodHandle.sendResolveMethodHandle(MethodHandle.java:966)
> at java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native
Method)
> at
>
java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:856)
> ... 25 more
> java version "1.8.0_144"
> Java(TM) SE Runtime Environment (build 8.0.5.0 -
> pwi3280sr5-20170905_01(SR5))
> IBM J9 VM (build 2.9, JRE 1.8.0 Windows 7 x86-32 20170901_363591 (JIT
> enabled, A
> OT enabled)
> J9VM - d56eb84
> JIT - tr.open_20170901_140853_d56eb84
> OMR - b033a01)
> JCL - 20170823_01 based on Oracle jdk8u144-b01
> Do you know what is wrong here?
> Thanks
> Emily
> ================
> Emily Jiang
>
> WebSphere Application Server, MicroProfile Development Lead
> Phone: 44-1962-816278
> E-mail: emijiang(a)uk.ibm.com <mailto:emijiang@uk.ibm.com>
> Twitter: @emilyfhjiang
> IBM United Kingdom Limited
> Registered in England and Wales with number 741598
> Registered office: PO Box 41, North Harbour, Portsmouth, Hants.
PO6 3AU
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with
number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth,
Hampshire PO6 3AU
>
>
>
> _______________________________________________
> weld-dev mailing list
> weld-dev(a)lists.jboss.org
>
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.jboss.org_mail...
>
_______________________________________________
weld-dev mailing list
weld-dev(a)lists.jboss.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.jboss.org_mail...
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU