facebook

PMD Plug-in problem in workspace with content assist issue

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #307074 Reply

    Mork
    Participant

    I installed the PMD plug-in for MyE 8.5, but it gives me the error that it can’t read workbench state or words to that effect. This is in the same workspace where currently content assist does not work.

    If I change workspace to a test workspace, PMD works as expected.

    The log errors for PMD in this “problem workspace” include:

    !ENTRY org.eclipse.ui.workbench 2 0 2010-03-28 07:10:48.557
    !MESSAGE A handler conflict occurred. This may disable some commands.
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-03-28 07:10:48.557
    !MESSAGE Conflict for ‘com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug’:
    HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
    handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@872be7,
    expression=,sourcePriority=0)
    HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
    handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@538989,
    expression=,sourcePriority=0)

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2010-03-28 07:11:02.010
    !MESSAGE Unable to load default SVN Client

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:13:40.190
    !MESSAGE 9 markers applied on 1 files in 0ms.

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:13:40.268
    !MESSAGE Review code command terminated. 237 rules were executed against 1 files. Actual PMD duration is about 1141ms, that is about 1141.0 ms/file, 4.814346 ms/rule, 4.814346 ms/filerule

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:13:40.268
    !MESSAGE Command ReviewCode excecuted in 1609ms

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2010-03-28 07:13:40.440
    !MESSAGE Unable to load default SVN Client

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:14:21.220
    !MESSAGE 9 markers applied on 1 files in 16ms.

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:14:21.236
    !MESSAGE Review code command terminated. 237 rules were executed against 1 files. Actual PMD duration is about 125ms, that is about 125.0 ms/file, 0.5274262 ms/rule, 0.5274262 ms/filerule

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:14:21.236
    !MESSAGE Command ReviewCode excecuted in 157ms

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2010-03-28 07:14:21.329
    !MESSAGE Unable to load default SVN Client

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2010-03-28 07:14:45.985
    !MESSAGE Unable to load default SVN Client

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:14:49.188
    !MESSAGE 9 markers applied on 1 files in 0ms.

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:14:49.188
    !MESSAGE Review code command terminated. 237 rules were executed against 1 files. Actual PMD duration is about 109ms, that is about 109.0 ms/file, 0.4599156 ms/rule, 0.4599156 ms/filerule

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:14:49.203
    !MESSAGE Command ReviewCode excecuted in 125ms

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2010-03-28 07:14:49.297
    !MESSAGE Unable to load default SVN Client

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2010-03-28 07:17:16.682
    !MESSAGE Unable to load default SVN Client

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:17:24.088
    !MESSAGE 9 markers applied on 1 files in 0ms.

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:17:24.088
    !MESSAGE Review code command terminated. 237 rules were executed against 1 files. Actual PMD duration is about 93ms, that is about 93.0 ms/file, 0.39240506 ms/rule, 0.39240506 ms/filerule

    !ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2010-03-28 07:17:24.088
    !MESSAGE Command ReviewCode excecuted in 125ms

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2010-03-28 07:17:24.197
    !MESSAGE Unable to load default SVN Client

    !ENTRY org.tigris.subversion.subclipse.core 4 -6 2010-03-28 07:18:12.680
    !MESSAGE Unable to load default SVN Client

    #307083

    Scott Anderson
    Participant

    M,

    When you see the dialog regarding reading the workbench state, does the workbench launch correctly other than that? The reason I ask is that this typically occurs when large changes in installed plugins take place and something that was open before can no longer be opened, for example. However, it seldom causes any real problems and is simply informational. Once you set the perspective back to what you like, the issue typically is resolved on the next restart.

    #307086

    Mork
    Participant

    Scott,

    I think the issue is that my workspace is corrupted and this is just a side-effect. When I change workspaces to a brand new one, PMD is fine again as is content assist.

    What’s the procedure for fixing a corrupted workspace where content assist has stopped working?

    Isn’t there a smart utility way of fixing corrupted workspaces?

    I created a new workspace and brought in one of the projects from the corrupted workspace and it worked OK (content assist). Is this really how I have to fix this problem with other projects? I lose, for example, all the deployment information and possibly (?) other settings.

    -M

    #307111

    Scott Anderson
    Participant

    Mork,

    If you believe the workspace is corrupted then the simplest way to resolve it is to create a new workspace and import your existing projects into it as you did with your test project.

    #307112

    Mork
    Participant

    Right, just did that. Seems to work fine now.

    No idea how things got corrupted. Unfortunately, I still have the same web service problem I know your team is working to help me resolve.

    Thanks Scott!!!

    – M

    #307117

    Scott Anderson
    Participant

    M,

    Please check your web service thread on the forums. A user posted quite a nice example there which should provide what’s needed to get you going.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: PMD Plug-in problem in workspace with content assist issue

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in