Skip to main content
brian_thomas2
Adobe Employee
Adobe Employee
July 13, 2010
Question

Runtime Error using Parameterized in OrderArgumentPlusInheritanceSorter

  • July 13, 2010
  • 1 reply
  • 1233 views

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 has been closed for replies.

1 reply

Participating Frequently
July 13, 2010

got it. will review tonight and thanks.

mike

brian_thomas2
Adobe Employee
Adobe Employee
July 15, 2010

Do you want me to write this up in JIRA?

Participating Frequently
July 15, 2010

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

Mike