Running OSGi bundle prints a lot of messages and exceptions

Bug #1254067 reported by Eero Aaltonen on 2013-11-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Undecided
Unassigned

Bug Description

I am going through an OSGi tutorial using Eclipse
http://www.javaworld.com/javaworld/jw-03-2008/jw-03-osgi1.html?page=3

Executing the "Hello World" bundle results in a large amount of messages and exceptions.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: eclipse-pde 3.8.1-4
ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
Uname: Linux 3.8.0-31-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Fri Nov 22 16:47:42 2013
InstallationDate: Installed on 2013-09-10 (73 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: eclipse
UpgradeStatus: Upgraded to saucy on 2013-10-23 (30 days ago)

Eero Aaltonen (ejn) wrote :
Eero Aaltonen (ejn) wrote :

Now I also have errors on eclipse startup.

I tried starting with
eclipse -clean -clearPersistedState

but even that doesn't work.

sigh..

Eero Aaltonen (ejn) wrote :

http://stackoverflow.com/questions/15372023/eclipse-will-not-start-and-i-havent-changed-anything

Nuke (delete) yourWorkspace/.metadata/.plugins

Restore all projects, perspectives, etc by hand.

I say it was far too easy to break the IDE with default settings.

Eero Aaltonen (ejn) wrote :

What originally happened: "I wanted to run Hello World bundle in OGSi environment in Eclipse"

In Run->'Run Configurations'->"New Launch Configurations"

everything is selected by default. I think this is a poor default, since it breaks the IDE (or well, parts of it).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers