[weld-dev] illegal access exception on org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler

Martin Kouba mkouba at redhat.com
Thu Nov 2 06:44:18 EDT 2017


I see no stack trace in SWARM-772 description?

Dne 2.11.2017 v 11:36 Emily Jiang napsal(a):
> Just curious. What is the wildfly issue then? It seems reporting the 
> same stack.
> Thanks
> Emily
> ================
> Emily Jiang
> 
> WebSphere Application Server, MicroProfile Development Lead
> Phone: 44-1962-816278
> E-mail: emijiang at uk.ibm.com <mailto:emijiang at 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 at redhat.com>
>     Sent by: weld-dev-bounces at lists.jboss.org
>     To: Emily Jiang <EMIJIANG at uk.ibm.com>
>     Cc: weld-dev at lists.jboss.org
>     Subject: Re: [weld-dev] illegal access exception on
>     org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler
>     Date: Wed, Nov 1, 2017 6:11 PM
>     Dne 1.11.2017 v 18:41 Emily Jiang napsal(a):
>      > 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://urldefense.proofpoint.com/v2/url?u=https-3A__issues.jboss.org_browse_SWARM-2D772&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U&m=U6DM4X-mvUo7Nxy1fa9jUPIWXsBof6oGvsFw75PvhxM&s=q7HQuvdXQ7qfvYUzFtuyMbD_yb8Xf3fcU4KRzGiGkqY&e=)
> 
>     Hm, this Swarm issue does not seem to be related...
> 
>      > Thanks
>      > Emily
>      > ================
>      > Emily Jiang
>      >
>      > WebSphere Application Server, MicroProfile Development Lead
>      > Phone: 44-1962-816278
>      > E-mail: emijiang at uk.ibm.com <mailto:emijiang at 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 at redhat.com>
>      >     Sent by: weld-dev-bounces at lists.jboss.org
>      >     To: Emily Jiang <EMIJIANG at uk.ibm.com>
>      >     Cc: weld-dev at 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 at uk.ibm.com <mailto:emijiang at 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 at lists.jboss.org
>      >      >
>      >
>     https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.jboss.org_mailman_listinfo_weld-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U&m=azXCCQ5hM1-RIMppgm7pKpkE8p9n5k2WatIM9EQmsI8&s=_zPcL9Tv_qI1a0e5eHjWMevwIVqznZXloEjf1YHD7nA&e=
>      >      >
>      >     _______________________________________________
>      >     weld-dev mailing list
>      >     weld-dev at lists.jboss.org
>      >
>     https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.jboss.org_mailman_listinfo_weld-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U&m=azXCCQ5hM1-RIMppgm7pKpkE8p9n5k2WatIM9EQmsI8&s=_zPcL9Tv_qI1a0e5eHjWMevwIVqznZXloEjf1YHD7nA&e=
>      >
>      > 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 at lists.jboss.org
>     https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.jboss.org_mailman_listinfo_weld-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U&m=U6DM4X-mvUo7Nxy1fa9jUPIWXsBof6oGvsFw75PvhxM&s=dCZX7YjG8PnYlYuPFhUlPeYUlzsUhYjS5AJFFnPsUi8&e=
> 
> 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
> 


More information about the weld-dev mailing list