Menu

#4221 [HHQ-4080] Unit test failure on windows dev env

Bug
open
None
3
2012-10-09
2010-06-22
No

http://jira.hyperic.com/browse/HHQ-4080
C:\work\hq>mvn -Pno-dist clean install



...




 T E S T S




Running org.hyperic.hq.plugin.websphere.ProfilesDirectoryTest


log4j:WARN No appenders could be found for logger (WebsphereProductPlugin).


log4j:WARN Please initialize the log4j system properly.


Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.344 sec <<< FAILURE!



Results :



Tests in error:


  testClassPathInNonWASEnv(org.hyperic.hq.plugin.websphere.ProfilesDirectoryTest)



Tests run: 3, Failures: 0, Errors: 1, Skipped: 0




Test set: org.hyperic.hq.plugin.websphere.ProfilesDirectoryTest




Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.344 sec <<< FAILURE!


testClassPathInNonWASEnv(org.hyperic.hq.plugin.websphere.ProfilesDirectoryTest) Time elapsed: 0.219 sec <<< ERROR!


java.lang.NullPointerException


at org.hyperic.hq.product.GenericPlugin.getProperties(GenericPlugin.java:263)


at org.hyperic.hq.plugin.websphere.WebsphereProductPlugin.getClassPath(WebsphereProductPlugin.java:454)


at org.hyperic.hq.plugin.websphere.ProfilesDirectoryTest.testClassPathInNonWASEnv(ProfilesDirectoryTest.java:324)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:597)


at junit.framework.TestCase.runTest(TestCase.java:168)


at junit.framework.TestCase.runBare(TestCase.java:134)


at junit.framework.TestResult$1.protect(TestResult.java:110)


at junit.framework.TestResult.runProtected(TestResult.java:128)


at junit.framework.TestResult.run(TestResult.java:113)


at junit.framework.TestCase.run(TestCase.java:124)


at junit.framework.TestSuite.runTest(TestSuite.java:232)


at junit.framework.TestSuite.run(TestSuite.java:227)


at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:91)


at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)


at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)


at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)


at org.apache.maven.surefire.Surefire.run(Surefire.java:177)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:597)


at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)


at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)


Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.