Skip to main content
brian_thomas2
Adobe Employee
Adobe Employee
Jul 13, 2010 11:42 PM UTC
Question

Runtime Error using Parameterized in OrderArgumentPlusInheritanceSorter

When running my parametrized tests with 4.1 beta 2 I am getting the following error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

at org.flexunit.runner.manipulation::OrderArgumentPlusInheritanceSorter/getInheritedOrder()

It looks like what happens is Klass.getMethod() is being called using the parameterized test name with the data appended ( ex: 'testName ("param")' )

Seems like a simple fix could be made in OrderArgumentPlusInheritanceSorter.returnOnlyName() to chop off the paramater as well.

Regards,

Brian

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Participating Frequently
Jul 13, 2010 11:54 PM UTC

got it. will review tonight and thanks.

mike

Translate
brian_thomas2
Adobe Employee
Adobe Employee
Jul 15, 2010 10:49 PM UTC

Do you want me to write this up in JIRA?

Translate
Participating Frequently
Jul 15, 2010 10:50 PM UTC

That would be great. If you want to include your temp fix that is good too for any others having the issue.

Mike

Translate