Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
Syamphu
Posts: 33
Registered: ‎10-29-2010

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/Version:smileywink:I

 

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

thanks

Please use plain text.
Developer
Syamphu
Posts: 33
Registered: ‎10-29-2010

Re: Error packing project

java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version:smileywink:I
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

Please use plain text.
Developer
Syamphu
Posts: 33
Registered: ‎10-29-2010

Re: Error packing project

another information that i got from error log:

eclipse.buildId=M20110210-1200
java.version=1.6.0_26
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?

Please use plain text.
Visitor
m_vitaly
Posts: 1
Registered: ‎06-05-2012
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)

Please use plain text.
Developer
forianyu
Posts: 39
Registered: ‎11-04-2009

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.

http://swdownloads.blackberry.com/Downloads/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861...

 

BlackBerry_JDE_PluginFull_1.5.2_indigo.exe

 

Regards,

Kim

Please use plain text.
New Member
alexander240
Posts: 1
Registered: ‎06-08-2012
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.

Please use plain text.
Contributor
bogdannistor
Posts: 14
Registered: ‎01-20-2011
My Carrier: Orange

Re: Error packing project

Excellent mate, this worked for me. Thanks
Please use plain text.
Regular Contributor
meanman
Posts: 61
Registered: ‎08-25-2010
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.

Please use plain text.
Visitor
omanrique
Posts: 1
Registered: ‎12-10-2012
My Carrier: Orange

Re: Error packing project

Hi,

 

It's is working for me.

 

Thanks for you help

 

 

Please use plain text.