- This topic has 13 replies, 5 voices, and was last updated 14 years, 7 months ago by Brian Fernandes.
-
AuthorPosts
-
nguyenc1MemberHello,
I could not run JUnit in my Eclipse. I get the <Terminated> without any further error message to trace and would appreciate any responses.
Thanks,
Chris
Loyal WaterMemberChris,
Can you check if any messages related to this issue are logged under <workspace>/.metadata/.log file?Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
Could please list the steps you followed so that I can try to replicate this issue at my end.
nguyenc1MemberGood morning Nipun,
Thank you for the quick response. I looked at the .log and find nothing related to JUnit. I also try to run it again and see it records anything but it didn’t. Below is the message from MyEcilpse > Installation…
Hope to hear from you again soon. Thanks.*** Date:
Monday, March 2, 2009 9:42:43 AM PST** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.0
Build id: 7.0-20081201Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.0\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
Loyal WaterMemberCould please list the steps you followed so that I can try to replicate this issue at my end.
nguyenc1MemberOh I forgot to list the steps, so you could replicate the problem…
Basically, I checked out the project from CVS and there’s already a JUnit folders with all the available test cases. I just picked one, right click and run as JUnit Test… then I got the only <Teminated> message. My co-worker has the same installations (JDK, MyEclipse) and configuration like mine and he’s able to run it. We spends a good day to compare note but could not come up with anything.
Loyal WaterMemberCan you get your friend to export his project using File > Export > Archive, and send it to you, and then you import it using File > Import > Existing Project, and see if you can run JUnit. Let me know what result you get.
nguyenc1MemberHi Nipun,
I did your suggestion of Export and Import the project, but still get the <Teminated> message.
Loyal WaterMemberIf that’s the case, then there is probably a problem with the launch configuration used to run the Ant script OR the Ant configuration. Can you go to Windows > Pref > Ant and hit the “Restore Defaults” button, Now go to Run > External Tool > External Tool Configuration and erase the run configurations for the Ant scripts, and then try and re-run them.
If NONE of that works, compare the Ant preferences with your buddies and even compare the Ant run configurations.
nguyenc1MemberHi Nipun,
I think you are correct in term of “a problem with the launch configuration…” because I’ve created a simple HelloWorld project and able to run JUnit there.
I went to Windows > Pref > Ant and hit the “Restore Defaults” button
I could not delete the run configurations because I don’t have anything at Run > External Tool > External Tool ConfigurationWe did a comparation of our Ant preferences but there are not much to compare…
Any other suggestions?Thanks,
Chris
Loyal WaterMemberChris,
I have run out of ideas. This is a very strange issue. I’ll check with the dev team and let you know if they have any inputs on this.
Ron PerichMemberWe are having a similar issue with our team’s project.
Two of us can run JUnit within our project and two of us cannot. One of the developers narrowed down a symptom/cause of the problem, but don’t know how to correct.
She started removing jars from the project until JUnit started working. When she got to adding them back in, one at a time, everything kept working.
Suddenly, on the addition of the 41st jar file, the JUnit stopped working. It doesn;t matter what the 41st jar file is, JUnit will not work.
I hope you have some ideas on this. We are absolutely baffled.
Ron PerichMemberWe are having a similar issue with our team’s project.
Two of us can run JUnit within our project and two of us cannot. One of the developers narrowed down a symptom/cause of the problem, but don’t know how to correct.
She started removing jars from the project until JUnit started working. When she got to adding them back in, one at a time, everything kept working.
Suddenly, on the addition of the 41st jar file, the JUnit stopped working. It doesn;t matter what the 41st jar file is, JUnit will not work.
I hope you have some ideas on this. We are absolutely baffled.
support-chakriMemberHi,
I have escalated this to the dev team member, they will get back to you on this.
Thanks,
Chakri.
Brian FernandesModeratorrperich, your issue is being addressed here: http://www.myeclipseide.com/PNphpBB2-viewtopic-t-25529-sid-e972df23e81130308f5708070882bfc4.html
-
AuthorPosts