Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321281

Summary: org.eclipse.ant.tests.core.AutomatedSuite threw exceptions
Product: [Eclipse Project] Equinox Reporter: Tao Zhang <taozhang816>
Component: FrameworkAssignee: equinox.framework-inbox <equinox.framework-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: darin.eclipse, tjwatson
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Tao Zhang CLA 2010-07-29 21:18:08 EDT
Build Identifier: 3.4.2

The test threw java.security.SignatureException: Signature does not match.
Need to see that is java problem or ant problem.


!SESSION 2010-11-11 02:25:20.721 -----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.7.0-ea
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -application org.eclipse.test.coretestapplication formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,C:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing/eclipse/org.eclipse.osgi.tests.AutomatedTests.xml -testPluginName org.eclipse.osgi.tests -className org.eclipse.osgi.tests.AutomatedTests
Command-line arguments:  -application org.eclipse.test.coretestapplication -data C:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing/eclipse/osgi_sniff_folder formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,C:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing/eclipse/org.eclipse.osgi.tests.AutomatedTests.xml -testPluginName org.eclipse.osgi.tests -className org.eclipse.osgi.tests.AutomatedTests -os win32 -ws win32 -arch x86 -consolelog

!ENTRY org.eclipse.osgi 2 0 2010-11-11 02:25:24.987
!MESSAGE Signature does not match.
!STACK 0
java.security.SignatureException: Signature does not match.
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:463)
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:406)
	at org.eclipse.osgi.internal.service.security.KeyStoreTrustEngine.findTrustAnchor(KeyStoreTrustEngine.java:128)
	at org.eclipse.osgi.tests.security.KeyStoreTrustEngineTest.testFindTrustAnchor6(KeyStoreTrustEngineTest.java:276)
	at org.eclipse.osgi.tests.security.KeyStoreTrustEngineTest$7.runTest(KeyStoreTrustEngineTest.java:59)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
	at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
	at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
	at org.eclipse.core.launcher.Main.main(Main.java:30)

!ENTRY org.eclipse.osgi 2 0 2010-11-11 02:25:25.003
!MESSAGE Signature does not match.
!STACK 0
java.security.SignatureException: Signature does not match.
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:463)
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:406)
	at org.eclipse.osgi.internal.service.security.KeyStoreTrustEngine.findTrustAnchor(KeyStoreTrustEngine.java:128)
	at org.eclipse.osgi.tests.security.KeyStoreTrustEngineTest.testFindTrustAnchor7(KeyStoreTrustEngineTest.java:286)
	at org.eclipse.osgi.tests.security.KeyStoreTrustEngineTest$8.runTest(KeyStoreTrustEngineTest.java:63)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
	at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
	at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
	at org.eclipse.core.launcher.Main.main(Main.java:30)

!ENTRY org.eclipse.osgi 4 0 2010-11-11 02:26:14.362
!MESSAGE Either the manifest file or the signature file has been tampered in this jar: C:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing\eclipse\configuration\org.eclipse.osgi\bundles\203\data\temp\entry1781213926629503094.jar
!STACK 0
java.security.SignatureException: Either the manifest file or the signature file has been tampered in this jar: C:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing\eclipse\configuration\org.eclipse.osgi\bundles\203\data\temp\entry1781213926629503094.jar
	at org.eclipse.osgi.internal.signedcontent.SignatureBlockProcessor.verifyManifestAndSignatureFile(SignatureBlockProcessor.java:154)
	at org.eclipse.osgi.internal.signedcontent.SignatureBlockProcessor.processSigner(SignatureBlockProcessor.java:104)
	at org.eclipse.osgi.internal.signedcontent.SignatureBlockProcessor.process(SignatureBlockProcessor.java:60)
	at org.eclipse.osgi.internal.signedcontent.SignedBundleFile.setBundleFile(SignedBundleFile.java:47)
	at org.eclipse.osgi.internal.signedcontent.SignedBundleHook.getSignedContent(SignedBundleHook.java:244)
	at org.eclipse.osgi.tests.security.SignedBundleTest.testBug236329_01(SignedBundleTest.java:810)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
	at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
	at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
	at org.eclipse.core.launcher.Main.main(Main.java:30)

!ENTRY org.eclipse.osgi 4 0 2010-11-11 02:29:51.950
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.NullPointerException: Generated exception
	at org.eclipse.osgi.tests.listeners.ExceptionHandlerTests$1.bundleChanged(ExceptionHandlerTests.java:65)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.osgi.tests 4 0 2010-11-11 02:29:51.950
!MESSAGE 
!STACK 0
java.lang.NullPointerException: Generated exception
	at org.eclipse.osgi.tests.listeners.ExceptionHandlerTests$1.bundleChanged(ExceptionHandlerTests.java:65)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.osgi 4 0 2010-11-11 02:29:51.965
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.OutOfMemoryError: Generated exception
	at org.eclipse.osgi.tests.listeners.ExceptionHandlerTests$2.bundleChanged(ExceptionHandlerTests.java:93)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.osgi.tests 4 0 2010-11-11 02:29:51.981
!MESSAGE 
!STACK 0
java.lang.OutOfMemoryError: Generated exception
	at org.eclipse.osgi.tests.listeners.ExceptionHandlerTests$2.bundleChanged(ExceptionHandlerTests.java:93)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)
!SESSION 2010-11-11 03:45:00.655 -----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.7.0-ea
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -application org.eclipse.test.coretestapplication formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,c:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing/eclipse/org.eclipse.osgi.tests.AutomatedTests.xml -testPluginName org.eclipse.osgi.tests -className org.eclipse.osgi.tests.AutomatedTests
Command-line arguments:  -application org.eclipse.test.coretestapplication -data c:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing/eclipse/osgi_sniff_folder formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,c:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing/eclipse/org.eclipse.osgi.tests.AutomatedTests.xml -testPluginName org.eclipse.osgi.tests -className org.eclipse.osgi.tests.AutomatedTests -os win32 -ws win32 -arch x86 -consolelog

!ENTRY org.eclipse.osgi 2 0 2010-11-11 03:45:03.514
!MESSAGE Signature does not match.
!STACK 0
java.security.SignatureException: Signature does not match.
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:463)
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:406)
	at org.eclipse.osgi.internal.service.security.KeyStoreTrustEngine.findTrustAnchor(KeyStoreTrustEngine.java:128)
	at org.eclipse.osgi.tests.security.KeyStoreTrustEngineTest.testFindTrustAnchor6(KeyStoreTrustEngineTest.java:276)
	at org.eclipse.osgi.tests.security.KeyStoreTrustEngineTest$7.runTest(KeyStoreTrustEngineTest.java:59)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
	at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
	at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
	at org.eclipse.core.launcher.Main.main(Main.java:30)

!ENTRY org.eclipse.osgi 2 0 2010-11-11 03:45:03.530
!MESSAGE Signature does not match.
!STACK 0
java.security.SignatureException: Signature does not match.
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:463)
	at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:406)
	at org.eclipse.osgi.internal.service.security.KeyStoreTrustEngine.findTrustAnchor(KeyStoreTrustEngine.java:128)
	at org.eclipse.osgi.tests.security.KeyStoreTrustEngineTest.testFindTrustAnchor7(KeyStoreTrustEngineTest.java:286)
	at org.eclipse.osgi.tests.security.KeyStoreTrustEngineTest$8.runTest(KeyStoreTrustEngineTest.java:63)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
	at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
	at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
	at org.eclipse.core.launcher.Main.main(Main.java:30)

!ENTRY org.eclipse.osgi 4 0 2010-11-11 03:45:52.139
!MESSAGE Either the manifest file or the signature file has been tampered in this jar: C:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing\eclipse\configuration\org.eclipse.osgi\bundles\203\data\temp\entry5420991717194093456.jar
!STACK 0
java.security.SignatureException: Either the manifest file or the signature file has been tampered in this jar: C:\auto-eclipse\eclipse-Automated-Tests-3.4.2\eclipse-testing\eclipse\configuration\org.eclipse.osgi\bundles\203\data\temp\entry5420991717194093456.jar
	at org.eclipse.osgi.internal.signedcontent.SignatureBlockProcessor.verifyManifestAndSignatureFile(SignatureBlockProcessor.java:154)
	at org.eclipse.osgi.internal.signedcontent.SignatureBlockProcessor.processSigner(SignatureBlockProcessor.java:104)
	at org.eclipse.osgi.internal.signedcontent.SignatureBlockProcessor.process(SignatureBlockProcessor.java:60)
	at org.eclipse.osgi.internal.signedcontent.SignedBundleFile.setBundleFile(SignedBundleFile.java:47)
	at org.eclipse.osgi.internal.signedcontent.SignedBundleHook.getSignedContent(SignedBundleHook.java:244)
	at org.eclipse.osgi.tests.security.SignedBundleTest.testBug236329_01(SignedBundleTest.java:810)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
	at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
	at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
	at org.eclipse.core.launcher.Main.main(Main.java:30)

!ENTRY org.eclipse.osgi 4 0 2010-11-11 03:49:58.410
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.NullPointerException: Generated exception
	at org.eclipse.osgi.tests.listeners.ExceptionHandlerTests$1.bundleChanged(ExceptionHandlerTests.java:65)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.osgi.tests 4 0 2010-11-11 03:49:58.410
!MESSAGE 
!STACK 0
java.lang.NullPointerException: Generated exception
	at org.eclipse.osgi.tests.listeners.ExceptionHandlerTests$1.bundleChanged(ExceptionHandlerTests.java:65)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.osgi 4 0 2010-11-11 03:49:58.442
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.OutOfMemoryError: Generated exception
	at org.eclipse.osgi.tests.listeners.ExceptionHandlerTests$2.bundleChanged(ExceptionHandlerTests.java:93)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.osgi.tests 4 0 2010-11-11 03:49:58.442
!MESSAGE 
!STACK 0
java.lang.OutOfMemoryError: Generated exception
	at org.eclipse.osgi.tests.listeners.ExceptionHandlerTests$2.bundleChanged(ExceptionHandlerTests.java:93)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.osgi 4 0 2010-11-11 03:50:28.537
!MESSAGE 
!STACK 0
java.io.IOException: The system cannot find the path specified
	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
	at java.io.File.createTempFile(File.java:1872)
	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateData(BaseStorage.java:590)
	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:429)
	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(BaseStorage.java:418)
	at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1248)
	at java.lang.Thread.run(Thread.java:717)

!ENTRY org.eclipse.osgi 2 0 2010-11-11 03:54:09.051
!MESSAGE While loading class "thread.locktest.Class1", thread "Thread[thread.locktest,5,main]" timed out waiting (5000ms) for thread "Thread[main,5,main]" to finish starting bundle "reference:file:/C:/auto-eclipse/eclipse-Automated-Tests-3.4.2/eclipse-testing/eclipse/dropins/eclipse/plugins/org.eclipse.osgi.tests_3.4.0/bundle_tests/thread.locktest.jar [571]". To avoid deadlock, thread "Thread[thread.locktest,5,main]" is proceeding but "thread.locktest.Class1" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "reference:file:/C:/auto-eclipse/eclipse-Automated-Tests-3.4.2/eclipse-testing/eclipse/dropins/eclipse/plugins/org.eclipse.osgi.tests_3.4.0/bundle_tests/thread.locktest.jar" by thread "main".
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1144)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:263)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:427)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:370)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:446)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:387)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
	at thread.locktest.Activator.run(Activator.java:35)
	at java.lang.Thread.run(Thread.java:717)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
	... 14 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1144)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:263)
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:427)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:370)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:446)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:387)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
	at thread.locktest.Activator.run(Activator.java:35)
	at java.lang.Thread.run(Thread.java:717)


Reproducible: Always

Steps to Reproduce:
1. Ran 3.4.2 eclipse auto tests with jdk 7(b102 or latest build)on windows (Vista or XP)
2. You will see above exceptions.
Comment 1 Tao Zhang CLA 2010-07-29 21:19:29 EDT
We need to know the java.security.SignatureException: Signature does not match. because of ant or because java jdk7?
Comment 2 Darin Wright CLA 2010-07-30 08:39:52 EDT
Moving to Equinox, does not look like an Ant issue.
Comment 3 Thomas Watson CLA 2010-08-03 15:45:39 EDT
Are the tests actually failing, or do you just see these extra error entries in the log?  These are actually expected error logs because we are actually testing what happens when bad certificate chains and corrupted jars are used in the tests.

Closing, please reopen if I have misunderstood and you are getting test failures.
Comment 4 Tao Zhang CLA 2010-08-04 17:28:12 EDT
(In reply to comment #3)
> Are the tests actually failing, or do you just see these extra error entries in
> the log?  These are actually expected error logs because we are actually
> testing what happens when bad certificate chains and corrupted jars are used in
> the tests.
> 
> Closing, please reopen if I have misunderstood and you are getting test
> failures.

I checked the results, the tests are PASS, understand now, these just threw extra errors. Never mind, closing the bug is right thing. Thanks.