Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jjastrow
Post subject: 'Problem Occurred' popup error when opening MyEclipse  PostPosted: Jun 25, 2010 - 10:13 PM
Registered Member
Registered Member


Joined: Aug 26, 2004
Posts: 24

I 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,remove 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)
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE:  PostPosted: Jun 28, 2010 - 05:46 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jjastrow,
Can you try using pulse for a quick fix? The following are the steps -
1. Download pulse explorer from 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.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jjastrow
Post subject: RE:  PostPosted: Jul 02, 2010 - 03:58 PM
Registered Member
Registered Member


Joined: Aug 26, 2004
Posts: 24

Okay, that fixed it after I also removed an invalid entry.
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE:  PostPosted: Jul 05, 2010 - 05:04 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jjastrow,
Good to know that you are all set.
Do let us know if you have any issues

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jjastrow
Post subject: RE:  PostPosted: Jul 06, 2010 - 02:31 PM
Registered Member
Registered Member


Joined: Aug 26, 2004
Posts: 24

Actually, 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,remove 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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE:  PostPosted: Jul 07, 2010 - 05:57 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jjastrow,
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.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jjastrow
Post subject: RE:  PostPosted: Jul 11, 2010 - 05:55 PM
Registered Member
Registered Member


Joined: Aug 26, 2004
Posts: 24

That 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?
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE:  PostPosted: Jul 13, 2010 - 10:16 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jjastrow,
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
Quote:
-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=64m

Please replace with appropriate directory structures where ever necessary and also ensure that no special characters are introduced.
Let me know if that helps

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jjastrow
Post subject: RE:  PostPosted: Jul 13, 2010 - 08:12 PM
Registered Member
Registered Member


Joined: Aug 26, 2004
Posts: 24

My 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.x

I'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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE:  PostPosted: Jul 14, 2010 - 05:49 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jjastrow,
MyEclipse for Spring requires a separate installation and license.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jjastrow
Post subject: RE:  PostPosted: Jul 16, 2010 - 11:15 PM
Registered Member
Registered Member


Joined: Aug 26, 2004
Posts: 24

Okay, 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?
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE:  PostPosted: Jul 19, 2010 - 07:47 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jjastrow,
Can you copy paste the contents of your .ini file and .pulse2.locator (located in your user home dir)?

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jjastrow
Post subject: RE:  PostPosted: Jul 27, 2010 - 05:29 PM
Registered Member
Registered Member


Joined: Aug 26, 2004
Posts: 24

C:\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=64m


C:\Documents and Settings\jjastro\.pulse2.locator
-----------------------------------
C:\Program Files\Genuitec


C:\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
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE:  PostPosted: Jul 29, 2010 - 09:48 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jjastrow,
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.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jjastrow
Post subject: RE:  PostPosted: Jul 29, 2010 - 11:51 PM
Registered Member
Registered Member


Joined: Aug 26, 2004
Posts: 24

Your 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?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits