- This topic has 14 replies, 2 voices, and was last updated 14 years, 4 months ago by jjastrow.
-
AuthorPosts
-
jjastrowMemberI get this error upon opening. Below is the log file.
An internal error occurred during: “Initializing TargetCfg”.
Could not initialize class org.apache.commons.httpclient.HttpClient—- LOG FILE from today:
!SESSION 2010-06-25 15:51:19.191 ———————————————–
eclipse.buildId=unknown
java.version=1.6.0_13
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.equinox.registry 2 0 2010-06-25 15:51:32.113
!MESSAGE The extensions and extension-points from the bundle “org.eclipse.epf.richtext” are ignored. The bundle is not marked as singleton.!ENTRY com.genuitec.eclipse.ws 1 0 2010-06-25 15:52:24.331
!MESSAGE Error enabling REST commands
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.ws.WSCore.refreshPluginActions(WSCore.java:100)
at org.eclipse.ui.plugin.AbstractUIPlugin$2.bundleChanged(AbstractUIPlugin.java:602)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:919)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)!ENTRY org.eclipse.jface 2 0 2010-06-25 15:52:37.112
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-06-25 15:52:37.112
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@1029c1c,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)!ENTRY org.eclipse.core.jobs 4 2 2010-06-25 15:52:42.237
!MESSAGE An internal error occurred during: “Initializing TargetCfg”.
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
at com.genuitec.pulse2.common.http.httpclient.ws.internal.HttpClientMaynstallClient.initializeHttpClient(Unknown Source)
at com.genuitec.pulse2.common.http.httpclient.ws.internal.HttpClientMaynstallClient.<init>(Unknown Source)
at com.genuitec.pulse2.common.http.httpclient.ws.internal.HttpClientMaynstallClientProvider.getMaynstallClient(Unknown Source)
at com.genuitec.pulse2.client.services.internal.PulseClient.updateDelegate(Unknown Source)
at com.genuitec.pulse2.client.services.internal.PulseClient.initialize(Unknown Source)
at com.genuitec.pulse2.client.services.internal.PulseClient.execute(Unknown Source)
at org.eclipse.maynstall.client.core.MaynstallActionRequest.execute(Unknown Source)
at com.genuitec.pulse2.client.properties.PropertyServices.fetchProperties(Unknown Source)
at com.genuitec.pulse2.client.properties.PropertyServices.getProperties(Unknown Source)
at com.genuitec.pulse2.client.properties.PropertyServices.getBooleanProperty(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.errors.ErrorReporterService.report(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.errors.ErrorReporterService.report(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.internal.services.ClientBlueprintServerLookup.sendErrorReport(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.internal.services.ClientBlueprintServerLookup.syncBlueprint(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.ClientBlueprintServices.getBlueprint(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.ClientBlueprintServices.getThisBlueprint(Unknown Source)
at com.genuitec.pulse2.client.targetcfg.ui.jobs.InitializeTargetCfgJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
support-shaliniMemberjjastrow,
Can you try using pulse for a quick fix? The following are the steps –
1. Download pulse explorer from http://www.poweredbypulse.com.
2. Open pulse explorer and select “Eclipse Galileo” in the left pane.
3. Your profile should be listed under “My Profiles”. Right click on it and select “Re-Install and Run”
Let me know if this works for you.
jjastrowMemberOkay, that fixed it after I also removed an invalid entry.
support-shaliniMemberjjastrow,
Good to know that you are all set.
Do let us know if you have any issues
jjastrowMemberActually, it did not fix it. Still getting the same error. Here are the logs from this morning just started it up:
An internal error occurred during: “Initializing TargetCfg”.
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
at com.genuitec.pulse2.common.http.httpclient.ws.internal.HttpClientMaynstallClient.initializeHttpClient(Unknown Source)
at com.genuitec.pulse2.common.http.httpclient.ws.internal.HttpClientMaynstallClient.<init>(Unknown Source)
at com.genuitec.pulse2.common.http.httpclient.ws.internal.HttpClientMaynstallClientProvider.getMaynstallClient(Unknown Source)
at com.genuitec.pulse2.client.services.internal.PulseClient.updateDelegate(Unknown Source)
at com.genuitec.pulse2.client.services.internal.PulseClient.initialize(Unknown Source)
at com.genuitec.pulse2.client.services.internal.PulseClient.execute(Unknown Source)
at org.eclipse.maynstall.client.core.MaynstallActionRequest.execute(Unknown Source)
at com.genuitec.pulse2.client.properties.PropertyServices.fetchProperties(Unknown Source)
at com.genuitec.pulse2.client.properties.PropertyServices.getProperties(Unknown Source)
at com.genuitec.pulse2.client.properties.PropertyServices.getBooleanProperty(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.errors.ErrorReporterService.report(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.errors.ErrorReporterService.report(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.internal.services.ClientBlueprintServerLookup.sendErrorReport(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.internal.services.ClientBlueprintServerLookup.syncBlueprint(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.ClientBlueprintServices.getBlueprint(Unknown Source)
at com.genuitec.pulse2.client.common.provisioning.ClientBlueprintServices.getThisBlueprint(Unknown Source)
at com.genuitec.pulse2.client.targetcfg.ui.jobs.InitializeTargetCfgJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
————————————————
Keybinding conflicts occurred. They may interfere with normal accelerator operation.
An exception stack trace is not available.
—————————————
A conflict occurred for SHIFT+DEL:Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@17436b5,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),,,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
An exception stack trace is not available.
—————————————
Error enabling REST commands
java.lang.NullPointerException
at com.genuitec.eclipse.ws.WSCore.refreshPluginActions(WSCore.java:100)
at org.eclipse.ui.plugin.AbstractUIPlugin$2.bundleChanged(AbstractUIPlugin.java:602)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:919)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
—————————————
The extensions and extension-points from the bundle “org.eclipse.epf.richtext” are ignored. The bundle is not marked as singleton.
support-shaliniMemberjjastrow,
Sorry for the inconvenience.
This can also be caused by the missing myeclipse.ini file. Can you try doing a clean install of MyEclipse?
The following are the steps –
1. Run the uninstaller.
2. Make sure the MyEclipse Install Directory has been completely removed
2.1. Pulse Install Directory, on XP it’s under C:\Program Files in \Pulse or \Genuitec, and on Vista it’s under <USER.HOME>\AppData\Local
and then under \Pulse or \Genuitec again
3. Then make sure the pulse2.locator file under <USER.HOME> is erased as well
4. Now install MyEclipse either from all-in-one installer or from pulse.Let me know how that works for you.
jjastrowMemberThat idea scares me. I don’t want to lose ALL my configurations. I’ve spent so much time getting my existing config and add-ons just right for my development projects. I’m thinking it will take a long time to redo much of what I have. Are there MyEclipse config files that I can back up to be sure I don’t lose all my past work?
support-shaliniMemberjjastrow,
What is the OS you are using? Can you search for myeclipse.ini file in your system and copy that to MyEclipse installation dir?
Alternately you can try creating a myeclipse.ini file under the installation dir. For Windows, the following are the contents of the file-startup
../../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
../../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
C:/Program Files/Genuitec/Profiles/MyEclipse 8.5
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
-configuration
configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64mPlease replace with appropriate directory structures where ever necessary and also ensure that no special characters are introduced.
Let me know if that helps
jjastrowMemberMy file was in C:\Program Files\Genuitec\Profiles\MyEclipse 8.x\myeclipse.ini
Only difference was mine had “8.x”
-install
C:/Program Files/Genuitec/Profiles/MyEclipse 8.xI’m about to renew my license and change from the Pro to the new Spring version. Will that require a reinstall? If so, then we probably should wait and see how that goes.
support-shaliniMemberjjastrow,
MyEclipse for Spring requires a separate installation and license.
jjastrowMemberOkay, I installed MyEclipse for Spring using Pulse and get the same error every time I start up. This occurs even when I switch to other workspaces or create a new workspace. Most everything seems to work okay when I close the error message popup so I’m not stuck. What can you suggest?
support-shaliniMemberjjastrow,
Can you copy paste the contents of your .ini file and .pulse2.locator (located in your user home dir)?
jjastrowMemberC:\Program Files\Genuitec\Profiles\MyEclipse for Spring 8.5\myeclipseforspring.ini
————————————————-
-startup
../../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
../../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
C:/Program Files/Genuitec/Profiles/MyEclipse for Spring 8.5
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
-configuration
configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64mC:\Documents and Settings\jjastro\.pulse2.locator
———————————–
C:\Program Files\GenuitecC:\Program Files\Genuitec\Pulse Explorer\pulse-explorer.ini
——————————————————
-showsplash
platform:/base/plugins/com.genuitec.pulse2.client.launcher.ui
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
–launcher.XXMaxPermSize
256m
-vmargs
-Xms128m
-Xmx340m
support-shaliniMemberjjastrow,
All your files look good. It could be possible that pulse is getting confused by any multiple .ini files related to other installations at any different locations.
The only workaround that I can suggest is a clean install after removing all the previous installations.
jjastrowMemberYour suggestion does not make sense to me. Is Pulse still an issue if I’m getting this error when opening Eclipse?
“Could not initialize class org.apache.commons.httpclient.HttpClient”
I would think that the eclipse startup process is not finding the right jar file or something.A reinstall of everything also does not make sense because I just did a reinstall of MyEclipse for Spring. Isn’t there someone who might know exactly what this error message means?
-
AuthorPosts