Kasun, This seems like a test ordering problem. On this particular test, we are using a configuration populated elsewhere. I did a minor fix. Please get svn up and see if things work for you.
/sumedha On Fri, Jul 27, 2012 at 12:16 PM, Kasun Indrasiri <[email protected]> wrote: > Got the svn up in the morning. > > Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on > project org.wso2.carbon.apimgt.impl: There are test failures. > [ERROR] > [ERROR] Please refer to > /home/kasun/development/wso2/wso2svn/carbon/platform/branches/4.0.0/components/apimgt/org.wso2.carbon.apimgt.impl/1.0.0/target/surefire-reports > for the individual test results. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > > > > Test set: org.wso2.carbon.apimgt.impl.token.TokenGenTest > > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 sec > <<< FAILURE! > testJWTGeneration(org.wso2.carbon.apimgt.impl.token.TokenGenTest) Time > elapsed: 0.008 sec <<< ERROR! > java.lang.NullPointerException > at > org.wso2.carbon.apimgt.impl.utils.TokenGenUtil.getTTL(TokenGenUtil.java:82) > at > org.wso2.carbon.apimgt.impl.utils.TokenGenUtil.getJWT(TokenGenUtil.java:53) > at > org.wso2.carbon.apimgt.impl.token.TokenGenTest.testJWTGeneration(TokenGenTest.java:29) > o2/wso2svn/carbon/platform/branches/4.0.0/components/apimgt/org.wso2.carbon.apimgt.impl/1.0.0/target/surefire-reports/org.wso2.carbon.apimgt.impl.token.TokenGenTest.txt > (END > > > > > -- > Kasun Indrasiri > Associate Technical Lead > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > cell: +94 71 536 4128 > Blog : http://kasunpanorama.blogspot.com/ > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- /sumedha +94 773017743
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
