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

2017-11-02 Thread Emily Jiang
Since this issue only occurs on the recent IBM JDK 8, we are currently working with the JDK team to identify the issue.
 
If it is a JDK issue, Swarm 2017.7.0 should still hit this issue with the recent IBM JDK though. Still puzzled. Anyway, will wait and see.
ThanksEmilyEmily JiangWebSphere Application Server, MicroProfile Development Lead
Phone: 44-1962-816278
E-mail: emiji...@uk.ibm.comTwitter: @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 <mko...@redhat.com>Sent by: weld-dev-boun...@lists.jboss.orgTo: Emily Jiang <emiji...@uk.ibm.com>Cc: weld-dev@lists.jboss.orgSubject: Re: [weld-dev] illegal access exception on org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandlerDate: Thu, Nov 2, 2017 11:48 AM 
Well, the issue is closed and the reporter confirms that it works inSwarm 2017.7.0. The only related issue I'm aware of is SWARM-1374 whichwas about fixing Weld versions mismatch, i.e. multiple versions of weldartifacts ended in a Swarm uberjar. AFAIK there were no problems whenusing OpenJDK or OracleJDK.It might be a classloading issue though -org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler could beloaded twice or something like that.So I would start with Liberty class loading and related stuff.Dne 2.11.2017 v 12:20 Emily Jiang napsal(a):> sorry.. I pasted a wrong jira. Here it is.> https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.jboss.org_browse_SWARM-2D1474=DwIGaQ=jf_iaSHvJObTbx-siA1ZOg=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U=80rfgX_f4YEVg1risQV0PUdxlGqlcFj-Gh36eqwhRPA=sN-bJPTKWpsvccv7ivvv50LYPfokS0MQTUgh02g3A5Q=> Thanks> Emily> > Emily Jiang>> WebSphere Application Server, MicroProfile Development Lead> Phone: 44-1962-816278> E-mail: emiji...@uk.ibm.com <mailto:emiji...@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 <mko...@redhat.com>>     Sent by: weld-dev-boun...@lists.jboss.org>     To: Emily Jiang <emiji...@uk.ibm.com>>     Cc: weld-dev@lists.jboss.org>     Subject: Re: [weld-dev] illegal access exception on>     org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler>     Date: Thu, Nov 2, 2017 10:53 AM>     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: emiji...@uk.ibm.com <mailto:emiji...@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 <mko...@redhat.com>>      >     Sent by: weld-dev-boun...@lists.jboss.org>      >     To: Emily Jiang <emiji...@uk.ibm.com>>      >     Cc: weld-dev@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=DwIGaQ=jf_iaSHvJObTbx-siA1ZOg=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U=U6DM4X-mvUo7Nxy1fa9jUPIWXsBof6oGvsFw75PvhxM=q7HQuvdXQ7qfvYUzFtuyMbD_yb8Xf3fcU4KRzGiGkqY=)>      >>      >     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: emiji...@uk.ibm.com <mailto:emiji..

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

2017-11-02 Thread Emily Jiang
sorry.. I pasted a wrong jira. Here it is.
 
https://issues.jboss.org/browse/SWARM-1474
 
 
ThanksEmilyEmily JiangWebSphere Application Server, MicroProfile Development Lead
Phone: 44-1962-816278
E-mail: emiji...@uk.ibm.comTwitter: @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 <mko...@redhat.com>Sent by: weld-dev-boun...@lists.jboss.orgTo: Emily Jiang <emiji...@uk.ibm.com>Cc: weld-dev@lists.jboss.orgSubject: Re: [weld-dev] illegal access exception on org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandlerDate: Thu, Nov 2, 2017 10:53 AM 
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: emiji...@uk.ibm.com <mailto:emiji...@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 <mko...@redhat.com>>     Sent by: weld-dev-boun...@lists.jboss.org>     To: Emily Jiang <emiji...@uk.ibm.com>>     Cc: weld-dev@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=DwIGaQ=jf_iaSHvJObTbx-siA1ZOg=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U=U6DM4X-mvUo7Nxy1fa9jUPIWXsBof6oGvsFw75PvhxM=q7HQuvdXQ7qfvYUzFtuyMbD_yb8Xf3fcU4KRzGiGkqY=)>>     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: emiji...@uk.ibm.com <mailto:emiji...@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 <mko...@redhat.com>>      >     Sent by: weld-dev-boun...@lists.jboss.org>      >     To: Emily Jiang <emiji...@uk.ibm.com>>      >     Cc: weld-dev@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.(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>      >      >>      >    >     

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

2017-11-02 Thread Martin Kouba
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: emiji...@uk.ibm.com <mailto:emiji...@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 <mko...@redhat.com>
> Sent by: weld-dev-boun...@lists.jboss.org
> To: Emily Jiang <emiji...@uk.ibm.com>
> Cc: weld-dev@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=DwIGaQ=jf_iaSHvJObTbx-siA1ZOg=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U=U6DM4X-mvUo7Nxy1fa9jUPIWXsBof6oGvsFw75PvhxM=q7HQuvdXQ7qfvYUzFtuyMbD_yb8Xf3fcU4KRzGiGkqY=)
> 
> 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: emiji...@uk.ibm.com <mailto:emiji...@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 <mko...@redhat.com>
>  >     Sent by: weld-dev-boun...@lists.jboss.org
>  >     To: Emily Jiang <emiji...@uk.ibm.com>
>  >     Cc: weld-dev@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.(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)
>  >      >

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

2017-11-02 Thread Emily Jiang
Just curious. What is the wildfly issue then? It seems reporting the same stack.
ThanksEmilyEmily JiangWebSphere Application Server, MicroProfile Development Lead
Phone: 44-1962-816278
E-mail: emiji...@uk.ibm.comTwitter: @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 <mko...@redhat.com>Sent by: weld-dev-boun...@lists.jboss.orgTo: Emily Jiang <emiji...@uk.ibm.com>Cc: weld-dev@lists.jboss.orgSubject: Re: [weld-dev] illegal access exception on org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandlerDate: 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=DwIGaQ=jf_iaSHvJObTbx-siA1ZOg=jt2y5_gH2oPaja8Vt6NzAZV-iEo6D2jiWeuVYs0H-1U=U6DM4X-mvUo7Nxy1fa9jUPIWXsBof6oGvsFw75PvhxM=q7HQuvdXQ7qfvYUzFtuyMbD_yb8Xf3fcU4KRzGiGkqY=)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: emiji...@uk.ibm.com <mailto:emiji...@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 <mko...@redhat.com>>     Sent by: weld-dev-boun...@lists.jboss.org>     To: Emily Jiang <emiji...@uk.ibm.com>>     Cc: weld-dev@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.(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> 

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

2017-11-01 Thread Martin Kouba
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://issues.jboss.org/browse/SWARM-772)

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: emiji...@uk.ibm.com <mailto:emiji...@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 <mko...@redhat.com>
> Sent by: weld-dev-boun...@lists.jboss.org
> To: Emily Jiang <emiji...@uk.ibm.com>
> Cc: weld-dev@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.(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.invo

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

2017-11-01 Thread Martin Kouba
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.(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: emiji...@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@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
> 
___
weld-dev mailing list
weld-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev

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

2017-10-31 Thread Emily Jiang
 
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.(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 moreCaused 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, AOT enabled)J9VM - d56eb84JIT  - tr.open_20170901_140853_d56eb84OMR  - b033a01)JCL - 20170823_01 based on Oracle jdk8u144-b01
 Do you know what is wrong here?
 
ThanksEmilyEmily JiangWebSphere Application Server, MicroProfile Development Lead
Phone: 44-1962-816278
E-mail: emiji...@uk.ibm.comTwitter: @emilyfhjiang
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AUUnless 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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev