<font size=2 face="sans-serif">Hello Martin. <br>
<br>
I'll see if I can recreate the failure outside of our automated test environment.
<br>
<br>
Regards<br>
Benjamin</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Martin Kouba &lt;mkouba@redhat.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Benjamin Confino &lt;BENJAMIC@uk.ibm.com&gt;,
weld-dev@lists.jboss.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">20/11/2018 09:25</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [weld-dev]
PROBE-000014 - Caused by ClassNotFoundException: int</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Hi Benjamin,<br>
<br>
I've never seen this before. Could you try to debug the <br>
org.jboss.weld.probe.ProbeDynamicMBean#classForName(String) method and
<br>
dump the parameter and the content of PRIMITIVES_MAP?<br>
<br>
Martin<br>
<br>
Dne 20. 11. 18 v 9:42 Benjamin Confino napsal(a):<br>
&gt; Hello<br>
&gt; <br>
&gt; I found a PROBE-000014 error in my fat test suite which was Caused
by: <br>
&gt; java.lang.ClassNotFoundException: int cannot be found by <br>
&gt; com.ibm.ws.org.jboss.weld.2.4.8_1.0.23.201811031441. Looking at the
<br>
&gt; stack, I think weld is the code deciding to do a class lookup on int,
<br>
&gt; have you ever seen this before? Any idea what might be triggering
weld <br>
&gt; do lookup int? I had a quick look at the application code and couldn't
<br>
&gt; see anything weird involving ints.<br>
&gt; <br>
&gt; Here is the full stack:<br>
&gt; <br>
&gt; org.jboss.weld.exceptions.DeploymentException: PROBE-000014: Cannot
<br>
&gt; register a Probe MBean interface org.jboss.weld.probe.JsonDataProvider
<br>
&gt; for: cdi12helloworldtest<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:38)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:487)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.cdi.impl.CDIContainerImpl.startInitialization(CDIContainerImpl.java:152)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.cdi.liberty.CDIRuntimeImpl.applicationStarting(CDIRuntimeImpl.java:438)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.container.service.state.internal.ApplicationStateManager.fireStarting(ApplicationStateManager.java:28)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.container.service.state.internal.StateChangeServiceImpl.fireApplicationStarting(StateChangeServiceImpl.java:50)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.preDeployApp(DeployedAppInfoBase.java:383)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployApp(DeployedAppInfoBase.java:412)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.app.manager.ear.internal.EARApplicationHandlerImpl.install(EARApplicationHandlerImpl.java:76)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.app.manager.internal.statemachine.StartAction.execute(StartAction.java:140)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.enterState(ApplicationStateMachineImpl.java:1258)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.run(ApplicationStateMachineImpl.java:873)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:232)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.Thread.run(Thread.java:748)<br>
&gt; Caused by: org.jboss.weld.exceptions.IllegalStateException: <br>
&gt; PROBE-000014: Cannot register a Probe MBean interface <br>
&gt; org.jboss.weld.probe.JsonDataProvider for: cdi12helloworldtest<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.probe.ProbeExtension.afterDeploymentValidation(ProbeExtension.java:176)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.reflect.Method.invoke(Method.java:498)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.injection.MethodInvocationStrategy$SpecialTheParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:299)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:277)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:255)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:269)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:258)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ... 17 more<br>
&gt; Caused by: javax.management.NotCompliantMBeanException: Bad getMBeanInfo()<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(DefaultMBeanServerInterceptor.java:336)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:319)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.kernel.boot.jmx.service.MBeanServerForwarderDelegate.registerMBean(MBeanServerForwarderDelegate.java:221)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.jmx.internal.DelayedMBeanActivator.registerMBean(DelayedMBeanActivator.java:663)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.ibm.ws.kernel.boot.jmx.internal.PlatformMBeanServer.registerMBean(PlatformMBeanServer.java:435)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.probe.ProbeExtension.afterDeploymentValidation(ProbeExtension.java:174)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ... 33 more<br>
&gt; Caused by: org.jboss.weld.resources.spi.ResourceLoadingException:
Error <br>
&gt; loading class int<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.resources.AbstractClassLoaderResourceLoader.classForName(AbstractClassLoaderResourceLoader.java:42)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.probe.ProbeDynamicMBean.classForName(ProbeDynamicMBean.java:139)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.probe.ProbeDynamicMBean.toParamTypes(ProbeDynamicMBean.java:131)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.probe.ProbeDynamicMBean.findMethod(ProbeDynamicMBean.java:122)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.probe.ProbeDynamicMBean.getParameterName(ProbeDynamicMBean.java:94)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; javax.management.StandardMBean.getOperations(StandardMBean.java:1001)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; javax.management.StandardMBean.getMBeanInfo(StandardMBean.java:459)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(DefaultMBeanServerInterceptor.java:333)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ... 39 more<br>
&gt; Caused by: java.lang.ClassNotFoundException: int cannot be found by
<br>
&gt; com.ibm.ws.org.jboss.weld.2.4.8_1.0.23.201811031441<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.ClassLoader.loadClass(ClassLoader.java:357)<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; at <br>
&gt; org.jboss.weld.resources.AbstractClassLoaderResourceLoader.classForName(AbstractClassLoaderResourceLoader.java:40)
<br>
&gt; <br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ... 46 more<br>
&gt; Unless stated otherwise above:<br>
&gt; IBM United Kingdom Limited - Registered in England and Wales with
number <br>
&gt; 741598.<br>
&gt; Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
PO6 3AU<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; weld-dev mailing list<br>
&gt; weld-dev@lists.jboss.org<br>
&gt; </font></tt><a href="https://lists.jboss.org/mailman/listinfo/weld-dev"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/weld-dev</font></tt></a><tt><font size=2><br>
&gt; <br>
<br>
-- <br>
Martin Kouba<br>
Senior Software Engineer<br>
Red Hat, Czech Republic<br>
<br>
</font></tt>
<br>
<br><font size=2 face="sans-serif"><br>
Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU<br>
</font>