PMD error in generating report - pmd

I'm new in using PMD. I've tried to generate an XML report by
right-clicking the project > PMD> Generate Reports
After which this error dialog box appears.
An internal error occurred during: "RenderReport". java.lang.NullPointerException
Can someone help me? Why can't I generate report in PMD?

Related

Eclipse "Failed to create the part's controls" InlinedAnnotationSupport

I'm using MyEclipse and when I open a Java class that's not in a project but in a library somewhere, I get a Failed to create the part's controls error message, and this stack trace:
Abbreviated trace:
java.lang.NullPointerException
at org.eclipse.jface.text.source.inlined.InlinedAnnotationSupport$VisibleLines.install(InlinedAnnotationSupport.java:261)
at org.eclipse.jface.text.source.inlined.InlinedAnnotationSupport$VisibleLines.<init>(InlinedAnnotationSupport.java:146)
at org.eclipse.jface.text.source.inlined.InlinedAnnotationSupport.install(InlinedAnnotationSupport.java:363)
at org.eclipse.jface.text.source.SourceViewer.ensureCodeMiningManagerInstalled(SourceViewer.java:1295)
at org.eclipse.jface.text.source.SourceViewer.setCodeMiningAnnotationPainter(SourceViewer.java:1320)
at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.showAnnotations(SourceViewerDecorationSupport.java:830)
at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.updateTextDecorations(SourceViewerDecorationSupport.java:301)
at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.install(SourceViewerDecorationSupport.java:269)
Full picture
The only thing I've added to this is Lombok annotations.

Opening Wizard: Selected wizard could not be started

I've got an error while trying to start Haskell project in Eclipse.
Here are error details:
The selected wizard could not be started.
Plug-in net.sf.eclipsefp.haskell.ui was unable to load class net.sf.eclipsefp.haskell.ui.wizards.NewHaskellProjectWizard.
An error occurred while automatically activating bundle net.sf.eclipsefp.haskell.ui (504).
Any ideas what can i do to fix it?

Eclipse "Refresh Status" error

When I import a project into eclipse or reopen a closed project I get a "Refresh status" error, see below:
When I delete a project from workspace, I get similar error then as well, see below:
What is the cause of this error, and how can I get rid of this error?
Any help would be appreciated !
==>
By looking at error messages related to "Refresh status..." it seems
that problem is with Mercurial plugin. See below section of log file:
!ENTRY org.eclipse.core.jobs 4 2 2017-09-07 13:06:17.090
!MESSAGE An internal error occurred during: "Refresh status...".
!STACK 0
java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache.clearStatusCache(MercurialStatusCache.java:1377)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache.clear(MercurialStatusCache.java:1459)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache.refreshStatus(MercurialStatusCache.java:855)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache$ProjectUpdateJob.updateProject(MercurialStatusCache.java:143)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache$ProjectUpdateJob.run(MercurialStatusCache.java:129)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Added details of installed softwares. See below for installed softwares:

An error occurred after hosting of jsp web application

I have created a jsp web application. The real task is i have to host my project in the university server using WINSCP. But when i test the project using the university domain i am getting this error
type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [15] in the generated java file: [C:\tomcat\work\Catalina\localhost\ROOT\org\apache\jsp\student\gtalluri\workspace\java\MSUVotingSystem\WebContent\index_jsp.java]
Only a type can be imported. edu.msu.isa.jdbc.SQLServer resolves to a package
An error occurred at line: [20] in the generated java file: [C:\tomcat\work\Catalina\localhost\ROOT\org\apache\jsp\student\gtalluri\workspace\java\MSUVotingSystem\WebContent\index_jsp.java]
Only a type can be imported. edu.msu.isa.jdbc.DateStore resolves to a package
An error occurred at line: 108 in the jsp file: /student/gtalluri/workspace/java/MSUVotingSystem/WebContent/index.jsp
SQLServer cannot be resolved
I am unable to understand what the actual problem is , i tried to change the tomcat settings but this did not solve my problem.
To find the exact error please go to the following link ad guide me what is the exact problem
There is a compilation issue .According to the log printed I come to know that there is an issue with the Import statement within JSP.
<%# page import="" %>
SQLServer.class file is not residing in the package provided in the above import statement.

Eclipse:An internal error occurred during: "Loading Web Service DOM...".

I am using eclipse 3.6 Helios version.I am working on it from last three months.But from last two days I am getting some error.
When eclipse started it is giving an error in this format:An internal error occurred during: "Loading Web Service DOM...".
org.eclipse.emf.ecore.util.EcoreEMap$DelegateEObjectContainmentEList
I am not getting how can suddenly error occurred.
After this if I do Ok and continue with eclipse I am getting error with eclipse import project
for existing work space and svn check out.
Please help me out.Thanks in advance.
After research a lot, I came to know that I my java version is degraded to 1.5.I dont know how it took place.So I updated my java version to 1.7 again.And this error is solved.