]
Radim Hopp closed JBDS-3179.
----------------------------
Verified in JBDS 8.0.0.CR2b.
PMD breaks Central & Project examples
-------------------------------------
Key: JBDS-3179
URL:
https://issues.jboss.org/browse/JBDS-3179
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: 3rd-party-certification, central, project-examples
Affects Versions: 8.0.0.CR2
Environment: JBDS 8.0.0.CR2a. fedora 20. openjdk version "1.8.0_11"
Reporter: Radim Hopp
Assignee: Fred Bricon
Priority: Critical
Labels: respin-b
Fix For: 8.0.0.CR2
Attachments: Screenshot-1.png
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).
{noformat:title=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)
{noformat}
I cannot reproduce this issue with JBT 4.2.0.CR2a (version of PMD installed from Central
is the same as in JBDS)