You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Ignatenko (JIRA)" <ji...@apache.org> on 2007/03/09 09:41:24 UTC

[jira] Created: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

[drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
-------------------------------------------------------------------------

                 Key: HARMONY-3339
                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Aleksey Ignatenko


EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.

Log:
N/A 

java.lang.NullPointerException
at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:975)
at org.eclipse.core.launcher.Main.main(Main.java:952)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479539 ] 

Aleksey Ignatenko commented on HARMONY-3339:
--------------------------------------------

I investigated org.eclipse.jdt.core.model.JavadocFieldCompletionTest, there 2 tests fail: test014 and test015. 
Written stack trace does not reflect the root cause of fail. It is in "assertSortedResults" function. Going deeper I founf that the issue is in "CompletionTestsRequestor2.getReversedResults" function . 
Stack trace:
CompletionTestsRequestor2.getReversedResults() line: 159	
JavadocFieldCompletionModelTest(AbstractJavadocCompletionModelTest).assertSortedResults(String) line: 213	
JavadocFieldCompletionModelTest.test014() line: 271	

The problem is in "Arrays.sort(this.proposals, new Comparator() {..." call. If you replace that call to "quickSort(this.proposals, 0, this.proposalsPtr);" which are almost the same things these tests start passing.

Therefore the issue is localized and we just need to dig the rootcause.


> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

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

Sergey Kuksenko updated HARMONY-3339:
-------------------------------------

    Attachment: Arrays_sort.patch

The source of the errror is incorrect comparator. 
However, I can suggest a patch to Arrays which makes Arrays.sort slightly close to RI. 
With the patch sorting algorithm is not changed, but ArraysSortTest.java is passed as on RI. 




> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>         Attachments: Arrays_sort.patch, ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

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

Alexey Petrenko updated HARMONY-3339:
-------------------------------------

    Attachment:     (was: Arrays_sort.patch)

> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>         Attachments: ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479563 ] 

Aleksey Ignatenko commented on HARMONY-3339:
--------------------------------------------

To reproduce one needs to: 
1. build the latest Harmony jre (I have r499267.) 
2. dowload EUT runniing script from jira-2038 
3. update eut.properties: set test.jre.home= to Harmony jre home 
4. run "ant -Dtests=jdtcoremodel" 

> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496181 ] 

Aleksey Ignatenko commented on HARMONY-3339:
--------------------------------------------

Eugene, thanks for the comment.
As the bug is in the tests then it is to be filed on Eclipse and this JIRA closed with comment about Eclipse bug.
Please, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=176157 as example of Harmony related bug.

> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>         Attachments: ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene S. Ostrovsky updated HARMONY-3339:
-----------------------------------------

    Attachment: ArraysSortTest.java

Atttached file:
  ArraysSortTest.java

Simple (incorrct) test that shows bug2bug incompatibility with RI in Arrays.sort() implementation.
Tests passes on RI but fails on harmony.


> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>         Attachments: ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3339) [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496247 ] 

Alexey Petrenko commented on HARMONY-3339:
------------------------------------------

I've created new bug against Eclipse: https://bugs.eclipse.org/bugs/show_bug.cgi?id=187223

> [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: Arrays_sort.patch, ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

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

Sergey Kuksenko updated HARMONY-3339:
-------------------------------------

    Attachment: Arrays_sort.patch

The source of the errror is incorrect comparator.
However, I can suggest a patch to Arrays which makes Arrays.sort slightly close to RI.
With the patch sorting algorithm is not changed, but  ArraysSortTest.java is passed as on RI.


> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>         Attachments: Arrays_sort.patch, ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495898 ] 

Eugene S. Ostrovsky commented on HARMONY-3339:
----------------------------------------------

The bug is in the tests.

org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults() method contains incorrect code for array sorting:
......
Arrays.sort(this.proposals, new Comparator() {
    public int compare(Object o1, Object o2) {
        if (o1 instanceof CompletionProposal && o2 instanceof CompletionProposal) {
            CompletionProposal p1 = (CompletionProposal) o1;
            CompletionProposal p2 = (CompletionProposal) o2;
            int relDif = p2.getRelevance() - p1.getRelevance();
            if(relDif != 0)  return relDif;
            String name1 = getElementName(p1);
            String name2 = getElementName(p2);
            return name1.compareTo(name2);
        }
        return -1;
    }
});
..........

Provided comparator is incorrect for null elements. It returns -1 if any of compared objects is null.
The array contains null elements and is sorted incorrectly.
RI sorts the array correctly because it uses different algorithm for Arrays.sort() implementation.

Suggestions to fix (one of the following):
1. Use :Arrays.sort(this.proposals, 0, proposalsPtr + 1, new Comparator() {...
2. Fix the comparator


> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Assigned: (HARMONY-3339) [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

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

Alexey Petrenko reassigned HARMONY-3339:
----------------------------------------

    Assignee: Alexey Petrenko

> [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: Arrays_sort.patch, ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3339) [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

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

Alexey Petrenko updated HARMONY-3339:
-------------------------------------

    Component/s:     (was: DRLVM)
                 Classlib
        Summary: [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException  (was: [drlvm][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException)

> [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: Arrays_sort.patch, ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3339) [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

Posted by "Nina Rinskaya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497785 ] 

Nina Rinskaya commented on HARMONY-3339:
----------------------------------------

The issue wasn't reproduced when I applied the patch from https://bugs.eclipse.org/bugs/show_bug.cgi?id=187223 to EUT 3.2 and ran 'jdtcoremodel' on Linux ia32 (hope that's ok that I used quite an old build, svn = r534465, (May  3 2007)). 

> [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: Arrays_sort.patch, ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Resolved: (HARMONY-3339) [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

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

Alexey Petrenko resolved HARMONY-3339.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: Arrays_sort.patch, ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3339) [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException

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

Alexey Petrenko updated HARMONY-3339:
-------------------------------------

    Comment: was deleted

> [classlib][luni][EUT] 51 tests fail in jdtcoremodel suit with NullPointerException
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-3339
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3339
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: Arrays_sort.patch, ArraysSortTest.java
>
>
> EUT: jdtcoremodel suit - 51 tests fails due to NullPointerException.
> Log:
> N/A 
> java.lang.NullPointerException
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getElementName(CompletionTestsRequestor2.java)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.printProposal(CompletionTestsRequestor2.java:201)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getResultsWithoutSorting(CompletionTestsRequestor2.java:185)
> at org.eclipse.jdt.core.tests.model.CompletionTestsRequestor2.getReversedResults(CompletionTestsRequestor2.java:160)
> at org.eclipse.jdt.core.tests.model.AbstractJavadocCompletionModelTest.assertSortedResults(AbstractJavadocCompletionModelTest.java:209)
> at org.eclipse.jdt.core.tests.model.JavadocBugsCompletionModelTest.testBug118311(JavadocBugsCompletionModelTest.java:713)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:96)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java)
> at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:67)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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