java.lang.ClassCastException: nl.app.common.facade.Facade$$EnhancerByMockitoWithCGLIB$$7b6f60ae incompatible w ith [Ljava.lang.Object;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by rbottel
, 1 year ago
nl.app.common.facade.Facade$$EnhancerByMockitoWithCGLIB$$7b6f60ae incompatible w ith [Ljava.lang.Object;
via Stack Overflow by Indrajeet Kumar Sharma
, 6 months ago
java.util.concurrent.ConcurrentHashMap incompatible with sun.misc.SoftCache
via Stack Overflow by qcc
, 1 year ago
org.apache.catalina.connector.RequestFacade incompatible with java.sql.ResultSet
via Stack Overflow by Todd
, 1 year ago
com.xyz.Data incompatible with scala.runtime.Nothing$
via Stack Overflow by Fahad
, 2 years ago
com.ibm.xml.xlxp2.jaxb.JAXBContextImpl incompatible with com.sun.xml.internal.bind.api.JAXBRIContext
via techforumnetwork.com by Unknown author, 2 years ago
com.ibm.xml.xlxp2.jaxb.JAXBContextImpl incompatible with com.sun.xml.internal.bind.api.JAXBRIContext
java.lang.ClassCastException: nl.app.common.facade.Facade$$EnhancerByMockitoWithCGLIB$$7b6f60ae incompatible w ith [Ljava.lang.Object;
at java.lang.ClassCastException.(ClassCastException.java:58)
at org.apache.wicket.MarkupContainer.children_size(MarkupContainer.java:1305)
at org.apache.wicket.MarkupContainer.detachChildren(MarkupContainer.java:1603)
at org.apache.wicket.Component.detach(Component.java:1186)
at org.apache.wicket.core.request.handler.PageProvider.detach(PageProvider.java:327)
at org.apache.wicket.core.request.handler.RenderPageRequestHandler.detach(RenderPageRequestHandler.java:156)
at org.apache.wicket.request.cycle.RequestCycle.onDetach(RequestCycle.java:636)
at org.apache.wicket.request.cycle.RequestCycle.detach(RequestCycle.java:589)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
at org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTester.java:712)
at org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTester.java:651)
at org.apache.wicket.util.tester.BaseWicketTester.startPage(BaseWicketTester.java:876)
at nl.app.Page.testOverzicht(PageTest.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.