Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Cannot install new software (after Ubuntu upgrade)
Cannot install new software (after Ubuntu upgrade) [message #539349] Thu, 10 June 2010 14:02 Go to next message
Luca Ferrari is currently offline Luca FerrariFriend
Messages: 159
Registered: November 2009
Senior Member
After an upgrade from ubuntu 9.1 to 10.04 Eclipse starts, but all extensions I've installed (egit, hg and so on) are missing. More interesting, if I try to Install New Software nothing happens, that means I don't see any dialog opening and I found this exception into the log:

!ENTRY org.eclipse.osgi 4 0 2010-06-10 15:58:12.112
!MESSAGE 
!STACK 0
java.io.IOException: Manager is not opened.
        at org.eclipse.osgi.storagemanager.StorageManager.add(StorageManager.java:217)
        at org.eclipse.osgi.storagemanager.StorageManager.closeOutputStream(StorageManager.java:883)
        at org.eclipse.osgi.storagemanager.ManagedOutputStream.close(ManagedOutputStream.java:52)
        at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
        at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(BaseStorage.java:566)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:433)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkStop(BaseStorage.java:834)
        at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStop(BaseAdaptor.java:262)
        at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.stop(SystemBundleActivator.java:72)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.suspendAllBundles(StartLevelManager.java:623)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:265)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:216)
        at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
        at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:685)
        at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:583)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:409)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)
        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:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)




Any idea on how to fix it?
Re: Cannot install new software (after Ubuntu upgrade) [message #539434 is a reply to message #539349] Thu, 10 June 2010 17:12 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 10/06/10 7:32 PM, Luca Ferrari wrote:
> After an upgrade from ubuntu 9.1 to 10.04 Eclipse starts, but all
> extensions I've installed (egit, hg and so on) are missing. More
> interesting, if I try to Install New Software nothing happens, that
> means I don't see any dialog opening and I found this exception into the
> log:
>
>
> !ENTRY org.eclipse.osgi 4 0 2010-06-10 15:58:12.112
> !MESSAGE !STACK 0
> java.io.IOException: Manager is not opened.
> at
> org.eclipse.osgi.storagemanager.StorageManager.add(StorageMa nager.java:217)
> at
> org.eclipse.osgi.storagemanager.StorageManager.closeOutputSt ream(StorageManager.java:883)

Sounds like a bug to me. Open a bug:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: Cannot install new software (after Ubuntu upgrade) [message #539696 is a reply to message #539434] Fri, 11 June 2010 21:24 Go to previous messageGo to next message
Luca Ferrari is currently offline Luca FerrariFriend
Messages: 159
Registered: November 2009
Senior Member
Thanks, bug 316656 opened. Hope it will be solved very soon.
Re: Cannot install new software (after Ubuntu upgrade) [message #539920 is a reply to message #539696] Mon, 14 June 2010 09:51 Go to previous message
Luca Ferrari is currently offline Luca FerrariFriend
Messages: 159
Registered: November 2009
Senior Member
I found in the logs another interesting information about wrong permissions on
/usr/lib/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/PlatformProfile.profile/.lock


adjusting permissions solved the problem of the missing install new software dialog. Then I installed all the software I needed without having any error, but the software seems not to work, and now in my logs I found:

!SESSION 2010-06-14 11:43:44.504 -----------------------------------------------
eclipse.buildId=M20100211-1343
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.330
!MESSAGE The installable unit org.eclipse.cdt.core.linux.translated_host_properties is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.331
!MESSAGE The installable unit org.eclipse.equinox.executable_root.cocoa.macosx.x86_64 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.331
!MESSAGE The installable unit org.eclipse.equinox.executable_root.motif.hpux.ia64_32 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.332
!MESSAGE The installable unit org.eclipse.equinox.executable_root.win32.win32.x86 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.332
!MESSAGE The installable unit org.eclipse.equinox.executable_root.motif.linux.x86 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.332
!MESSAGE The installable unit org.eclipse.equinox.executable_root.gtk.solaris.x86 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.332
!MESSAGE The installable unit org.eclipse.equinox.executable_root.motif.hpux.PA_RISC is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.333
!MESSAGE The installable unit org.eclipse.equinox.executable_root.win32.win32.ia64 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.333
!MESSAGE The installable unit org.eclipse.equinox.executable_root.motif.solaris.sparc is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.333
!MESSAGE The installable unit org.eclipse.equinox.executable_root is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.333
!MESSAGE The installable unit org.eclipse.equinox.executable_root.cocoa.macosx.x86 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.334
!MESSAGE The installable unit org.eclipse.equinox.executable_root.carbon.macosx.x86 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.334
!MESSAGE The installable unit org.eclipse.equinox.executable_root.win32.win32.x86_64 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.334
!MESSAGE The installable unit org.eclipse.cdt.core.linux.x86_64.translated_host_properties is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.334
!MESSAGE The installable unit org.eclipse.cdt.core.linux.x86_64.translated_host_properties is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.335
!MESSAGE The installable unit org.eclipse.equinox.executable_root.gtk.solaris.sparc is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.335
!MESSAGE The installable unit org.eclipse.equinox.executable_root.gtk.linux.x86_64 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.335
!MESSAGE The installable unit org.eclipse.equinox.executable_root.photon.qnx.x86 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.336
!MESSAGE The installable unit org.eclipse.equinox.executable_root.gtk.linux.x86 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.336
!MESSAGE The installable unit org.eclipse.equinox.executable_root.carbon.macosx.ppc is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.337
!MESSAGE The installable unit org.eclipse.equinox.executable_root.wpf.win32.x86 is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.337
!MESSAGE The installable unit org.eclipse.equinox.executable_root.gtk.linux.ppc is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.337
!MESSAGE The installable unit org.eclipse.equinox.executable_root.cocoa.macosx.ppc is missing the filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2010-06-14 11:44:03.337
!MESSAGE The installable unit org.eclipse.equinox.executable_root.motif.aix.ppc is missing the filename property.

!ENTRY org.eclipse.equinox.p2.engine 4 4 2010-06-14 11:44:05.544
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2010-06-14 11:44:05.544
!MESSAGE session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]org.eclipse.equinox.executable_root 3.3.200.R35x_v20090724-7M-FneFF9aMTyz0pw04ONXn, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.UnzipAction).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.natives 4 0 2010-06-14 11:44:05.544
!MESSAGE The artifact for binary,org.eclipse.equinox.executable_root,3.3.200.R35x_v20090724-7M-FneFF9aMTyz0pw04ONXn is not available.




Moreover, digging the log, I discovered that the software plugins were not installed as I thought:

!ENTRY org.eclipse.equinox.p2.ui 4 0 2010-06-14 11:41:21.310
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.ui 4 10050 2010-06-14 11:41:21.310
!MESSAGE Cannot complete the request.  See the error log for details.
!SUBENTRY 1 org.eclipse.equinox.p2.ui 2 10005 2010-06-14 11:41:21.311
!MESSAGE "Eclipse JGit (Incubation)" will be ignored because it is already installed.



The problem is that the software is installed, but it is not available (not loaded).
Previous Topic:Problem with Eclipse editor
Next Topic:How to get value os selected item from SWT TABLE
Goto Forum:
  


Current Time: Wed Nov 20 14:10:15 GMT 2019

Powered by FUDForum. Page generated in 0.02191 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top