Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] product failing to load multiple versions of the sameplugin

Hi VInce,
 
Can you please open a bug with steps to recreate it?

Regards,
Vikas
------------------------------------------------------------------------
Eclipse Modeling
IBM Rational
EGL D Block - Bangalore, India
Office Phone No : +91 - 80 - 41776506
------------------------------------------------------------------------
 
 
----- Original message -----
From: "Vince S." <vinceos@xxxxxxxxxxx>
To: Vikas Chandra/India/IBM@IBMIN
Cc: "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
Subject: Re: [pde-dev] product failing to load multiple versions of the sameplugin
Date: Fri, Jul 22, 2016 1:44 AM
 

Vikas,

 

A few months back I did report to you that the issue with having different versions of the same plugin failing to load had been resolved. However, what I have noticed is that we see a lot of exceptions in the log whenever we start our app in Eclipse.  It used to fail to start. Now it starts fine, but generates a lot of exceptions that we want to eliminate. They all deal with BIRT.  I've included a snapshot of the log file below:

 

 

!ENTRY org.eclipse.birt.chart.reportitem 4 0 2016-07-21 10:56:45.882
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.birt.chart.reportitem [476]
  Unresolved requirement: Require-Bundle: org.eclipse.birt.report.engine; bundle-version="[2.1.0,5.0.0)"
    -> Bundle-SymbolicName: org.eclipse.birt.report.engine; bundle-version="4.5.0.v201506092134"; singleton:="true"
       org.eclipse.birt.report.engine [486]
         Unresolved requirement: Require-Bundle: org.apache.batik.transcoder
           -> Bundle-SymbolicName: org.apache.batik.transcoder; bundle-version="1.6.0.v201011041432"
              org.apache.batik.transcoder [446]
                Unresolved requirement: Require-Bundle: org.apache.batik.bridge; bundle-version="[1.6.0,1.7.0)"
                  -> Bundle-SymbolicName: org.apache.batik.bridge; bundle-version="1.6.0.v201011041432"
                     org.apache.batik.bridge [438]
                       Unresolved requirement: Require-Bundle: org.apache.batik.css; bundle-version="[1.6.0,1.7.0)"
 
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 
I'm using  version 4.6.0 Build id: 20160613-1800. Any idea as to what may be the issue? 

 

 

Regards,

 

Vince Smith

 

From: Vikas Chandra <Vikas.Chandra@xxxxxxxxxx>
Sent: Thursday, March 3, 2016 11:57 AM
To: Vince S.
Cc: Eclipse PDE general developers list.
Subject: Re: [pde-dev] product failing to load multiple versions of the sameplugin
 

Vince,

Does it work OK in Neon? If not, please open a bug in Neon with steps.

Regards,
Vikas
------------------------------------------------------------------------
Eclipse Modeling/ PDE
IBM Rational
EGL D Block - Bangalore, India
Office Phone No : +91 - 80 - 41776506
------------------------------------------------------------------------

Inactive hide details for "Vince S." ---03/03/2016 10:09:26 PM---Vikas, Unfortunately, the issue has not been fixed in 4.5.2. I"Vince S." ---03/03/2016 10:09:26 PM---Vikas, Unfortunately, the issue has not been fixed in 4.5.2. I downloaded 4.5.2 last Friday afternoo

From: "Vince S." <vinceos@xxxxxxxxxxx>
To: "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
Cc: Vikas Chandra/India/IBM@IBMIN
Date: 03/03/2016 10:09 PM
Subject: Re: [pde-dev] product failing to load multiple versions of the sameplugin




 

Vikas,

Unfortunately, the issue has not been fixed in 4.5.2. I downloaded 4.5.2 last Friday afternoon and did the same thing I did 5 months ago. That is I built using a target platform that included both versions of the batik plugins needed for my app. And just like then, when I started the .product file, I got a validation error shown below:



What kind of validation test did you perform? And how can this issue be resolved, once and for all?

Thank you
 



From: Vikas Chandra <Vikas.Chandra@xxxxxxxxxx>
Sent: Friday, November 6, 2015 12:38 AM
To: Vincent Smith
Cc: Eclipse PDE general developers list.
Subject: Re: [pde-dev] product failing to load multiple versions of the sameplugin

HI Vincent,
This is plans for Mars 2( 4.5.2)


https://wiki.eclipse.org/Mars/Simultaneous_Release_Plan#Mars.2
 
 
 
Mars/Simultaneous Release Plan - Eclipsepedia
wiki.eclipse.org
Requirements For Participation. Projects that are part of Mars agree to abide by the requirements of the Eclipse yearly Simultaneous Release. Milestones and Release ...



Regards,
Vikas
------------------------------------------------------------------------
Eclipse Modeling/ PDE
IBM Rational
EGL D Block - Bangalore, India
Office Phone No : +91 - 80 - 41776506
------------------------------------------------------------------------


Inactive hide details for Vincent Smith ---11/05/2015 11:23:15 PM---Hi Vikas, Since I'm using a target platform that referencesVincent Smith ---11/05/2015 11:23:15 PM---Hi Vikas, Since I'm using a target platform that references p2 update sites only, the only meaningfu

From: Vincent Smith <vinceos@xxxxxxxxxxx>
To: "Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
Cc: Vikas Chandra/India/IBM@IBMIN
Date: 11/05/2015 11:23 PM
Subject: Re: [pde-dev] product failing to load multiple versions of the sameplugin

 





Hi Vikas,

Since I'm using a target platform that references p2 update sites only, the only meaningful test for me is when the patch is applied to download.eclipse.org/eclipse/updates/4.5. So whenever it's made available there, let me know. Do you know when 4.5.2 will be released?

I appreciate your help

 



From: Vikas Chandra <Vikas.Chandra@xxxxxxxxxx>
Sent: Wednesday, November 4, 2015 11:31 PM
To: Eclipse PDE general developers list.
Cc: vinceos@xxxxxxxxxxx
Subject: Re: [pde-dev] product failing to load multiple versions of the sameplugin

Hi Vincent

Can you check if this fix has solved the issue -
https://bugs.eclipse.org/bugs/show_bug.cgi?id=472778

We are planning to port this in 4.5.2 via bug 480020.

Regards,
Vikas
------------------------------------------------------------------------
Eclipse Modeling/ PDE
IBM Rational
EGL D Block - Bangalore, India
Office Phone No : +91 - 80 - 41776506
------------------------------------------------------------------------


Inactive hide details for Vincent Smith ---11/05/2015 05:29:13 AM---Mars p2 repositories (download.eclipse.org/eclipse/updates/Vincent Smith ---11/05/2015 05:29:13 AM---Mars p2 repositories (download.eclipse.org/eclipse/updates/4.5 and download.eclipse.org/releases/mar

From: Vincent Smith <vinceos@xxxxxxxxxxx>
To: "pde-dev@xxxxxxxxxxx" <pde-dev@xxxxxxxxxxx>
Date: 11/05/2015 05:29 AM
Subject: [pde-dev] product failing to load multiple versions of the same plugin
Sent by: pde-dev-bounces@xxxxxxxxxxx

 





Mars p2 repositories (download.eclipse.org/eclipse/updates/4.5 and download.eclipse.org/releases/mars) have 2 versions of several bundles:

org.apache.batik.util_1.6.0.v201011041432
org.apache.batik.util_1.7.0.v201011041433

org.apache.batik.util.gui_1.6.0.v201011041432
org.apache.batik.util.gui_1.7.0.v200903091627

org.apache.batik.css_1.6.0.v201011041432
org.apache.batik.css_1.7.0.v201011041433



Bundles with 1.6.0.v201011041432 version are required by BIRT and GMF and 1.7.0.v201011041433 are required by the Eclipse Platform.

The problem is when a product is launched, only the latest version of the batik plugins is included, which results in plugin validation failures at launch. The only way to address it is to add the plugins manually in the run configuration for the product. This is an unacceptable solution when it comes to building and deploying the feature-based product automatically from p2 sites.

I found a bugzilla article that shows this is not a new issue (
https://bugs.eclipse.org/bugs/show_bug.cgi?id=367187). The article implies the the problem is in the org.eclipe.pde.ui plugin and a patch was supposed to have been applied in 4.5 that fixed this issue. If it has been fixed, can someone provide me an update site for the pde that contains the patch? If not, do you know when it will be fixed and updated?

_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/pde-dev

 
 


Back to the top