Consultor Eletrônico



Kbase P122134: Architect fails to start with error "An error has occurred. See the log file"
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/01/2009
Status: Verified

SYMPTOM(s):

Architect fails to start with error "An error has occurred. See the log file"

Architect does not start if the OpenEdge install directory name includes spaces.

"An error has occurred . See the log file"
"C:\Documents and Settings\user\workspace\.metadata\.log"

A space in the install directory name (e.g "C:\Program Files\101B") results in Architect failing to start.

The .log file includes the errors:

!SESSION 2007-02-06 11:56:10.281 -----------------------------------------------
eclipse.buildId=M20060629-1905
java.version=1.4.2_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.core.runtime 2007-02-06 11:56:11.252
!MESSAGE Product com.openedge.pdt.core.product could not be found. !ENTRY org.eclipse.osgi 4 0 2007-02-06 11:56:11.282
!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:56)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952) !ENTRY org.eclipse.osgi 2 0 2007-02-06 11:56:11.312
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-02-06 11:56:11.312

FACT(s) (Environment):

OpenEdge 10.1B

CAUSE:

Bug# OE00146004

CAUSE:

If your DLC is located at: C:\Program Files\OpenEdge101B\DLC

The openedge.link file should contain an entry like:
path=C:\\Program Files\\OpenEdge101B\\DLC\\oeide\\architect\\

Instead, the openedge.link file remains unchanged:
path=[[install-dir]]\oeide\oeplugins\

FIX:

As a workaround, install OpenEdge 10.1B to a directory structure that does not include spaces.

Another workaround consists in modifying manually the openedge.link file located in %DLC%\oeide\eclipse\links considering the explanations above.

This issue is fixed in OpenEdge 10.1C