From: Dmitry N. <dim...@ma...> - 2008-02-05 10:05:29
|
Hi All, I use Costello editor to run tests on Linux system. When I attempt drag and drop one tree node on another I get NullPointerException: Error: java.lang.NullPointerException in step 'Drop(MapperComponent Instance,"[JTree, food]")' at /home/dnikulin/abbot-1.0.0.rc5/test.Mappercomponent.xml:14 java.lang.NullPointerException at abbot.tester.JTreeTester.valueToString(JTreeTester.java:135) at abbot.tester.JTreeTester.valueToString(JTreeTester.java:84) at abbot.tester.JTreeLocation.matchesLastComponent(JTreeLocation.java:257) at abbot.tester.JTreeLocation.findMatchingPath(JTreeLocation.java:306) at abbot.tester.JTreeLocation.findMatchingPath(JTreeLocation.java:323) at abbot.tester.JTreeLocation.findMatchingPath(JTreeLocation.java:285) at abbot.tester.JTreeLocation.getPath(JTreeLocation.java:125) at abbot.tester.JTreeLocation.getRow(JTreeLocation.java:143) at abbot.tester.JTreeLocation.getBounds(JTreeLocation.java:165) at abbot.tester.JComponentTester.actionDrop(JComponentTester.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at abbot.script.Call.invoke(Call.java:194) at abbot.script.Call.runStep(Call.java:129) at abbot.script.Step.run(Step.java:92) at abbot.script.StepRunner.runStep(StepRunner.java:277) at abbot.script.Sequence.runStep(Sequence.java:110) at abbot.script.Script.runStep(Script.java:499) at abbot.script.StepRunner.runStep(StepRunner.java:274) at abbot.script.StepRunner.run(StepRunner.java:194) at abbot.editor.ScriptEditor$LaunchAction.run(ScriptEditor.java:2612) at java.lang.Thread.run(Thread.java:595) There are no problems under Windows, though. Could anybody help with this problem? Thanks in advance. Best regards, Dmitry abbot version: 1.0.0.rc5 OS: Fedora Core (x64) Java version: 1.5.0_03 http://www.nabble.com/file/p15286936/test_app.zip test_app.zip -- View this message in context: http://www.nabble.com/NullPointerException-in-JTree-with-drag-drop-ability-tp15286936p15286936.html Sent from the Abbot - User mailing list archive at Nabble.com. |