[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-8722) CDI core test failures

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue May 3 19:07:18 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-8722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov resolved JBIDE-8722.
-----------------------------------

    Resolution: Done


Ok. It's fixed in Eclipse 3.7.M7. Resolving the issue.

> CDI core test failures
> ----------------------
>
>                 Key: JBIDE-8722
>                 URL: https://issues.jboss.org/browse/JBIDE-8722
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: UpStream
>    Affects Versions: 3.3.0.M1
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M1
>
>
> CDICoreAllTests
> CDI Core Tests
> org.jboss.tools.cdi.core.test.WeldJarTest
> testWeldJar(org.jboss.tools.cdi.core.test.WeldJarTest)
> junit.framework.AssertionFailedError: null
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertFalse(Assert.java:34)
> 	at junit.framework.Assert.assertFalse(Assert.java:41)
> 	at org.jboss.tools.cdi.core.test.WeldJarTest.testWeldJar(WeldJarTest.java:41)
> org.jboss.tools.cdi.core.test.DependentProjectTest
> testDependentProject(org.jboss.tools.cdi.core.test.DependentProjectTest)
> junit.framework.AssertionFailedError: null
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNotNull(Assert.java:214)
> 	at junit.framework.Assert.assertNotNull(Assert.java:207)
> 	at org.jboss.tools.cdi.core.test.DependentProjectTest.assertBeanIsPresent(DependentProjectTest.java:77)
> 	at org.jboss.tools.cdi.core.test.DependentProjectTest.testDependentProject(DependentProjectTest.java:62)
> testCleanDependentProject(org.jboss.tools.cdi.core.test.DependentProjectTest)
> junit.framework.AssertionFailedError: null
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNotNull(Assert.java:214)
> 	at junit.framework.Assert.assertNotNull(Assert.java:207)
> 	at org.jboss.tools.cdi.core.test.DependentProjectTest.assertBeanIsPresent(DependentProjectTest.java:77)
> 	at org.jboss.tools.cdi.core.test.DependentProjectTest.testCleanDependentProject(DependentProjectTest.java:90)
> testIndirectDependency(org.jboss.tools.cdi.core.test.DependentProjectTest)
> junit.framework.AssertionFailedError: null
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertFalse(Assert.java:34)
> 	at junit.framework.Assert.assertFalse(Assert.java:41)
> 	at org.jboss.tools.cdi.core.test.DependentProjectTest.testIndirectDependency(DependentProjectTest.java:144)
> testProjectDependencyLoading(org.jboss.tools.cdi.core.test.DependentProjectTest)
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.failNotEquals(Assert.java:283)
> 	at junit.framework.Assert.assertEquals(Assert.java:64)
> 	at junit.framework.Assert.assertEquals(Assert.java:195)
> 	at junit.framework.Assert.assertEquals(Assert.java:201)
> 	at org.jboss.tools.cdi.core.test.DependentProjectTest.testProjectDependencyLoading(DependentProjectTest.java:156)
> org.jboss.tools.cdi.core.test.tck.validation.DependentProjectValidationTest
> testDependentProjects(org.jboss.tools.cdi.core.test.tck.validation.DependentProjectValidationTest)
> junit.framework.AssertionFailedError: Marker matches the 'Injection point declares a primitive type boolean that cannot be proxied by the container resolves to a bean TestBean3.foo\(\) with a normal scope \[JSR-299 §5.4.1\]' pattern wasn't found. Here is a list of found markers in /CDITest3/src/cdi/test3/TestBean3.java : []
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.jboss.tools.tests.AbstractResourceMarkerTest.assertMarkerIsCreated(AbstractResourceMarkerTest.java:167)
> 	at org.jboss.tools.cdi.core.test.tck.validation.ValidationTest.assertMarkerIsCreated(ValidationTest.java:48)
> 	at org.jboss.tools.cdi.core.test.tck.validation.ValidationTest.assertMarkerIsCreated(ValidationTest.java:44)
> 	at org.jboss.tools.cdi.core.test.tck.validation.DependentProjectValidationTest.testDependentProjects(DependentProjectValidationTest.java:86)
> Probably the reason of these failures is this Exception:
> !ENTRY org.eclipse.core.resources 4 2 2011-04-12 17:09:24.167
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
> !STACK 0
> java.lang.ArrayIndexOutOfBoundsException: 3
> 	at org.eclipse.jdt.internal.compiler.classfmt.MethodInfoWithParameterAnnotations.getParameterAnnotations(MethodInfoWithParameterAnnotations.java:24)
> 	at org.eclipse.jdt.internal.core.ClassFileInfo.generateMethodInfos(ClassFileInfo.java:312)
> 	at org.eclipse.jdt.internal.core.ClassFileInfo.readBinaryChildren(ClassFileInfo.java:387)
> 	at org.eclipse.jdt.internal.core.ClassFile.buildStructure(ClassFile.java:97)
> 	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
> 	at org.eclipse.jdt.internal.core.SourceRefElement.generateInfos(SourceRefElement.java:107)
> 	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:518)
> 	at org.eclipse.jdt.internal.core.BinaryType.getElementInfo(BinaryType.java:286)
> 	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:241)
> 	at org.eclipse.jdt.internal.core.BinaryType.isAnnotation(BinaryType.java:736)
> 	at org.jboss.tools.cdi.internal.core.scanner.FileSet.add(FileSet.java:39)
> 	at org.jboss.tools.cdi.core.CDICoreBuilder.buildJars(CDICoreBuilder.java:267)
> 	at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:174)
> 	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:717)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list