Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 33
Registered: ‎10-29-2010
My Device: Not Specified

Error packing project

today after i update my blackberry plugins i got this kind of error:

An internal error occurred during: "Packaging projects...".
org.osgi.framework.Version.compareTo(Lorg/osgi/framework/VersionSmiley WinkI


that kind of error always popup every time the project is builded that include [run on simulator, debug on simulator, debug on device and sign the project)


i use eclipse version 3.6


what should i do to fix it? i tried to create new workspace but it doesnt work, i tried to restart my pc but it doesnt work too...

please help


Posts: 33
Registered: ‎10-29-2010
My Device: Not Specified

Re: Error packing project

java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/VersionSmiley WinkI
at net.rim.ejde.internal.util.W$_B.A(RIMEIDE:2196)
at net.rim.ejde.internal.util.W$_B.compare(RIMEIDE:398)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at net.rim.ejde.internal.P.H.A(RIMEIDE:156)
at net.rim.ejde.internal.P.H.A(RIMEIDE:27)
at net.rim.ejde.internal.D.F.H(RIMEIDE:935)
at net.rim.ejde.internal.D.F.A(RIMEIDE:2968)
at net.rim.ejde.internal.D.F.D(RIMEIDE:1490)
at net.rim.ejde.internal.D.F.D(RIMEIDE:2046)
at net.rim.ejde.internal.D.A.run(RIMEIDE:1663)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at net.rim.ejde.internal.D.D.runInWorkspace(RIMEIDE:2175)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


on error log i found something like that

Posts: 33
Registered: ‎10-29-2010
My Device: Not Specified

Re: Error packing project

another information that i got from error log:

java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product


is there someone here that have the same problem like me?

Posts: 1
Registered: ‎06-05-2012
My Device: Simulator
My Carrier: Orange

Re: Error packing project

Same problem, happened after running "Check for updates" in Eclipse About Menu. That caused some internal Eclipse packages to update that broke the compatibility with BB plugins.

Will revert to versions before or update sdk to next version (eclipse 3.7)

Posts: 39
Registered: ‎11-04-2009
My Device: Not Specified

Re: Error packing project

I had the same problem after upgrading some component.


I couldn't find any solution to solve this issue either.

But I could package anyway after I upgrade BlackBerry Java Plug-In for Eclipse v1.5.2 (Windows) and importing existing keys.


You can download the new version of BlackBerry Java Plug-In here.







New Member
Posts: 1
Registered: ‎06-08-2012
My Device: 8900
My Carrier: Vodafone

Re: Error packing project

I too had this problem after upgrading my Helios environment to the latest BB code (1.5.2). It seems that something was wrongly compiled against Indigo (3.7) and prevents any packaging from completing under 3.6 (for me anyway). After much investigation and experimentation, I was unable to find a solution that allowed me to package under Helios.


However, rather than download the full BlackBerry Plug In for Eclipse (which includes Indigo) as suggested above and start again, I upgraded from within Helios (thus keeping all existing plug-ins and keys etc intact). To do this, I followed the instructions at http://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse%3F  - which are essentially:


  1. Go to Window > Preferences > Install/Update > Available Software Sites
  2. Click 'Add'
  3. Enter http://download.eclipse.org/releases/indigo
  4. Click 'Ok'
  5. Go to Help > Check for Updates and select the Indigo upgrade.

After performing these steps and upgrading to Indigo, I was able to successfully package again.

Posts: 14
Registered: ‎01-20-2011
My Device: BlackBerry Bold 9700
My Carrier: Orange

Re: Error packing project

Excellent mate, this worked for me. Thanks
Regular Contributor
Posts: 61
Registered: ‎08-25-2010
My Device: Torch 9800
My Carrier: O2

Re: Error packing project

This worked for me also. Thanks for saving me what could have been many hours of unproductive time trying to figure this out.

Posts: 1
Registered: ‎12-10-2012
My Device: 8520
My Carrier: Orange

Re: Error packing project



It's is working for me.


Thanks for you help