snowride icon indicating copy to clipboard operation
snowride copied to clipboard

[SnowRide 3.1] - Null Pointer Exception when pressing the Run button

Open vitorego opened this issue 3 years ago • 8 comments

Hi, I just upgrade the Snowride from 2.8 to 3.1 and when a press the Run button I´ve got this null pointer exception:

image

Any ideia what is wrong?

vitorego avatar May 27 '22 16:05 vitorego

Hi,

can you please start Snowride from command line, and send me the full stack trace?

java -jar snowride-3.1-jar-with-dependencies.jar

Thanks

vehovsky avatar May 29 '22 09:05 vehovsky

Log in attach: snow_Ride_Log.txt

vitorego avatar May 30 '22 09:05 vitorego

Unfortunately so far I wasn't able to reproduce the issue.

Looks like for some reason "treeNode" on some Suite is null. Something fishy may be visible in Project tree. Can you send me how the Project tree looks for you?

image

You can also "Disable output.xml parsing" in settings. That will effectively disable the "Error reporting" feature, introduced in SnowRide 3.0

image

vehovsky avatar May 30 '22 12:05 vehovsky

Hi, I have some scripts in the middle of the test cases that have this errors: image image

Could be this the reason for that null pointer?

vitorego avatar Jun 01 '22 09:06 vitorego

Removing the scripts did not solve the problem.

vitorego avatar Jun 01 '22 11:06 vitorego

btw, the tree: image

vitorego avatar Jun 01 '22 11:06 vitorego

New exception after clean the errors about the scripts snowRIDE_exception.txt

vitorego avatar Jun 01 '22 11:06 vitorego

I already found the root cause of this issue, it was a duplicated suite between two files:

  • Ethernet_Services.robot
  • Ethernet Services.robot

after remove one of them the null pointer disappeared.

Thanks for your support.

vitorego avatar Jun 01 '22 11:06 vitorego