← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #171922]: QTP (HP Quick Test Pro): Issue while integrating eclipse --- solution

 

Question #171922 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/171922

Summary changed to:
QTP (HP Quick Test Pro): Issue while integrating eclipse --- solution

Description changed to:
*** solution: see comment # 7

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

Hi,

I have eclipse helios in windows and trying to integrate with Sikuli.
I set the CLASSPATH & PATH to the "libs" folder of sikuli in evironment variables and imported the sikuli-script.jar in eclipse.
When i run the script i get the following error. Please help?

Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class sun.awt.windows.WToolkit
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class java.awt.Toolkit
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class java.awt.Component
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class sun.awt.AppContext
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class java.awt.AWTEvent
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Loading HP QuickTest Professional Java Support (version 10.0.2300.0) (SUN 1.6.0_13)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class java.awt.KeyboardFocusManager
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class java.awt.AWTEventMulticaster
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class javax.swing.JComponent
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class javax.swing.event.EventListenerList
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class java.awt.MenuItem
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class java.awt.MenuComponent
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Letting agent QTJA do the transformation
Letting agent QTOR do the transformation
java.util.NoSuchElementException: No mapping for class java.awt.Event
	at com.mercury.bcel.TransformerXmlFile$MappingLocator.setMapping(TransformerXmlFile.java:96)
	at com.mercury.bcel.TransformerFactory.createTransformer(TransformerFactory.java:56)
	at com.mercury.bcel.TransformerMainImpl.transform(TransformerMainImpl.java:33)
	at com.mercury.bcel.TransformerMain.transform(TransformerMain.java:35)
	at com.mercury.javashared.transform.TransformersChain.transform(TransformersChain.java:32)
	at com.mercury.javashared.transform.CommunicationThread.processTransformRequest(CommunicationThread.java:61)
	at com.mercury.javashared.transform.CommunicationThread.run(CommunicationThread.java:38)
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\a8dg21\Local Settings\Temp\tmplib\Win32Util.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.load0(Unknown Source)
	at java.lang.System.load(Unknown Source)
	at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
	at org.sikuli.script.Win32Util.<clinit>(Win32Util.java:14)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.sikuli.script.Env.getOSUtil(Env.java:84)
	at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:175)
	at org.sikuli.script.ScreenHighlighter.<init>(ScreenHighlighter.java:288)
	at org.sikuli.script.Screen.initBounds(Screen.java:96)
	at org.sikuli.script.Screen.<init>(Screen.java:108)
	at TestSikuli.main(TestSikuli.java:10)
DEBUG - Releasing all waiters. There are 0 waiters active.
0 [JVM Exit listener] DEBUG java_agent.replay_events  - Releasing all waiters. There are 0 waiters active.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.