Skip to main content
Participant
December 14, 2010
Question

Nothing happens when I run FlexPMD

  • December 14, 2010
  • 5 replies
  • 8014 views

I am currently running FlexPMD 1.1.0.v201010171930 on Eclipse 3.5.

When I run the cut & paste check it works fine, but when I run the FlexPMD, it shows up as FlexPMD.running, but the View is always empty.

Here is what my log looks like:

Any idea how to fix this?

This topic has been closed for replies.

5 replies

Participant
March 19, 2012

I'm running Eclipse Indigo on Windows 7.  None of the usual fixes worked for me.  In the end, I tracked it down to the fact that the plugin was using a version of XStream that is incompatible with Java 7.  I checked out the source code, upgraded the XStream library, and redeployed the plugin into my Eclipse install.  It works perfectly now.  Unfortunately, I'm not sure who, if anyone, is maintaining FlexPMD these days.

Participating Frequently
March 20, 2012

You probably mean: ... incompatible with Windows 7. Can you be more specific about what you did, so other people can reproduce your results?

Participant
March 20, 2012

No, I definitely mean Java 7.  Here's the StackOverflow question that pointed me in the right direction:  http://stackoverflow.com/questions/7966817/xstream-unmarshalling-type-specified-in-xml-not-visible.  Unfortunately, I can't really provide much more specific info without writing a tutorial on using SVN and writing an Eclipse Plugin.

Participant
August 19, 2011

It's a pity that paths with spaces are still a problem in 2011. Surely Java must have a way of escaping them?

I could not even configure the plugin, because my initial installation of the command line tools was in Windows' "Program Files" folder ...

Participant
June 23, 2011

I have the same problem with Flash Builder 4.5 under Mac OS X running FlexPMD 1.2

I have no spaces in my directories. Flex PMD preferences are well configured.

When I run FlexPMD on my source directory, a task is starting for few seconds, Flex PMD view opens, but nothing is displayed in the view !

No visible errors of the problem...

Participant
June 23, 2011

I've created a new workspace without spaces (my default workspace folder is "Adobe Flash Builder 4.5" so with spaces in it !) and Flex PMD is displaying results in PMD view !

I'm using plugin 1.2 version.

A bug exists but it seems it has been resolved in 1.2 version : http://bugs.adobe.com/jira/browse/FLEXPMD-127

May be this fix is not working on Mac OS X ??

Anyone experiencing this problem ??

wilsonsilva7
Inspiring
May 24, 2011

I was having the same problem. You can't have white spaces in your workspace location.

Participant
August 5, 2011

Thank you for the no whitespaces tip! I'm sure I never would have thought of that myself.

Participant
January 6, 2011

I, too, am using Flex Builder 3 (with FlexPMD v1.2), and when I run FlexPMD I get no results.

Cheers,

Chris

Participating Frequently
April 29, 2011

I had the same problem: FlexPMD runs, but no messages. I run it on windows 7. I searched for this problem, and found several workarounds. The only one that worked for me was to run flash builder '.. as administrator'. Only then will it produce results. Possibly windows7 poses some restriction on temporary files, and running as administrator helps. But it would be better if the problem were fixed.

Participant
February 16, 2012

I ran into this problem on Windows 7, the problem appeared to be related to the creation of a temp directory to store the pmd.xml.  Unfortunately FlashBuilder installs in Program Files and so permissions get all messed up when creating this folder.  Fortunately, you can configure FlexPMD to create the file elsewhere. 

To fix it:

go to  Window > Preferences > FlexPMD in FlashBuilder

change the "Java command line" to include -Djava.io.tmpdir=C:\Users\{user_name}\AppData\Local\Temp