The most common time that this happens is if you try to run the application but don't have all the features in your workspace.  You have to have all (or most) of the plugins from the plugins/ directory and all the features from the features/ directory in your workspace for the product to run.

If you want to just get it running quickly you can usually open the Run > Run... menu item.  Choose plug-ins tab.  Click Add Required Plugins.  (Click the Validate Plug-in Set button to make sure it worked and there are no detected errors).  Click run to run the product.  This usually fixes the problems.

Jesse

On 22-Mar-06, at 5:09 AM, Jonas Johansson wrote:

Hi,

I need some help getting rid of this strange problem. I am trying to
develop a plug-in but I can't really do anything anymore because eclipse
suddenly can not launch the product. My guess is that it has something
to do with plug-ins coming in from several locations (workspaces,
configuration directories etc).

Last time the problem happened was when I added my plug-in from my
workspace + the required dependencies to the product. I get an error
message "Could not launch the configuration. Details are in the log.
Would you like to open it?". When I change back (remove the added
plug-ins from the launch) the problem is still there. When I change
Plug-in Development Target Platform, the problem is still there.

Thanks for any help! Some more details and log below.

Jonas

This is the setup and some more details:

* eclipse SDK is at /usr/local/eclipse-wtp/eclipse/ (has a configuration
directory)
* workspace is at /home/jonas/workspace_ett (my plug-in is here)
* trunk is at /home/jonas/udig_src/trunk 
* udig SDK is at /home/jonas/udig_SDK/udig (has a configuration
directory)

I did the "project quickstart". The default seem to be that ECLIPSE_HOME
is /usr/local/eclipse-wtp/eclipse/. However, the the product doesn't
launch correctly until I change the Plug-in Development -> Target
Platform -> Location from /usr/local/eclipse-wtp/eclipse/
to /home/jonas/udig_SDK/udig. This also automatically changes
ECLIPSE_HOME to /home/jonas/udig_SDK/udig.
My plug-in is in /home/jonas/workspace_ett and when I add it + required
dependencies to the product I get an error message "Could not launch the
configuration. Details are in the log."

The log contains:

!SESSION Wed Mar 22 13:41:11 CET 2006
------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2006-03-22 13:41:11.498
!MESSAGE -showsplash
!STACK
java.io.IOException:
java.io.IOException: /home/jonas/udig_SDK/udig/eclipse: not found
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:464)
at org.eclipse.core.launcher.Main.runCommand(Main.java:1565)
at org.eclipse.core.launcher.Main.handleSplash(Main.java:1541)
at org.eclipse.core.launcher.Main.basicRun(Main.java:276)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

!SESSION 2006-03-22 13:41:11.100
-----------------------------------------------
eclipse.buildId=I20050627-1435
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Framework arguments:  -product net.refractions.udig.product -pdelaunch
Command-line arguments:  -product net.refractions.udig.product
-data /home/jonas/runtime-udig-src.product -dev

!ENTRY org.eclipse.core.runtime 2006-03-22 13:41:14.764
!MESSAGE Product net.refractions.udig.product could not be found.

!ENTRY org.eclipse.osgi 2006-03-22 13:41:14.772
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.core.internal.runtime.PlatformActivator
$1.run(PlatformActivator.java:204)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

_______________________________________________
User-friendly Desktop Internet GIS (uDig)

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to