Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3179

PMD breaks Central & Project examples

    XMLWordPrintable

Details

    Description

      When PMD is installed (from Central, PMD plugin version 4.0.3.v20140427-0831), everytime when JBoss Central is opened or refreshed (by refresh button in header of Start from a sample section) exception is thrown (http://i.imgur.com/a4bsImi.png).

      No project examples are working (not even archetypes from Start from scratch section).

      An internal error occurred during: "Refreshing JBoss Tutorials...".
      java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
      	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getContent(ProjectExampleUtil.java:769)
      	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:410)
      	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:321)
      	at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:53)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      I cannot reproduce this issue with JBT 4.2.0.CR2a (version of PMD installed from Central is the same as in JBDS)

      Attachments

        Issue Links

          Activity

            People

              fbricon@redhat.com Fred Bricon
              rhopp@redhat.com Radim Hopp
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: