TPTP in Europa: problem with NPE [message #93568] |
Thu, 15 March 2007 10:15  |
Eclipse User |
|
|
|
Hi,
I try to profile JUnit tests. Just after launching configuration I
get:
java.lang.NullPointerException
at org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDeleg ate.collectExecutionArguments(JUnitLaunchConfigurationDelega te.java:316)
at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity$JUnitConfigurationExtended.collectExecutionArguments(La uncherUtility.java:1319)
at org.eclipse.tptp.trace.ui.internal.launcher.deleg.applicatio n.AbstractJUnitDelegate.preLaunch(AbstractJUnitDelegate.java :80)
at org.eclipse.tptp.trace.ui.internal.launcher.deleg.applicatio n.PIJUnitLauncherDelegate.preLaunch(PIJUnitLauncherDelegate. java:37)
at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1168)
at org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:188)
at java.lang.Thread.run(Thread.java:619)
What can be wrong?
I get same error using TPTP from here
http://www.eclipse.org/tptp/home/downloads/?ver=4.4.0 or from Update
Manager for Europa
Regards,
Seweryn Niemiec
|
|
|
|
Re: TPTP in Europa: problem with NPE [message #95538 is a reply to message #93654] |
Thu, 12 April 2007 07:51  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_002F_01C77CDF.C683DBF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Seweryn,
As an alternative, you can profile your JUnit test suite as a Java =
application if you use another JUnit runner (e.g. textual TestRunner).
Paul
"Navid_Mehregani" <nmehrega@ca.ibm.com> wrote in message =
news:etevrr$9b4$1@utils.eclipse.org...
Hello,=20
Please see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D174402=20
As noted in this bug report, profiling a JUnit class has a dependency =
on JDT internal code that's no longer supported. We plan on taking out =
JUnit profiling support in TPTP 4.4.=20
Navid Mehregani=20
------=_NextPart_000_002F_01C77CDF.C683DBF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16414" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi <FONT face=3D"Times New Roman"=20
size=3D3>Seweryn,</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2> As an alternative, =
you can=20
profile your JUnit test suite as a Java application if you use another =
JUnit=20
runner (e.g. textual TestRunner).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Paul</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Navid_Mehregani" <<A=20
href=3D"mailto:nmehrega@ca.ibm.com">nmehrega@ca.ibm.com</A>> wrote =
in message=20
<A=20
=
href=3D"news:etevrr$9b4$1@utils.eclipse.org">news:etevrr$9b4$1@utils.ecli=
pse.org</A>...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>Hello,</FONT> <BR><BR><FONT =
face=3Dsans-serif=20
size=3D2>Please see: <A=20
=
href=3D"https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D174402">https://b=
ugs.eclipse.org/bugs/show_bug.cgi?id=3D174402</A></FONT>=20
<BR><BR><FONT face=3Dsans-serif size=3D2>As noted in this bug report, =
profiling a=20
JUnit class has a dependency on JDT internal code that's no longer =
supported.=20
We plan on taking out JUnit profiling support in TPTP =
4.4.</FONT>=20
<BR><BR><FONT face=3Dsans-serif size=3D2>Navid Mehregani</FONT>=20
<BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_002F_01C77CDF.C683DBF0--
|
|
|
Powered by
FUDForum. Page generated in 0.11013 seconds