0 Replies Latest reply on Aug 13, 2018 9:20 AM by SVF

    Upgrade 10.3.6 to 12.2.1.3: All integration tests failed

    SVF

      Hi,

       

      During upgrade from 10.3.6 to 12.2.1.3 all the integration tests failed with the same reason:

       

      java.lang.ArrayIndexOutOfBoundsException: 0

       

      at weblogic.rmi.cluster.RichReplicaList.resetAndNormalizeWeights(RichReplicaList.java:129)

      at weblogic.rmi.cluster.WeightBasedReplicaHandler.reinitializeWeightInfo(WeightBasedReplicaHandler.java:132)

      at weblogic.rmi.cluster.WeightBasedReplicaHandler.chooseReplica(WeightBasedReplicaHandler.java:57)

      at weblogic.rmi.cluster.BasicReplicaHandler.loadBalance(BasicReplicaHandler.java:394)

      at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:282)

      at com.-----------_bs57ua_EOImpl_12213_WLStub.------(Unknown Source)

      at com.-----------.EntityCreator.-------(EntityCreator.java:854)

      ...

      [ some calls omitted ...]

      ....

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      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 mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.executeClassMethod(JUnit4TestRunnerDecorator.java:86)

      at mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.invokeExplosively(JUnit4TestRunnerDecorator.java:29)

      at mockit.integration.junit4.internal.MockFrameworkMethod.invokeExplosively(MockFrameworkMethod.java:37)

      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java)

      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)

      at org.junit.runners.ParentRunner.run(ParentRunner.java:363)

      at org.junit.runner.JUnitCore.run(JUnitCore.java:137)

      ....

       

      The environment has no clustering configurred, only standalone admin server with a set of applications deployed.

      Cluster configuration is totally empty in domain.

       

      Why WLS tries to resolve cluster configuration and how to get it running back?

       

      BTW, initial issue was with incorrect container initialization (weblogic.management.provider.ManagementService.getRuntimeAccess: The ManagementService has not been initialized & runtimeAccess is null.), but it was eliminated by using -da switch in IDE or enableAssertions=false in Maven.