Task #10799 (closed)
Opened 6 years ago
Closed 6 years ago
Bug: blitz integration tests fail with reportng problem
| Reported by: | mtbcarroll | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | 5.0.0-beta1 |
| Component: | General | Version: | n.a. |
| Keywords: | n.a. | Cc: | jamoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | FS demo 4.1 |
Description
===============================================
blitz.integration
Total tests run: 437, Failures: 0, Skips: 437
Configuration Failures: 1, Skips: 360
===============================================
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/inject/Module
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
at java.lang.Class.privateGetPublicMethods(Class.java:2556)
at java.lang.Class.getMethods(Class.java:1412)
at org.apache.velocity.util.introspection.ClassMap.getAccessibleMethods(ClassMap.java:258)
at org.apache.velocity.util.introspection.ClassMap.populateMethodCache(ClassMap.java:151)
at org.apache.velocity.util.introspection.ClassMap.<init>(ClassMap.java:64)
at org.apache.velocity.util.introspection.IntrospectorBase.createClassMap(IntrospectorBase.java:126)
at org.apache.velocity.util.introspection.IntrospectorBase.getMethod(IntrospectorBase.java:112)
at org.apache.velocity.util.introspection.Introspector.getMethod(Introspector.java:100)
at org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(PropertyExecutor.java:65)
at org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(PropertyExecutor.java:39)
at org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(UberspectImpl.java:156)
at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:125)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
at org.apache.velocity.runtime.parser.node.ASTAddNode.value(ASTAddNode.java:66)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.Template.merge(Template.java:256)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449)
at org.uncommons.reportng.AbstractReporter.generateFile(AbstractReporter.java:102)
at org.uncommons.reportng.HTMLReporter.createOverview(HTMLReporter.java:141)
at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:106)
at org.testng.TestNG.generateReports(TestNG.java:1089)
at org.testng.TestNG.run(TestNG.java:1048)
at org.testng.TestNG.privateMain(TestNG.java:1338)
at org.testng.TestNG.main(TestNG.java:1307)
Caused by: java.lang.ClassNotFoundException: com.google.inject.Module
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 35 more
I tried upgrading to reportng-1.1.3 but the exception remains substantially the same,
=============================================== blitz.integration Total tests run: 437, Failures: 0, Skips: 437 Configuration Failures: 1, Skips: 360 =============================================== Exception in thread "main" java.lang.NoClassDefFoundError: com/google/inject/Module at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2436) at java.lang.Class.privateGetPublicMethods(Class.java:2556) at java.lang.Class.getMethods(Class.java:1412) at org.apache.velocity.util.introspection.ClassMap.getAccessibleMethods(ClassMap.java:258) at org.apache.velocity.util.introspection.ClassMap.populateMethodCache(ClassMap.java:151) at org.apache.velocity.util.introspection.ClassMap.<init>(ClassMap.java:64) at org.apache.velocity.util.introspection.IntrospectorBase.createClassMap(IntrospectorBase.java:126) at org.apache.velocity.util.introspection.IntrospectorBase.getMethod(IntrospectorBase.java:112) at org.apache.velocity.util.introspection.Introspector.getMethod(Introspector.java:100) at org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(PropertyExecutor.java:65) at org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(PropertyExecutor.java:39) at org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(UberspectImpl.java:156) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:125) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) at org.apache.velocity.runtime.parser.node.ASTAddNode.value(ASTAddNode.java:66) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449) at org.uncommons.reportng.AbstractReporter.generateFile(AbstractReporter.java:108) at org.uncommons.reportng.HTMLReporter.createOverview(HTMLReporter.java:142) at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:107) at org.testng.TestNG.generateReports(TestNG.java:1089) at org.testng.TestNG.run(TestNG.java:1048) at org.testng.TestNG.privateMain(TestNG.java:1338) at org.testng.TestNG.main(TestNG.java:1307) Caused by: java.lang.ClassNotFoundException: com.google.inject.Module at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 35 more
Change History (5)
comment:1 Changed 6 years ago by jamoore
- Sprint set to FS demo 4.1
comment:2 Changed 6 years ago by bpindelski
- Priority changed from critical to blocker
- Status changed from new to accepted
comment:3 Changed 6 years ago by bpindelski
- Owner bpindelski deleted
- Status changed from accepted to new
comment:4 Changed 6 years ago by bpindelski
comment:5 Changed 6 years ago by bpindelski
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Fixed in https://github.com/openmicroscopy/openmicroscopy/pull/1141