Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » PDE Build problem: NPE when test fail
PDE Build problem: NPE when test fail [message #253380] Wed, 16 June 2004 15:12 Go to next message
Eclipse UserFriend
I have been experiencing this problem for quite a while (it was not
happening 1 or 2 months ago). Whenever a JUnit test fails, I am getting a
NPE as indicated below. I've been always using the latest integration
driver and the HEAD version of org.eclipse.releng.basebuilder in my builds.

Note: The html file generated for the test is OK.

Does anyone have any tip I could use to fix this?

generateIndex:
[indexResults] Begin: Generating test results index page
[indexResults] Parsing XML files

BUILD FAILED
java.lang.NullPointerException
at
org.eclipse.releng.generators.ErrorTracker.registerError(Err orTracker.java:1
66)
at
org.eclipse.releng.generators.TestResultsGenerator.parseXml( TestResultsGener
ator.java:303)
at
org.eclipse.releng.generators.TestResultsGenerator.execute(T estResultsGenera
tor.java:130)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215 )
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215 )
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215 )
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215 )
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215 )
at org.apache.tools.ant.Project.executeTargets(Project.java:106 3)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.ja
va:633)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.ja
va:539)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:488)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:334)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:272)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:638)
at org.eclipse.core.launcher.Main.main(Main.java:622)
Re: PDE Build problem: NPE when test fail [message #253569 is a reply to message #253380] Wed, 16 June 2004 19:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: akiezun.cutthis.mit.this.edu.andthis

Marcelo,
Have you tried entering a bugzilla report?
If this is a bug it should be fixed. There's less and less time for
fixes now, before 3.0

a.

Marcelo Paternostro wrote:

> I have been experiencing this problem for quite a while (it was not
> happening 1 or 2 months ago). Whenever a JUnit test fails, I am getting a
> NPE as indicated below.
Re: PDE Build problem: NPE when test fail [message #254285 is a reply to message #253569] Mon, 21 June 2004 11:36 Go to previous message
Eclipse UserFriend
FYI.

I've opened the defect and it was fixed.

Here's the link
https://bugs.eclipse.org/bugs/show_bug.cgi?id=67667



"adam kiezun" <akiezun@cutthis.mit.this.edu.andthis> wrote in message
news:cas4s5$70q$2@eclipse.org...
> Marcelo,
> Have you tried entering a bugzilla report?
> If this is a bug it should be fixed. There's less and less time for
> fixes now, before 3.0
>
> a.
>
> Marcelo Paternostro wrote:
>
> > I have been experiencing this problem for quite a while (it was not
> > happening 1 or 2 months ago). Whenever a JUnit test fails, I am getting
a
> > NPE as indicated below.
Previous Topic:problem with multiple views and perspective placeholders
Next Topic:Is source code in the correct directory structure a requirement for Eclipse 2.1?
Goto Forum:
  


Current Time: Mon May 12 10:06:35 EDT 2025

Powered by FUDForum. Page generated in 0.03824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top