- This topic has 3 replies, 2 voices, and was last updated 15 years, 7 months ago by
support-joy.
-
AuthorPosts
-
pats88MemberHi,
I was able to install PMD plugin successfully to MyEclipse. However I get the foll. error on the violations overview:
java.lang.NullPointerException
at net.sourceforge.pmd.eclipse.ui.views.PriorityFilter.<init>(Unknown Source)
at net.sourceforge.pmd.eclipse.ui.views.ViolationOverview.init(Unknown Source)
at org.eclipse.ui.part.ViewPart.init(ViewPart.java:122)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:525)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:795)
at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:781)
at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:123)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:126)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:84)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:709)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3171)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1953)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)December 2, 2009 at 12:23 am #304284
support-joyMemberpats88,
Sorry to hear you are running into this issue. Let me clarify that MyEclipse doesn’t provide any integrated support for PMD plugin. Having said that there are a lot of users who have integrated 3rd party plugins to MyEclipse. Can you answer few queries for me to investigate this further?
1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.
2. Can you share the link of PMD plugin download / update site?
3. How did you integrate PMD plugin, can you elaborate with links
4. Have you verified if PMD plugin is compatible with that of your base eclipse? For e.g. ME 7.5 is based on Eclipse 3.4.2, ME 8.0 GA is based on Eclipse 3.5.1, you need to verify the compatibility of PMD plugin with that of base eclipse.December 2, 2009 at 2:50 pm #304320
pats88MemberHello Joy,
Thank you for your response. Below are the details requested.
1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.
*** Date:
Wednesday, December 2, 2009 3:50:12 PM EST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.1 GA
Build id: 20070521-5.5.1-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\MyEclipse 5.5.1 GA\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
de8_a0
-vm
C:\Program Files\MyEclipse 5.5.1 GA\jre\bin\javaw.exe2. Can you share the link of PMD plugin download / update site?
http://pmd.sf.net/eclipse3. How did you integrate PMD plugin, can you elaborate with links
Start Eclipse and open a project
Select “Help”->”Software Updates”->”Find and Install”
Click “Next”, then click “New remote site”
Enter “PMD” into the Name field and “http://pmd.sf.net/eclipse” into the URL field
Click through the rest of the dialog boxes to install the plugin4. Have you verified if PMD plugin is compatible with that of your base eclipse? For e.g. ME 7.5 is based on Eclipse 3.4.2, ME 8.0 GA is based on Eclipse 3.5.1, you need to verify the compatibility of PMD plugin with that of base eclipse.
Yes, I verified and its compatible.Thank you.
December 2, 2009 at 11:42 pm #304333
support-joyMemberpats88,
Thank you for the details. I understand that you are on ME 5.5.1 GA release. It is a very old release of ME. ME has since released upgraded versions. Is there any reason you are still on a very old version? Why don’t you upgrade to the latest 8.0 GA release which is based on Eclipse 3.5.1?
There seem to be issues with PMD plugin on Eclipse 3.2.2(MyEclipse 5.5.1 is based on Eclipse 3.2.2.). Please refer – http://www.eclipse-plugins.info/eclipse/plugin_comments.jsp?id=111&pager.offset=10&firstItem=11 -
AuthorPosts