errors in junit tests

7 views
Skip to first unread message

Joel

unread,
Jan 26, 2011, 11:08:32 PM1/26/11
to jAPS 2.0 Platform
I installed the user profile plugin so I could study it and try and write my own. It seems to work alright except for the junit tests. I also noticed that when the test databases are created I have to run the sql (that comes with the plugin) on it ever time (this could easily be fixed but I thought it might be a symptom of another problem).

I have tried fixing one of the problems "Couldn't get lock for build/test/japs_log.%g" by running "chmod 777 -R" on my workspace, which didn't fix it.

And does anyone know how I can get line numbers for these errors? I can't seem to turn on ANT debugging for junit because <javac> doesn't support nested <junit> and vice versa. Thanks.
 

Buildfile: /home/joel/workspace2/jAPS2_portal/build.xml
Test:
    [junit] Running test.com.agiletec.aps.AllTests
    [junit] Testsuite: test.com.agiletec.aps.AllTests
    [junit] Tests run: 111, Failures: 0, Errors: 0, Time elapsed: 71.521 sec
    [junit] Tests run: 111, Failures: 0, Errors: 0, Time elapsed: 71.521 sec
    [junit] ------------- Standard Error -----------------
    [junit] Exception in thread "NotifyingThreadName" java.lang.NullPointerException
    [junit]     at com.agiletec.aps.system.services.cache.CacheManager.updateFromPageChanged(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.page.events.PageChangedEvent.notify(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.AbstractService.update(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.notify.NotifyManager.notify(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.notify.NotifyingEventThread.run(Unknown Source)
    [junit] Exception in thread "NotifyingThreadName" java.lang.NullPointerException
    [junit]     at com.agiletec.aps.system.services.cache.CacheManager.updateFromPageChanged(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.page.events.PageChangedEvent.notify(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.AbstractService.update(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.notify.NotifyManager.notify(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.notify.NotifyingEventThread.run(Unknown Source)
    [junit] Exception in thread "NotifyingThreadName" java.lang.NullPointerException
    [junit]     at com.agiletec.aps.system.services.cache.CacheManager.updateFromPageChanged(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.page.events.PageChangedEvent.notify(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.AbstractService.update(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.notify.NotifyManager.notify(Unknown Source)
    [junit]     at com.agiletec.aps.system.services.notify.NotifyingEventThread.run(Unknown Source)
    [junit] Jan 26, 2011 10:08:17 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at test.com.agiletec.aps.system.services.user.TestUserDAO.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:17 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:17 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at test.com.agiletec.aps.system.services.user.TestUserManager.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:17 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:18 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at test.com.agiletec.aps.system.services.user.TestUserManager.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:18 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:18 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at test.com.agiletec.aps.system.services.user.TestUserManager.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:18 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:18 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at test.com.agiletec.aps.system.services.user.TestUserManager.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:19 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:19 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at test.com.agiletec.aps.system.services.user.TestUserManager.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:19 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:19 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at test.com.agiletec.aps.system.services.user.TestUserManager.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:19 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:20 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at test.com.agiletec.aps.system.services.user.TestUserManager.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:20 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:20 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:20 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] Jan 26, 2011 10:08:20 PM com.agiletec.aps.system.ApsSystemUtils init
    [junit] SEVERE: Error detected while creating the logger:
    [junit] java.io.IOException: Couldn't get lock for build/test/japs_log.%g
    [junit]     at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
    [junit]     at java.util.logging.FileHandler.<init>(FileHandler.java:306)
    [junit]     at com.agiletec.aps.system.ApsSystemUtils.init(Unknown Source)
    [junit]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [junit]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [junit]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [junit]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [junit]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [junit]     at test.com.agiletec.ConfigTestUtils.createApplicationContext(Unknown Source)
    [junit]     at test.com.agiletec.aps.BaseTestCase.setUp(Unknown Source)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:227)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] Jan 26, 2011 10:08:21 PM com.agiletec.aps.system.services.notify.NotifyManager onApplicationEvent
    [junit] INFO: Unhandled generic event detected: org.springframework.context.event.ContextRefreshedEvent
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testGetAttributeTypes took 3.251 sec
    [junit] Testcase: testGetEntityTypes took 1.649 sec
    [junit] Testcase: testCheckAdminUser took 1.952 sec
    [junit] Testcase: testCheckCustomerUser took 0.77 sec
    [junit] Testcase: testCheckNewUser took 0.749 sec
    [junit] Testcase: testGetUsersByAuthority_1 took 0.833 sec
    [junit] Testcase: testGetUsersByAuthority_2 took 0.623 sec
    [junit] Testcase: testSetRemoveUserAuthorization_1 took 0.704 sec
    [junit] Testcase: testSetRemoveUserAuthorization_2 took 0.88 sec
    [junit] Testcase: testSetRemoveUserAuthorizations_1 took 0.592 sec
    [junit] Testcase: testSetRemoveUserAuthorizations_2 took 0.535 sec
    [junit] Testcase: testGetAuthorizationsByUser took 0.635 sec
    [junit] Testcase: testGetParam took 0.796 sec
    [junit] Testcase: testLoadVersionItems took 0.45 sec
    [junit] Testcase: testLoadVersionItem took 0.507 sec
    [junit] Testcase: testPutGetFromCache_1 took 0.522 sec
    [junit] Testcase: testPutGetFromCache_2 took 0.49 sec
    [junit] Testcase: testPutGetFromCacheOnRefreshPeriod took 3.524 sec
    [junit] Testcase: testPutGetFromCacheGroup took 0.451 sec
    [junit] Testcase: testGetCategory took 0.489 sec
    [junit] Testcase: testAddCategory took 0.502 sec
    [junit] Testcase: testUpdateRemoveCategory took 0.52 sec
    [junit] Testcase: testGetCategories took 0.486 sec
    [junit] Testcase: testService_1 took 0.909 sec
    [junit] Testcase: testService_2 took 0.563 sec
    [junit] Testcase: testServiceFailure took 0.5 sec
    [junit] Testcase: testService_1 took 0.574 sec
    [junit] Testcase: testService_2 took 0.489 sec
    [junit] Testcase: testServiceFailure_1 took 0.489 sec
    [junit] Testcase: testServiceFailure_2 took 0.443 sec
    [junit] Testcase: testService took 1.027 sec
    [junit] Testcase: testService took 0.465 sec
    [junit] Testcase: testServiceFailure_1 took 0.476 sec
    [junit] Testcase: testServiceFailure_2 took 0.476 sec
    [junit] Testcase: testService took 0.44 sec
    [junit] Testcase: testServiceFailure_3 took 0.493 sec
    [junit] Testcase: testService_1 took 0.478 sec
    [junit] Testcase: testService_2 took 0.492 sec
    [junit] Testcase: testService_3 took 0.566 sec
    [junit] Testcase: testGetGroups took 0.445 sec
    [junit] Testcase: testAddDeleteGroup took 0.525 sec
    [junit] Testcase: testUpdateGroup took 0.485 sec
    [junit] Testcase: testGetGroupsUtilizers_1 took 0.515 sec
    [junit] Testcase: testGetGroupsUtilizers_2 took 0.531 sec
    [junit] Testcase: testGetLabels took 0.522 sec
    [junit] Testcase: testAddDeleteLabels took 0.533 sec
    [junit] Testcase: testUpdateLabels took 0.534 sec
    [junit] Testcase: testGetLabelsKey took 0.515 sec
    [junit] Testcase: testGetUniqueKey took 0.52 sec
    [junit] Testcase: testGetUniqueKeyCurrentValueWithRightIncrement took 1.306 sec
    [junit] Testcase: testGetLang took 0.551 sec
    [junit] Testcase: testGetDefaultLang took 0.491 sec
    [junit] Testcase: testGetLangs took 0.48 sec
    [junit] Testcase: testGetAssignableLangs took 0.476 sec
    [junit] Testcase: testAddUpdateRemoveLang took 0.49 sec
    [junit] Testcase: testLoadPageList took 0.493 sec
    [junit] Testcase: testAddUpdateDeletePage took 0.567 sec
    [junit] Testcase: testAddUpdateMoveDeletePage took 0.839 sec
    [junit] Testcase: testFailureJoinShowlet_1 took 0.498 sec
    [junit] Testcase: testFailureJoinShowlet_2 took 0.529 sec
    [junit] Testcase: testFailureRemoveShowlet_1 took 0.497 sec
    [junit] Testcase: testFailureRemoveShowlet_2 took 0.501 sec
    [junit] Testcase: testJoinRemoveShowlet took 0.542 sec
    [junit] Testcase: testSearchPage took 0.504 sec
    [junit] Testcase: testSetExpression_1 took 0.502 sec
    [junit] Testcase: testSetExpression_2 took 0.523 sec
    [junit] Testcase: testSetExpression_3 took 0.525 sec
    [junit] Testcase: testSetWrongExpression_1 took 0.524 sec
    [junit] Testcase: testSetWrongExpression_2 took 0.475 sec
    [junit] Testcase: testGetExpression_1 took 1.548 sec
    [junit] Testcase: testGetExpression_2 took 0.59 sec
    [junit] Testcase: testGetExpression_3 took 0.502 sec
    [junit] Testcase: testGetExpression_4 took 0.508 sec
    [junit] Testcase: testGetWrongExpression_1 took 0.531 sec
    [junit] Testcase: testGetWrongExpression_2 took 0.475 sec
    [junit] Testcase: testGetTargets_1 took 0.508 sec
    [junit] Testcase: testGetTargets_2 took 0.511 sec
    [junit] Testcase: testGetTargets_3 took 0.489 sec
    [junit] Testcase: testGetTargets_4 took 0.503 sec
    [junit] Testcase: testGetTargets_5 took 0.544 sec
    [junit] Testcase: testLoadModels took 0.523 sec
    [junit] Testcase: testGetFrames took 0.51 sec
    [junit] Testcase: testGetPageModel took 0.473 sec
    [junit] Testcase: testGetPageModels took 0.522 sec
    [junit] Testcase: testAddUpdateDeletePermission took 0.568 sec
    [junit] Testcase: testAddUpdateDeleteRole took 0.575 sec
    [junit] Testcase: testAddUpdateDeletePermission took 0.636 sec
    [junit] Testcase: testGetRolesWithPemission took 0.554 sec
    [junit] Testcase: testLoadShowletTypes took 0.55 sec
    [junit] Testcase: testGetAction took 0.535 sec
    [junit] Testcase: testGetShowletTypes took 1.747 sec
    [junit] Testcase: testGetShowletType_1 took 0.649 sec
    [junit] Testcase: testGetShowletType_2 took 0.536 sec
    [junit] Testcase: testGetURLString_1 took 0.617 sec
    [junit] Testcase: testGetURLString_2 took 0.597 sec
    [junit] Testcase: testGetUser took 0.556 sec
    [junit] Testcase: testUpdateUserAuthorities took 0.682 sec
    [junit] Testcase: testGetUserWithPrivacyModuleEnabled took 0.667 sec
    [junit] Testcase: testAuthWithPrivacyModuleEnabled took 0.709 sec
    [junit] Testcase: testUpdateRoleWithPrivacyModuleEnabled took 0.657 sec
    [junit] Testcase: testAddDeleteUser took 0.606 sec
    [junit] Testcase: testUpdateUser took 0.42 sec
    [junit] Testcase: testAddDeleteUser took 0.381 sec
    [junit] Testcase: testUpdateUser took 0.42 sec
    [junit] Testcase: testGetUsers took 0.414 sec
    [junit] Testcase: testSearchUsers took 0.335 sec
    [junit] Testcase: testGetUser_1 took 0.403 sec
    [junit] Testcase: testGetUser_2 took 0.403 sec
    [junit] Testcase: testChangePassword took 0.395 sec
    [junit] Testcase: testGetServices took 0.432 sec
    [junit] Testcase: testGetParsedText took 0.407 sec
    [junit] Running test.com.agiletec.apsadmin.AllTests
    [junit] Testsuite: test.com.agiletec.apsadmin.AllTests

Joel

unread,
Jan 27, 2011, 10:16:47 PM1/27/11
to jAPS 2.0 Platform
I figured out the javac issue, I was majorly confused :) it needs to be set to debug in the compile task. Have you had trouble remotely debugging jAPS from eclipse? I have posted about this issue here, let me know if you have any ideas: http://www.eclipse.org/forums/index.php?t=msg&goto=651150&

Joel

unread,
Jan 27, 2011, 10:18:06 PM1/27/11
to jAPS 2.0 Platform
I should ask, what is the best way to debug the portal running on the server? Thanks.

Giovanni Cocco

unread,
Jan 28, 2011, 8:05:52 AM1/28/11
to japs-p...@googlegroups.com
Hi Joel,
If JUnits doesn't fix yours testing needs, you can run your jAPS based Dynamic web Project in debug mode. Right click on project root folder -> Debug as -> debug on Server.

GC

2011/1/28 Joel <felixth...@gmail.com>

--
_________________________________________________________________________
jAPS-Platform Group
japs-p...@googlegroups.com
http://groups.google.com/group/japs-platform
_________________________________________________________________________
Follow us on Identi.ca: http://identi.ca/japsplatform
Follow us on Twitter http://twitter.com/jAPSPlatform/
Follow us on Linkedin http://www.linkedin.com/groups?gid=2570784&trk=hb_side_g
Follow us on Slideshare http://www.slideshare.net/japsplatform
Follow us on IdeaScale http://japsplatform.ideascale.com/

Joel

unread,
Jan 28, 2011, 9:51:32 AM1/28/11
to japs-p...@googlegroups.com


On Fri, Jan 28, 2011 at 8:05 AM, Giovanni Cocco <gianni....@gmail.com> wrote:
Hi Joel,
If JUnits doesn't fix yours testing needs, you can run your jAPS based Dynamic web Project in debug mode. Right click on project root folder -> Debug as -> debug on Server.

GC

I forgot to mention that debugging on server doesn't work, I get this:

"Unable to install breakpoint in
com.algiletec.plugins.jpuserprofile.aps.system.services.profile.UserProfileManager due to missing line number attributes. Modify compiler options to generate line number attributes.

Reason:
Absent Line Number Information"

But I have added line number information here in the ant tasks under compile:
    <target name="compile" depends="clean" description="compile the source ">
        <copy todir="${build.path}/classes">
            <fileset dir="${src.path}">
                <exclude name="**/*.java"/>
            </fileset>
        </copy>       
        <javac srcdir="${src.path}" destdir="${build.path}/classes"  debug="true" debuglevel="lines,vars,source">

            <classpath refid="classpath" />
   
        </javac>
    </target>


And even if I click past that the server doesn't start because it times out. I could try increasing the time out but it seems to just sit there.

Could the line number error have something to do with the problem of not being able to deploy the WAR file? No matter what I do before (including doing a "WAR bulid" when I click on "WAR deploy" I get:
Buildfile: /home/joel/workspace2/jAPS2_portal/build.xml
WAR deploy:
     [copy] Copying 1 file to /opt/tomcat6/webapps


BUILD FAILED
/home/joel/workspace2/jAPS2_portal/buildTasks.xml:101: Failed to copy /home/joel/workspace2/jAPS2_portal/dist/jAPS2_portal.war to /opt/tomcat6/webapps/jAPS2_portal.war due to java.io.FileNotFoundException /opt/tomcat6/webapps/jAPS2_portal.war (No such file or directory)

Total time: 315 milliseconds

William Ghelfi

unread,
Jan 28, 2011, 10:10:30 AM1/28/11
to japs-p...@googlegroups.com
On Fri, Jan 28, 2011 at 3:51 PM, Joel <felixth...@gmail.com> wrote:
>
> BUILD FAILED
> /home/joel/workspace2/jAPS2_portal/buildTasks.xml:101: Failed to copy /home/joel/workspace2/jAPS2_portal/dist/jAPS2_portal.war to /opt/tomcat6/webapps/jAPS2_portal.war due to java.io.FileNotFoundException /opt/tomcat6/webapps/jAPS2_portal.war (No such file or directory)
>

how about write permissions on /opt/tomcat6/webapps/ ?

--
William Ghelfi
R&D Director - Tzente s.r.l.
E-mail: w.gh...@tzente.it
Mobile: +39 393 9676926
http://www.tzente.it/
http://www.japsportal.org/

Tzente Srl
Viale Elmas 142 - 09122 - Cagliari (Italia)
Phone: +39 070 240053 - Fax: +39 070 240053
Cod. Fisc/P. Iva : IT03264290929 - REA: CA 258069
Cap. Soc. : Sottoscritto € 10.000,00 – Versato € 2.500,00.

Le informazioni contenute in questo messaggio, come anche eventuali
file allegati, sono riservati e confidenziali. Il loro utilizzo e'
consentito esclusivamente al destinatario del messaggio, per le
finalità indicate nel messaggio stesso. Qualora non non fosse il
destinatario a cui il presente messaggio è destinato, La invitiamo ad
eliminarlo dal Suo sistema ed a distruggere le varie copie o stampe,
dandocene gentilmente comunicazione. Ogni utilizzo improprio e'
contrario ai principi del D.lgs 196/03 e alla legislazione europea
(Direttiva 2002/58/CE).

The information contained in this message as well as the attached
file(s) is confidential / privileged and is only intended for the
person to whom it is addressed. If the reader of this message is not
the intended recipient or the employee or agent responsible for
delivering the message to the intended recipient, or you have received
this communication in error, please be aware that any dissemination,
distribution or duplication is strictly prohibited, and can be
illegal. Please notify us immediately and delete all copies from your
mailbox and other archives.

Joel

unread,
Jan 28, 2011, 10:26:12 AM1/28/11
to japs-p...@googlegroups.com
On Fri, Jan 28, 2011 at 10:10 AM, William Ghelfi <w.gh...@tzente.it> wrote:
On Fri, Jan 28, 2011 at 3:51 PM, Joel <felixth...@gmail.com> wrote:
>
> BUILD FAILED
> /home/joel/workspace2/jAPS2_portal/buildTasks.xml:101: Failed to copy /home/joel/workspace2/jAPS2_portal/dist/jAPS2_portal.war to /opt/tomcat6/webapps/jAPS2_portal.war due to java.io.FileNotFoundException /opt/tomcat6/webapps/jAPS2_portal.war (No such file or directory)
>

how about write permissions on /opt/tomcat6/webapps/ ?


Oh I'm stupid my tomcat directory is not /opt/tomcat6 it is
/opt/apache-tomcat-6.0.18

I needed to change the tomcat.home.path. Now the WAR deploys but I still have the same errors with junit test and I am still not able to debug on server.

Joel

unread,
Jan 29, 2011, 5:57:10 PM1/29/11
to japs-p...@googlegroups.com

Switched to eclipse helios and still had the same problem with the debugger but I found a very easy solution to the debugger problem (this from stack overflow) (keep in mind that I am now using helios jee)
  1. In eclipse menu, go to Window->Preferences->Java->Compiler
  2. Unmark checkbox "Add line number attributes..."
  3. Click Apply -> Yes
  4. Mark checkbox "Add line number attribute..."
  5. Apply again.
  6. Go happy debuging
Reply all
Reply to author
Forward
0 new messages