You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2009/05/25 11:01:45 UTC

[jira] Created: (XBEAN-131) xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04

xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04
------------------------------------------------------------------------------

                 Key: XBEAN-131
                 URL: https://issues.apache.org/jira/browse/XBEAN-131
             Project: XBean
          Issue Type: Bug
          Components: reflect
    Affects Versions: 3.6
         Environment: windows XP +SUN JDK 1.5.0_15-b04 + maven 2.0.9
            Reporter: Shawn Jiang
             Fix For: 3.6


D:\ws\xbeantrunk\xbean-reflect>java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)

----------------------------
Results :

Failed tests:
  testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)

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

------------------------------
-------------------------------------------------------------------------------
Test set: org.apache.xbean.recipe.ParameterNameLoaderTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertNotNull(Assert.java:220)
	at junit.framework.Assert.assertNotNull(Assert.java:213)
	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertEquals(ParameterNameLoaderTest.java:180)
	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertParameterNames(ParameterNameLoaderTest.java:170)
	at org.apache.xbean.recipe.ParameterNameLoaderTest.testPrivateConstructor(ParameterNameLoaderTest.java:75)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (XBEAN-131) xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04

Posted by "Jacek Laskowski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/XBEAN-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacek Laskowski reassigned XBEAN-131:
-------------------------------------

    Assignee: Jacek Laskowski

> xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04
> ------------------------------------------------------------------------------
>
>                 Key: XBEAN-131
>                 URL: https://issues.apache.org/jira/browse/XBEAN-131
>             Project: XBean
>          Issue Type: Bug
>          Components: reflect
>    Affects Versions: 3.6
>         Environment: windows XP +SUN JDK 1.5.0_15-b04 + maven 2.0.9
>            Reporter: Shawn Jiang
>            Assignee: Jacek Laskowski
>             Fix For: 3.6
>
>
> D:\ws\xbeantrunk\xbean-reflect>java -version
> java version "1.5.0_15"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)
> ----------------------------
> Results :
> Failed tests:
>   testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)
> Tests run: 68, Failures: 1, Errors: 0, Skipped: 0
> ------------------------------
> -------------------------------------------------------------------------------
> Test set: org.apache.xbean.recipe.ParameterNameLoaderTest
> -------------------------------------------------------------------------------
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
> testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNotNull(Assert.java:220)
> 	at junit.framework.Assert.assertNotNull(Assert.java:213)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertEquals(ParameterNameLoaderTest.java:180)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertParameterNames(ParameterNameLoaderTest.java:170)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.testPrivateConstructor(ParameterNameLoaderTest.java:75)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (XBEAN-131) xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04

Posted by "Jacek Laskowski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XBEAN-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712666#action_12712666 ] 

Jacek Laskowski commented on XBEAN-131:
---------------------------------------

Weird. "It works for me" (tm) Trying to figure out what might cause it. Could you rerun the test with an empty Maven local repository?

jlaskowski@work ~
$ java -version
java version "1.5.0_17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode)

jlaskowski@work ~
$ mvn -v
Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
Java version: 1.5.0_17
Java home: c:\apps\java5\jre
Default locale: en_PL, platform encoding: Cp1250
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

jlaskowski@work /cygdrive/c/oss/xbean/xbean-reflect
$ mvn clean test -Dtest=ParameterNameLoaderTest
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache XBean :: Reflect
[INFO]    task-segment: [clean, test]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory c:\oss\xbean\xbean-reflect\target
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Compiling 84 source files to c:\oss\xbean\xbean-reflect\target\classes
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory c:\oss\xbean\xbean-reflect\src\test\resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 29 source files to c:\oss\xbean\xbean-reflect\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: c:\oss\xbean\xbean-reflect\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.xbean.recipe.ParameterNameLoaderTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.344 sec

Results :

Tests run: 11, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Mon May 25 11:17:31 CEST 2009
[INFO] Final Memory: 16M/254M
[INFO] ------------------------------------------------------------------------


> xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04
> ------------------------------------------------------------------------------
>
>                 Key: XBEAN-131
>                 URL: https://issues.apache.org/jira/browse/XBEAN-131
>             Project: XBean
>          Issue Type: Bug
>          Components: reflect
>    Affects Versions: 3.6
>         Environment: windows XP +SUN JDK 1.5.0_15-b04 + maven 2.0.9
>            Reporter: Shawn Jiang
>             Fix For: 3.6
>
>
> D:\ws\xbeantrunk\xbean-reflect>java -version
> java version "1.5.0_15"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)
> ----------------------------
> Results :
> Failed tests:
>   testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)
> Tests run: 68, Failures: 1, Errors: 0, Skipped: 0
> ------------------------------
> -------------------------------------------------------------------------------
> Test set: org.apache.xbean.recipe.ParameterNameLoaderTest
> -------------------------------------------------------------------------------
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
> testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNotNull(Assert.java:220)
> 	at junit.framework.Assert.assertNotNull(Assert.java:213)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertEquals(ParameterNameLoaderTest.java:180)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertParameterNames(ParameterNameLoaderTest.java:170)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.testPrivateConstructor(ParameterNameLoaderTest.java:75)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (XBEAN-131) xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XBEAN-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712672#action_12712672 ] 

Shawn Jiang commented on XBEAN-131:
-----------------------------------

Sure, I've tried to start over with a clean local repo.  the test still fails the same.

I don't have this problem after switching to IBM JDK 1.5 sr6.

> xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04
> ------------------------------------------------------------------------------
>
>                 Key: XBEAN-131
>                 URL: https://issues.apache.org/jira/browse/XBEAN-131
>             Project: XBean
>          Issue Type: Bug
>          Components: reflect
>    Affects Versions: 3.6
>         Environment: windows XP +SUN JDK 1.5.0_15-b04 + maven 2.0.9
>            Reporter: Shawn Jiang
>            Assignee: Jacek Laskowski
>             Fix For: 3.6
>
>
> D:\ws\xbeantrunk\xbean-reflect>java -version
> java version "1.5.0_15"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)
> ----------------------------
> Results :
> Failed tests:
>   testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)
> Tests run: 68, Failures: 1, Errors: 0, Skipped: 0
> ------------------------------
> -------------------------------------------------------------------------------
> Test set: org.apache.xbean.recipe.ParameterNameLoaderTest
> -------------------------------------------------------------------------------
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
> testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNotNull(Assert.java:220)
> 	at junit.framework.Assert.assertNotNull(Assert.java:213)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertEquals(ParameterNameLoaderTest.java:180)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertParameterNames(ParameterNameLoaderTest.java:170)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.testPrivateConstructor(ParameterNameLoaderTest.java:75)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (XBEAN-131) xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04

Posted by "Jacek Laskowski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XBEAN-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712670#action_12712670 ] 

Jacek Laskowski commented on XBEAN-131:
---------------------------------------

It worked fine with Maven 2.0.9 too without org.apache.xbean in the Maven local repo, so I'll close it as "Cannot reproduce" unless you help me to hunt it down sending more data for investigation in a couple of days. Deal?

> xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04
> ------------------------------------------------------------------------------
>
>                 Key: XBEAN-131
>                 URL: https://issues.apache.org/jira/browse/XBEAN-131
>             Project: XBean
>          Issue Type: Bug
>          Components: reflect
>    Affects Versions: 3.6
>         Environment: windows XP +SUN JDK 1.5.0_15-b04 + maven 2.0.9
>            Reporter: Shawn Jiang
>             Fix For: 3.6
>
>
> D:\ws\xbeantrunk\xbean-reflect>java -version
> java version "1.5.0_15"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)
> ----------------------------
> Results :
> Failed tests:
>   testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)
> Tests run: 68, Failures: 1, Errors: 0, Skipped: 0
> ------------------------------
> -------------------------------------------------------------------------------
> Test set: org.apache.xbean.recipe.ParameterNameLoaderTest
> -------------------------------------------------------------------------------
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
> testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNotNull(Assert.java:220)
> 	at junit.framework.Assert.assertNotNull(Assert.java:213)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertEquals(ParameterNameLoaderTest.java:180)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertParameterNames(ParameterNameLoaderTest.java:170)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.testPrivateConstructor(ParameterNameLoaderTest.java:75)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (XBEAN-131) xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/XBEAN-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang closed XBEAN-131.
-----------------------------

    Resolution: Fixed

Can't recreate today.  guess it was my system env problem.

Closing it.

> xbean reflect build unit testing failed when working with SUN JDK 1.5.0_15-b04
> ------------------------------------------------------------------------------
>
>                 Key: XBEAN-131
>                 URL: https://issues.apache.org/jira/browse/XBEAN-131
>             Project: XBean
>          Issue Type: Bug
>          Components: reflect
>    Affects Versions: 3.6
>         Environment: windows XP +SUN JDK 1.5.0_15-b04 + maven 2.0.9
>            Reporter: Shawn Jiang
>            Assignee: Jacek Laskowski
>             Fix For: 3.6
>
>
> D:\ws\xbeantrunk\xbean-reflect>java -version
> java version "1.5.0_15"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)
> ----------------------------
> Results :
> Failed tests:
>   testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)
> Tests run: 68, Failures: 1, Errors: 0, Skipped: 0
> ------------------------------
> -------------------------------------------------------------------------------
> Test set: org.apache.xbean.recipe.ParameterNameLoaderTest
> -------------------------------------------------------------------------------
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
> testPrivateConstructor(org.apache.xbean.recipe.ParameterNameLoaderTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNotNull(Assert.java:220)
> 	at junit.framework.Assert.assertNotNull(Assert.java:213)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertEquals(ParameterNameLoaderTest.java:180)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.assertParameterNames(ParameterNameLoaderTest.java:170)
> 	at org.apache.xbean.recipe.ParameterNameLoaderTest.testPrivateConstructor(ParameterNameLoaderTest.java:75)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.