Skip navigation
Currently Being Moderated

Nothing happens when I run FlexPMD

Dec 14, 2010 10:53 AM

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:

 

Capture.PNG

 

Any idea how to fix this?

 
Replies
  • Currently Being Moderated
    Jan 6, 2011 12:06 PM   in reply to iamcootis

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

     

    Cheers,

    Chris

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2011 10:41 PM   in reply to chris.patton

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    May 24, 2011 3:31 AM   in reply to iamcootis

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

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2011 2:19 AM   in reply to iamcootis

    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...

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2011 3:31 AM   in reply to Mickael Ruellan

    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 ??

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 5, 2011 11:05 AM   in reply to wilsonsilva7

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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 19, 2011 2:56 PM   in reply to iamcootis

    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 ...

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 16, 2012 11:53 AM   in reply to Jandr123

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 26, 2012 10:10 PM   in reply to nephi.wright

    Hi,

     

    "Nothing happens when I run Flex PMD/Flex cut and paste option ". Please help !!

    I am using Flex Builder 3 + Eclipse 3.3 version.

    From the adobe forum, I came to know that Flex PMD plugin is tested from the Flex Builder 3 + Eclispe 3.4 version.

    Does this mean that it wont work on earlier versions of Eclipse.

     

    I have installed Flex PMD from the following link which contains version 1.0.0.v200912991712  http://opensource.adobe.com/svn/opensource/flexpmd/plugin/trunk/flex-p md-eclipse-plugin-site

    

    and configured the Flex Plugin(jar files) of version 1.1 & 1.2.

    Do I need to configure Jar files of version 1.0 as Flex PMD plugin version is 1.0?

     

    FYI, there are no white spaces either in my workspace name or project name. Also changed the Java command line to temp directory.

    But still Flex PMD view is empty.

     

    Thanks in Advance

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 27, 2012 11:58 AM   in reply to chatrathi

    chatrathi,

     

    you said there is no whitespace in your workspace and project name, but is there any whitespace in your "FlexPMD command line installation" directory?  (http://bugs.adobe.com/jira/browse/FLEXPMD-126)

     

    The only reasons I know for the result you describe are listed here: http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD+Eclipse+plugi n at the very bottom is a known issues list.

     

    HTH

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 19, 2012 2:57 PM   in reply to iamcootis

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 20, 2012 5:35 AM   in reply to Tom_Lee

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

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 20, 2012 6:59 AM   in reply to Jandr123

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 26, 2012 6:19 PM   in reply to nephi.wright

    This did it for me--adding the re-direct for the Java temp directory. Thanks.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2012 10:11 PM   in reply to pherold

    Hi Everyone,

    I was also struggling with same issue.

    Using Flash Builder 4, was taking Flex PMD from: http://opensource.adobe.com/svn/opensource/flexpmd/plugin/trunk/flex-p md-eclipse-plugin-site

     

    But when I was running FlexPMD nothing was coming.

     

     

    SOULTION: I was using Java 7. I downgraded to Java 6 and now everything is working fine .

                      So, it seems FlexPMD is having issues with Java 7.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points