Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsTPTP in Europa: problem with NPE
https://www.eclipse.org/forums/index.php/mv/msg/28832/93568/#msg_93568
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)
Regards,
Seweryn Niemiec]]>Seweryn Niemiec2007-03-15T14:15:28-00:00Re: TPTP in Europa: problem with NPE
https://www.eclipse.org/forums/index.php/mv/msg/28832/93654/#msg_93654
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 00725996852572A0_=
Content-Type: text/plain; charset="US-ASCII"
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.
<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">Please see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=174402</font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
<br>
--=_alternative 00725996852572A0_=--]]>2007-03-16T20:48:59-00:00Re: TPTP in Europa: problem with NPE
https://www.eclipse.org/forums/index.php/mv/msg/28832/95538/#msg_95538
------=_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).
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
<!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>