[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-1780) Installation of m2e fails and completely breaks JBDS

Nick Boldt (JIRA) jira-events at lists.jboss.org
Mon Jul 18 11:52:23 EDT 2011


    [ https://issues.jboss.org/browse/JBDS-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614839#comment-12614839 ] 

Nick Boldt commented on JBDS-1780:
----------------------------------

Steps to repro:

1. download installer, run and install into /home/nboldt/jbdevstudio-product-linux-gtk-4.1.0.v201107151650R-H633-CR3/

2. start JBDS 4.1.0.CR3

3. Help > Install new > http://www.qa.jboss.com/binaries/RHDS/updates/development/4.1.0.CR3_extras/ 

4. select all m2e / Maven Integration features from the category

5. restart when prompted. 

6. on restart, get this error - JBDS won't start:

{code}
An error has occurred. See the log file
/home/nboldt/jbdevstudio-product-linux-gtk-4.1.0.v201107151650R-H633-CR3/studio/configuration/1311002761327.log.
{code}

I think the main error is this one:

{code}
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.p2.reconciler.dropins_1.1.2.R36x_v20110114 [980]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.p2.extensionlocation; version="0.0.0"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
{code}

7. These plugins & features were installed from the Extras site (after the base JBDS installation). d = directory, - = jar

{code}
d  44.0K ch.qos.logback.slf4j_0.9.27.v20110224-1110
-  1315K org.apache.commons.httpclient_3.1.0.v201012070820.jar
d  44.0K ch.qos.logback.core_0.9.27.v20110224-1110
d  44.0K ch.qos.logback.classic_0.9.27.v20110224-1110
d  54.0K org.eclipse.equinox.p2.repository_2.0.0.v20100519
d  64.0K org.eclipse.equinox.p2.discovery.compatibility_1.0.0.v20100518
d  44.0K org.eclipse.equinox.p2.discovery_1.0.0.v20100503
d  44.0K com.ning.async-http-client_1.6.3.201106061504
d  54.0K org.eclipse.equinox.p2.ui.discovery_1.0.0.v20100519
-  1423K org.eclipse.m2e.core_1.0.0.201106061504.jar
-  1102K org.eclipse.m2e.discovery_1.0.0.201106061504.jar
-  1606K org.eclipse.m2e.core.ui_1.0.0.201106061504.jar
-  1187K org.eclipse.m2e.editor.xml_1.0.0.201106061504.jar
-  1270K org.eclipse.m2e.editor_1.0.0.201106061504.jar
d  34.0K org.eclipse.m2e.lifecyclemapping.defaults_1.0.0.201106061504
-  1 80K org.eclipse.m2e.launching_1.0.0.201106061504.jar
-  1 97K org.eclipse.m2e.jdt_1.0.0.201106061504.jar
d  64.0K org.eclipse.m2e.archetype.common_1.0.0.201106061504
-  1 64K org.eclipse.m2e.refactoring_1.0.0.201106061504.jar
-  1376K org.eclipse.m2e.model.edit_1.0.0.201106061504.jar
-  17.8K org.eclipse.m2e.usagedata_1.0.0.201106061504.jar
-  1 62K org.eclipse.m2e.scm_1.0.0.201106061504.jar
d  64.0K org.eclipse.m2e.maven.indexer_1.0.0.201106061504
d  54.0K org.hamcrest.integration_1.1.0.v20090501071000
d  44.0K org.hamcrest_1.1.0.v20090501071000
d  44.0K org.eclipse.net4j.jms.api_3.0.0.v20110215-1551
d  54.0K org.hamcrest.text_1.1.0.v20090501071000
d  54.0K org.hamcrest.library_1.1.0.v20090501071000
-  1 42K org.maven.ide.eclipse.wtp.overlay_0.13.0.20110623-0455.jar
-  1251K org.maven.ide.eclipse.wtp_0.13.0.20110623-0455.jar
d  44.0K org.jboss.netty_3.2.4.Final-201106061504
d  54.0K org.eclipse.m2e.maven.runtime_1.0.0.201106061504
d  54.0K org.slf4j.api_1.6.1.v20100831-0715
{code}

{code}
d  4.0K com.jboss.jbds.m2e.feature_1.0.0.v20110715-1211-H956-CR3
d  4.0K org.eclipse.m2e.feature_1.0.0.201106061504
d  4.0K org.maven.ide.eclipse.wtp.feature_0.13.0.20110623-0455
{code}

8. Second attempt to restart works but Help > About > Installation details throws 3 errors:

{code}
!MESSAGE An internal error occurred during: "Fetching children of _SELF_".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/equinox/internal/p2/core/StringPool
        at org.eclipse.equinox.internal.p2.persistence.XMLParser.<init>(XMLParser.java:48)

!MESSAGE An internal error occurred during: "Fetching children of _SELF_".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/equinox/internal/p2/core/StringPool
        at org.eclipse.equinox.internal.p2.persistence.XMLParser.<init>(XMLParser.java:48)
{code}

{code}
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/equinox/internal/p2/core/StringPool
{code}

9. Can't launch Help > Check for updates or Help > Install new.

{code}
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/equinox/internal/p2/core/StringPool
{code}




> Installation of m2e fails and completely breaks JBDS
> ----------------------------------------------------
>
>                 Key: JBDS-1780
>                 URL: https://issues.jboss.org/browse/JBDS-1780
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: 3rdPartyCertification, updatesite
>    Affects Versions: 4.1.0.CR3
>            Reporter: Libor Zoubek
>            Assignee: Nick Boldt
>            Priority: Blocker
>             Fix For: 4.1.0.CR3
>
>         Attachments: .log, 2011-07-18-155018.png
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list