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 10:00:29 UTC

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

    [ 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.