membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
93 stars 73 forks source link

WADLParserTest fails due to NullPointerException #188

Closed ithena closed 10 years ago

ithena commented 10 years ago

NullPointerException in WADLParserTest here.

java.lang.NullPointerException: Cannot get property 'elementName' on null object
    at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:56)
    at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:169)
    at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:44)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
    at com.predic8.wadl.WADLParserTest.testParser(WADLParserTest.groovy:23)
keshavarzi commented 10 years ago

This sounds a little strange. I have no problems with it. Jenkins runs all the tests and has also no problem. Which Environment/IDE are you using?

ithena commented 10 years ago

The test fails both with mvn clean install as when run as a separate test from within IntelliJ.

keshavarzi commented 10 years ago

Which java version?

ithena commented 10 years ago

JDK 1.7.0_40-b43 on OS X 10.9