Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [jdt-dev] problem by using JavaCore.create(..)

Hi,

  This is just a 	quick idea. Check out the  .log file in
$ECLIPSE_HOME/workspace/.metadata.

  try to put  e.printStackTrace for JavaCore.create(project), you might find the
actual exception.

Thanks & Regards,
Balasubramaniyan K
Phone: 22051460 (Direct Line)


-----Original Message-----
From: jdt-dev-admin@xxxxxxxxxxx [mailto:jdt-dev-admin@xxxxxxxxxxx]On
Behalf Of bcharles@xxxxxxx
Sent: Wednesday, February 11, 2004 6:31 PM
To: jdt-dev@xxxxxxxxxxx
Subject: [jdt-dev] problem by using JavaCore.create(..)


hello!

i've some problems by using the JavaCore.create(..). i've written a plug-in,
and i implemented the IActionDelegate interface from the package
org.eclipse.ui. in this implementation i extract a IResource
(org.eclipse.core.resource.IResource) from the IStructuredSelection-"Object".
now i want to get the
IJavaProject - which i can use in another framework. first i ask IProjcet
projcet
= IResource.getProject() - no problems. but as soon as i ask IJavaProject
myJavaProject = JavaCore.create(project) i'll get a runtime error. the
error-message is:
"Unhadled event loop exception
 Reason:
 org/eclipse/jdt/core/JavaCore"

and i have no more ideas how i can  prevent this exception!

i look forward for some tips how i can solve this problem!

thanks to your all!
wolfgang

--
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++

_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-dev




Back to the top