<font size=2 face="sans-serif">Hello <br>
<br>
I found a PROBE-000014 error in my fat test suite which was Caused by:
java.lang.ClassNotFoundException: int cannot be found by com.ibm.ws.org.jboss.weld.2.4.8_1.0.23.201811031441.
Looking at the stack, I think weld is the code deciding to do a class lookup
on int, have you ever seen this before? Any idea what might be triggering
weld do lookup int? I had a quick look at the application code and couldn't
see anything weird involving ints. <br>
<br>
Here is the full stack: <br>
<br>
org.jboss.weld.exceptions.DeploymentException: PROBE-000014: Cannot register
a Probe MBean interface org.jboss.weld.probe.JsonDataProvider for: cdi12helloworldtest</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:38)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:487)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.cdi.impl.CDIContainerImpl.startInitialization(CDIContainerImpl.java:152)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.cdi.liberty.CDIRuntimeImpl.applicationStarting(CDIRuntimeImpl.java:438)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.container.service.state.internal.ApplicationStateManager.fireStarting(ApplicationStateManager.java:28)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.container.service.state.internal.StateChangeServiceImpl.fireApplicationStarting(StateChangeServiceImpl.java:50)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.preDeployApp(DeployedAppInfoBase.java:383)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployApp(DeployedAppInfoBase.java:412)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.app.manager.ear.internal.EARApplicationHandlerImpl.install(EARApplicationHandlerImpl.java:76)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.app.manager.internal.statemachine.StartAction.execute(StartAction.java:140)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.enterState(ApplicationStateMachineImpl.java:1258)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.run(ApplicationStateMachineImpl.java:873)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:232)</font>
<br><font size=2 face="sans-serif"> at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)</font>
<br><font size=2 face="sans-serif"> at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)</font>
<br><font size=2 face="sans-serif"> at
java.lang.Thread.run(Thread.java:748)</font>
<br><font size=2 face="sans-serif">Caused by: org.jboss.weld.exceptions.IllegalStateException:
PROBE-000014: Cannot register a Probe MBean interface org.jboss.weld.probe.JsonDataProvider
for: cdi12helloworldtest</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.probe.ProbeExtension.afterDeploymentValidation(ProbeExtension.java:176)</font>
<br><font size=2 face="sans-serif"> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</font>
<br><font size=2 face="sans-serif"> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)</font>
<br><font size=2 face="sans-serif"> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</font>
<br><font size=2 face="sans-serif"> at
java.lang.reflect.Method.invoke(Method.java:498)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.injection.MethodInvocationStrategy$SpecialTheParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:299)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:277)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:255)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:269)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:258)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)</font>
<br><font size=2 face="sans-serif"> ...
17 more</font>
<br><font size=2 face="sans-serif">Caused by: javax.management.NotCompliantMBeanException:
Bad getMBeanInfo()</font>
<br><font size=2 face="sans-serif"> at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(DefaultMBeanServerInterceptor.java:336)</font>
<br><font size=2 face="sans-serif"> at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:319)</font>
<br><font size=2 face="sans-serif"> at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.kernel.boot.jmx.service.MBeanServerForwarderDelegate.registerMBean(MBeanServerForwarderDelegate.java:221)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.jmx.internal.DelayedMBeanActivator.registerMBean(DelayedMBeanActivator.java:663)</font>
<br><font size=2 face="sans-serif"> at
com.ibm.ws.kernel.boot.jmx.internal.PlatformMBeanServer.registerMBean(PlatformMBeanServer.java:435)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.probe.ProbeExtension.afterDeploymentValidation(ProbeExtension.java:174)</font>
<br><font size=2 face="sans-serif"> ...
33 more</font>
<br><font size=2 face="sans-serif">Caused by: org.jboss.weld.resources.spi.ResourceLoadingException:
Error loading class int</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.resources.AbstractClassLoaderResourceLoader.classForName(AbstractClassLoaderResourceLoader.java:42)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.probe.ProbeDynamicMBean.classForName(ProbeDynamicMBean.java:139)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.probe.ProbeDynamicMBean.toParamTypes(ProbeDynamicMBean.java:131)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.probe.ProbeDynamicMBean.findMethod(ProbeDynamicMBean.java:122)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.probe.ProbeDynamicMBean.getParameterName(ProbeDynamicMBean.java:94)</font>
<br><font size=2 face="sans-serif"> at
javax.management.StandardMBean.getOperations(StandardMBean.java:1001)</font>
<br><font size=2 face="sans-serif"> at
javax.management.StandardMBean.getMBeanInfo(StandardMBean.java:459)</font>
<br><font size=2 face="sans-serif"> at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(DefaultMBeanServerInterceptor.java:333)</font>
<br><font size=2 face="sans-serif"> ...
39 more</font>
<br><font size=2 face="sans-serif">Caused by: java.lang.ClassNotFoundException:
int cannot be found by com.ibm.ws.org.jboss.weld.2.4.8_1.0.23.201811031441</font>
<br><font size=2 face="sans-serif"> at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)</font>
<br><font size=2 face="sans-serif"> at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)</font>
<br><font size=2 face="sans-serif"> at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)</font>
<br><font size=2 face="sans-serif"> at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)</font>
<br><font size=2 face="sans-serif"> at
java.lang.ClassLoader.loadClass(ClassLoader.java:357)</font>
<br><font size=2 face="sans-serif"> at
org.jboss.weld.resources.AbstractClassLoaderResourceLoader.classForName(AbstractClassLoaderResourceLoader.java:40)</font>
<br><font size=2 face="sans-serif"> ...
46 more<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>