facebook

Eclipse 2.1.2 & ME 2.7RC2 on Debian [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #203892 Reply

    Paul
    Participant

    I just got a new machine, and installed debian/testing on it. Everything seemed to be working okay, and I then put eclipse on it. That was fine as well, so I then downloaded MyEclipse 2.7RC2 (I’ve been using 2.6 on my old box w/o issue). At the end of installation of MyEclipse, and message pops up that states:

    The installation of MyEclipse Enterprise Workbench v2.7-RC2 is complete, but some errors occured during the install.”

    I check the log file inside of the MyEclipse directory, and it states:

    Installation: Successfull with errors.

    1779 SUCCESSES
    0 WARNINGS
    1 NONFATAL ERRORS
    0 FATAL ERRORS

    Scrolling to the bottom of that file, I finally see….

    Install Action: RPMSpecFile
    Status: ERROR

    Additional Notes: ERROR – There was a problem creating the RPM package. You may not be running as root or may not have installed RPM Builder correctly. ERROR – java.lang.NullPointerException

    I started Eclipse despite this, and there is no indication that MyEclipse was installed. If I click on the Help menu, the MyEclipse logo does appear, but that is it. There is no mention or option to conifigure or use MyEclipse from the Window-Preferences menu.

    My setup is:
    OS: Debian, testing – a new install
    Eclipse Version: 2.1.2
    Build id: 200311030802
    Eclipse was just freshly installed (about four times now….).
    No other plugins
    Attempting to install MyEclipse 2.7RC2
    Java 1.4.2_03, build 1.4.2_03-b02

    The top of the Eclipse log file:

    !SESSION Feb 25, 2004 17:27:47.393 ———————————————
    java.version=1.4.2_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86 -install file:/home/paul/development/eclipse/
    !ENTRY org.eclipse.core.runtime 4 2 Feb 25, 2004 17:27:47.394
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NoClassDefFoundError: org/eclipse/core/resources/IResourceChangeListener
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClass(DelegatingURLClassLoader.java:922)
    at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:166)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:490)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at org.eclipse.debug.core.DebugPlugin.getLaunchManager(DebugPlugin.java:360)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.startup(DebugUIPlugin.java:313)
    at org.eclipse.core.internal.plugins.PluginDescriptor$1.run(PluginDescriptor.java:736)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:748)
    at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
    at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
    at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:490)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.access$0(DelegatingURLClassLoader.java:876)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader$DelegateLoader.loadClass(DelegatingURLClassLoader.java:90)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassPrerequisites(DelegatingURLClassLoader.java:554)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:890)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClass(DelegatingURLClassLoader.java:922)
    at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:196)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:490)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
    at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
    at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:158)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:155)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:103)
    at org.eclipse.ui.internal.WWinPluginPulldown.getPulldownDelegate(WWinPluginPulldown.java:74)
    at org.eclipse.ui.internal.WWinPluginPulldown$MenuProxy.getMenu(WWinPluginPulldown.java:35)
    at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:278)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:555)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:456)
    at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:209)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:555)
    at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:608)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:1717)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:1735)
    at org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindow.java:1509)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1483)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1363)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1263)
    at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1223)
    at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1141)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:1093)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:870)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    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.basicRun(Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main(Main.java:583)
    !ENTRY org.eclipse.core.runtime 4 2 Feb 25, 2004 17:27:47.418
    !MESSAGE Plug-in org.eclipse.ui.externaltools was unable to load class org.eclipse.ui.externaltools.internal.menu.ExternalToolMenuDelegate.
    !STACK 0
    org.eclipse.core.internal.boot.DelegatingLoaderException: org.eclipse.core.runtime.CoreException: Problems encountered starting up plug-in: “org.eclipse.debug.ui”.
    at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:754)
    at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
    at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
    at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:490)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.access$0(DelegatingURLClassLoader.java:876)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader$DelegateLoader.loadClass(DelegatingURLClassLoader.java:90)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassPrerequisites(DelegatingURLClassLoader.java:554)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:890)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClass(DelegatingURLClassLoader.java:922)
    at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:196)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:490)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
    at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
    at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
    at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:158)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:155)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:103)
    at org.eclipse.ui.internal.WWinPluginPulldown.getPulldownDelegate(WWinPluginPulldown.java:74)
    at org.eclipse.ui.internal.WWinPluginPulldown$MenuProxy.getMenu(WWinPluginPulldown.java:35)
    at org.eclipse.jface.action.ActionContributionItem.fil

    …….. and it continues ………..

    When I first looked at the above log file, the errors seemed to indicate it could not find the registered myeclipse plugins.

    Anyhow, I’d appreciate any help you can provide.

    Thank You, Paul

    #203897 Reply

    Riyad Kalla
    Member

    Paul,
    We had a heck of a time running this problem down with a SuSE user. It turns out that InstallAnywhere NEEDS rpmbuild in your path, and setting a sym link doesn’t cut it either. The gentleman in question ended up installing the rpm binaries and then the installer worked fine.

    #203899 Reply

    Paul
    Participant

    Okay, I’ve got rpmbuild installed and in my path. I tried the install, it still came back with the exact same issue. I rebooted, tried again, same thing. Is there anything besides the file ‘rpmbuild’ that has to be present that you know of? This was present in an RPM library, so I’m assuming it should have everything required.

    Thanks for your quick reply,

    Paul

    #203900 Reply

    Riyad Kalla
    Member

    Hmm, try running the installer with LAX_DEBUG=1 (or LAX_DEBUG=true) so we can see all of its output. Its hard to say right now.

    Note, if exporting LAX_DEBUG=1 first, then running the installer doesn’t work, try doing it all on the same line (export LAX_DEBUG=1 <installer executable>). We have had users report success with one and not the other, while others have success with the opposite combination.

    #203903 Reply

    Paul
    Participant

    I was antsy, read the last users (Suse) you had talked about earlier, and just ran the installer after setting LAX_DEBUG=1. The output looks a bit different than the prior users problem – his was I believe the utility not being found. Mine appears to be permission related. If I read this right, it’s trying to write to /usr/src/rpm/SRPMS, which is setup for only root to write to.

    System's temporary directory = /tmp
    RepositoryManager: Trying fallback repository location...
    RepositoryManager: lock acquired on: /home/paul/.com.zerog.registry.lock
    RepositoryManager: Local repository location is: /home/paul/development/MyEclips e/MyEclipse-UninstallerData/.com.zerog.registry.xml
    Retrying Installables deferred in pass 0
    Deferral retries done because:
    There were no deferrals in the last pass.
    RepositoryManager: lock acquired on: /home/paul/.com.zerog.registry.lock
    RepositoryManager: repository successfully written to stable storage
    RepositoryManager: lock acquired on: /home/paul/development/MyEclipse/MyEclipse- UninstallerData/.com.zerog.registry.lock
    RepositoryManager: repository successfully written to stable storage
    MAKING VIRTUAL PACKAGE: rpmbuild -ba /home/paul/development/MyEclipse/MyEclipse. spec
    + echo
    cbe-ERR: + rpmbuild -ba /home/paul/development/MyEclipse/MyEclipse.spec
    cbe-ERR: error: Could not open /usr/src/rpm/SRPMS/MyEclipse-2.1.1_EA2-2.1.1_EA2. src.rpm: Permission denied
    cbe-ERR: + r=1
    cbe-ERR: + echo 1
    cbe-ERR: + exit 1
    cbe-ERR: There was a problem creating the RPM package. You may not be running as  root or may not have installed RPM Builder correctly. error: java.io.IOExceptio n: CertifiedBourneExec.doExec(): java.io.IOException: Execution failed with non- zero exit value: rpmbuild
    RPM Error: java.lang.NullPointerException
    UPDATING RPM DATABASE: rpm -Uv --replacefiles --nodeps
    The script exited with an error: 1
     
    REGISTRY ALREADY STORED!
     
    cleanUp()
    calling cleanUpUNIX()
    

    Last little question, though I’m getting ahead of myself probably. What’s with the ‘REGISTRY ALREADY STORED!’ line?

    Thanks again for the quick response,

    Paul

    #203904 Reply

    Riyad Kalla
    Member

    Paul,
    Before we go too far down this path, you are using the Eclipse SDK (not the JDT) as your eclipse install correct?

    #203905 Reply

    Paul
    Participant

    Hah hah – good news. I’m retarted. I don’t know how I scrolled that far down their page just to download the wrong package. Anyhow, I got the correct one, and it’s working w/o problem – though I’m sure the RPM stuff was required regardless.

    Thanks again,

    Paul

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Eclipse 2.1.2 & ME 2.7RC2 on Debian [Closed]

You must be logged in to post in the forum log in