Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: when run Java Vuser scripts in LR meet error 'Cannot Reply due to compilation errors '

$
0
0

hi KMadan,

 

Thanks for your reply.

you are right! the configuration is incorrect. Now I have a new question about Java vuser protocol, the class I include in LR scripts cannot run smoothly, errors like below:

 

Error: Cannot locate javac.exe under the specified C:\Java\jdk1.6.0_43\bin JDK HOME directory.
Notify: Found jdk version: 1.6.0.
Warning: Warning: Classpath entry not found: c:\program files\java\jdk1.7.0_45\lib\dt.jar;c:\program files\java\jdk1.7.0_45\lib\tools.jar;c:\program files\java\jre7\lib;

Notify: classpath=C:\Users\jli56\Documents\VuGen\Scripts\JavaVuser1\;c:\hp\loadrunner\classes\srv;c:\hp\loadrunner\classes;C:\Program Files\Java\jdk1.7.0_45\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_45\lib\tools.jar;C:\HP\LoadRunner\classes\Demo123\Demo123.jar;C:\Users\jli56\JavaEclipse\eCC\lib\aspectj-1.8.1.jar;C:\Users\jli56\JavaEclipse\eCC\lib\aspectjweaver-1.6.2.jar;C:\Users\jli56\JavaEclipse\eCC\lib\commons-dbcp-1.4.jar;C:\Users\jli56\JavaEclipse\eCC\lib\commons-dbutils-1.2.jar;C:\Users\jli56\JavaEclipse\eCC\lib\commons-lang-2.4.jar;C:\Users\jli56\JavaEclipse\eCC\lib\commons-lang3-3.3.2.jar;C:\Users\jli56\JavaEclipse\eCC\lib\commons-pool-1.6.jar;C:\Users\jli56\JavaEclipse\eCC\lib\commons-pool2-2.2.jar;C:\Users\jli56\JavaEclipse\eCC\lib\groovy-sql-2.0.0-rc-3.jar;C:\Users\jli56\JavaEclipse\eCC\lib\guava-17.0.jar;C:\Users\jli56\JavaEclipse\eCC\lib\log4j-1.2.16.jar;C:\Users\jli56\JavaEclipse\eCC\lib\ojdbc6.jar;C:\Users\jli56\JavaEclipse\eCC\lib\org.fastcode_2.1.0.jar;C:\Users\jli56\JavaEclipse\eCC\lib\quartz-1.8.6.jar;C:\Users\jli56\JavaEclipse\eCC\lib\reflections-0.9.8.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\cglib-nodep-2.2.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\dom4j-1.6.1.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\jdom-1.1.3.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\jdom2-2.0.5.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\jettison-1.2.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\joda-time-1.6.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\json-20080701.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\kxml2-2.3.0.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\kxml2-min-2.3.0.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\stax-1.2.0.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\stax-api-1.0.1.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\wstx-asl-3.2.7.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\xmlpull-1.1.3.1.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\xom-1.1.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\xpp3_min-1.1.4c.jar;C:\Users\jli56\JavaEclipse\eCC\lib\xstream\xstream-1.4.7.jar;;.;C:\Program Files\Java\jdk1.7.0_45\lib;C:\Program Files\Java\jre7\lib;C:\HP\LoadRunner\classes;C:\HP\LoadRunner\lib;;;c:\hp\loadrunner\lib\xstream-1.3.jar;c:\hp\loadrunner\lib\xpp3-1.1.4c.jar
Notify: Path=C:\Java\jdk1.6.0_43_32bit\jre\bin\client;C:\HP\LoadRunner\Bin\tulip\bin;C:\Java\jdk1.6.0_43_32bit\bin;C:\Java\jdk1.6.0_43\bin;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Java\jdk1.8.0_25\bin;C:\Java\jdk1.5.0\bin;C:\HP\LoadRunner\bin;C:\Java\jdk1.6.0_43\bin\bin;C:\app\jli56\product\11.2.0\client_1\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ActivIdentity\ActivClient\;C:\Program Files (x86)\ActivIdentity\ActivClient\;C:\Program Files\TortoiseSVN\bin;C:\HP\LoadRunner\strawberry-perl\perl\bin;C:\Java\jdk1.6.0_43\bin;C:\Java\jre6\bin
Notify: VM Params: .
Virtual User Script started at : 2014/12/2 17:01:38
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 4  	[MsgId: MMSG-26000]
Starting action Actions.
System.err: log4j:WARN No appenders could be found for logger (com.hp.ecc.poc.relationframework.RqlInitializer).                                                                                                                                                      Error
System.err: log4j:WARN Please initialize the log4j system properly.                                                                                                                                                      Error
System.err: log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.                                                                                                                                                      Error
Error: System.out: Exception: cvc-complex-type.2.4.a: Invalid content was found starting with element 'alias'. One of '{select, from, where, extended-where, exists, update}' is expected.                                                                                                                                                      Notify:
Error: System.err: java.util.concurrent.ExecutionException: java.lang.NullPointerException                                                                                                                                                      Error
System.err: 	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)                                                                                                                                                      Error
System.err: 	at java.util.concurrent.FutureTask.get(FutureTask.java:83)                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.framework.DataLoaderHelperService.populateRequestData(DataLoaderHelperService.java:89)                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.framework.DataLoaderService.loadData(DataLoaderService.java:21)                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.executor.WorkflowExecutor.main(WorkflowExecutor.java:37)                                                                                                                                                      Error
System.err: 	at Actions.action(Actions.java:46)                                                                                                                                                      Error
Error: System.err: Caused by: java.lang.NullPointerException                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.framework.PopulateDataParallel.populateData(PopulateDataParallel.java:50)                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.framework.PopulateDataParallel.call(PopulateDataParallel.java:30)                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.framework.PopulateDataParallel.call(PopulateDataParallel.java:1)                                                                                                                                                      Error
System.err: 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)                                                                                                                                                      Error
System.err: 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)                                                                                                                                                      Error
System.err: 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)                                                                                                                                                      Error
System.err: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)                                                                                                                                                      Error
System.err: 	at java.lang.Thread.run(Thread.java:662)                                                                                                                                                      Error
Error: System.err: java.lang.NullPointerException                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.framework.DataLoaderHelperService.populateRequestData(DataLoaderHelperService.java:102)                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.framework.DataLoaderService.loadData(DataLoaderService.java:21)                                                                                                                                                      Error
System.err: 	at com.hp.ecc.poc.service.executor.WorkflowExecutor.main(WorkflowExecutor.java:37)                                                                                                                                                      Error
System.err: 	at Actions.action(Actions.java:46)                                                                                                                                                      Error
Error: java.lang.NullPointerException
Error: 	at com.hp.ecc.poc.service.framework.DataLoaderHelperService.populateRequestData(DataLoaderHelperService.java:102)
	at com.hp.ecc.poc.service.framework.DataLoaderService.loadData(DataLoaderService.java:21)
	at com.hp.ecc.poc.service.executor.WorkflowExecutor.main(WorkflowExecutor.java:37)
	at Actions.action(Actions.java:46)

Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.

 

 

could you give me some suggestions?

 

thanks.


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>