AnsweredAssumed Answered

Getting ClassNotFoundException while running the suite

Question asked by SinghAmit_23 on Dec 29, 2015
Latest reply on Dec 30, 2015 by SinghAmit_23

Hi All,

After placed custom jar file in hotDeploy folder I have created one test case which internally using classes of that jar file. While running through ITR utility

I am able to execute test case but when executing that test case in suite getting below error.

I restarted the registry and workstation too but not able to find the actual cause. Please help me to resolve this issue.

 

Custom Step: DynExecNode Exception on com.custom.UserAuth of

============================================================================

| Exception:

============================================================================

| Message: Error building Call object com.custom.UserAuth

----------------------------------------------------------------------------

| Trapped Exception: com.custom.UserAuth

| Trapped Message: java.lang.ClassNotFoundException: com.custom.UserAuth

----------------------------------------------------------------------------

STACK TRACE

java.lang.ClassNotFoundException: com.custom.UserAuth

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at com.itko.lisa.dynexec.Ctor.readCtor(Ctor.java:598)

at com.itko.lisa.dynexec.ComplexObj.readSubAttributes(ComplexObj.java:588)

at com.itko.lisa.dynexec.DynObject.readDynObject(DynObject.java:1026)

at com.itko.lisa.dynexec.DynObject.readDynObject(DynObject.java:991)

at com.itko.lisa.dynexec.DynObject.readDynObject(DynObject.java:984)

at com.itko.lisa.dynexec.DynExecNode.getObjectStream(DynExecNode.java:173)

at com.itko.lisa.dynexec.DynExecNode.execute(DynExecNode.java:207)

at com.itko.lisa.test.TestNode.executeNode(TestNode.java:973)

at com.itko.lisa.test.TestCase.execute(TestCase.java:1230)

at com.itko.lisa.test.TestCase.execute(TestCase.java:1145)

at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1130)

at com.itko.lisa.utils.ExecSubProcessNode.doFullExec(ExecSubProcessNode.java:353)

at com.itko.lisa.utils.ExecSubProcessNode.execute(ExecSubProcessNode.java:267)

at com.itko.lisa.test.TestNode.executeNode(TestNode.java:973)

at com.itko.lisa.test.TestCase.execute(TestCase.java:1230)

at com.itko.lisa.test.TestCase.execute(TestCase.java:1145)

at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1130)

at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1074)

at com.itko.lisa.coordinator.Instance.run(Instance.java:204)

============================================================================

 

Thanks,

Amit

Outcomes