Command line error with large codebase?

any idea?
if i change the source to go down the code tree to say
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/gariff"
then all is fine
but all of the following give the same error
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/gariff"
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/"
-s "D:/wrk_gapp-i17/gariffCode/src/"
is it the amount of files?
any source  that goes deeper is fine;
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/gariff/views"
-s "D:/wrk_gapp-i17/gariffCode/src/tinylion/library"
etc
as you can see ive tried uping the memory (same what ever value i use)
using latest version as far as i know
$ java -Xmx1024 -jar "A:/_tools/flexPMD/flex-pmd-command-line-1.0.jar" -s "D:/wrk_gapp-i17/gariffCode/" -o "D:/wrk_gapp-i17/gariffCode/_pmdOut/all_flex/" -r "A:/_tools/flexPMD/all_flex.xml"
12-Dec-2009 21:34:09 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset
INFO: Ruleset: A:\_tools\flexPMD\all_flex.xml
12-Dec-2009 21:34:09 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset
INFO: Rules number in the ruleSet: 82
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.set(Unknown Source)
        at com.adobe.ac.pmd.files.impl.MxmlFile.copyScriptLinesKeepingOriginalLineIndices(MxmlFile.j ava:131)
        at com.adobe.ac.pmd.files.impl.MxmlFile.extractScriptBlock(MxmlFile.java:162)
        at com.adobe.ac.pmd.files.impl.MxmlFile.<init>(MxmlFile.java:55)
        at com.adobe.ac.pmd.files.impl.FileUtils.create(FileUtils.java:83)
        at com.adobe.ac.pmd.files.impl.FileUtils.computeFilesList(FileUtils.java:58)
        at com.adobe.ac.pmd.FlexPmdViolations.computeFiles(FlexPmdViolations.java:131)
        at com.adobe.ac.pmd.FlexPmdViolations.computeViolations(FlexPmdViolations.java:94)
        at com.adobe.ac.pmd.engines.AbstractFlexPmdEngine.computeViolations(AbstractFlexPmdEngine.ja va:156)
        at com.adobe.ac.pmd.engines.AbstractFlexPmdEngine.executeReport(AbstractFlexPmdEngine.java:1 38)
        at com.adobe.ac.pmd.commandline.FlexPMD.startFlexPMD(FlexPMD.java:115)
        at com.adobe.ac.pmd.commandline.FlexPMD.main(FlexPMD.java:69)

Hi again
now I know where to start looking I'm positive i can track this one down for yo9u this evening.
i'll get back to you later
cheers

Similar Messages

  • Command line: Error: unable to open '/Applications/flex_sdk_4\frameworks\flex-config.xml'

    Hi,
    I am new to flex. I am trying to use the xmp sdk to create custom file info panels in photoshop.
    I am going through the example show in the adobe documentation 'Building a panel with Flex SDK'
    I got any running and I got all the files setup in the proper folders but I cannot for the life of me figure out why I keep getting this error.
    Buildfile: /Volumes/three/2011/XMP/test project/build.xml
    clean:
    buildPanel:
         [echo] --> Panel 'Test2'
        [compc] Adobe Compc (Flex Component Compiler)
        [compc] Version 4.5.1 build 21328
        [compc] Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
        [compc] command line: Error: unable to open '/Applications/flex_sdk_4.5\frameworks\flex-config.xml'
        [compc] Use 'compc -help' for information about using the command line.
    BUILD FAILED
    /Volumes/three/2011/XMP/test project/build.xml:20: compc task failed
    Total time: 616 milliseconds
    thanks,
    digitalkyle

    can you tell us where your services-config.xml file is
    located. can you make sure it is right under the "src" folder of
    the Flex Builder project.
    Hope this helps.

  • File receive adapter command line error handling

    Hi,
    This is our requirement - After the file receive adapter, we need to run a script. Based on the return code of the script, we need to handle the error handling of the interface (i.e. send an email about the error).
    I have looked at the operating system command line in the file adapter. How does XI handle return codes for the command line? If the command line has a error return code, how to send an email from XI?
    If anyone has ideas on this topic, please respond!!
    thanks,
    lasya

    Hi,
    I don't think so, it is possible directly. You can not get the Response back to XI pipeline from the shell script.
    But you can think, if you are able to call this from Mapping.
    And one more option is using Transport Acknowledgement ( with BPM) if the file is not able to write into the target directory you can raise an alert-
    Blog on this-
    /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Regards,
    moorthy

  • Calling this simple servlet from command line -- ERRORS!

    Below is my servlet. I call from command line via:
    java BatchServlet
    and I get:
    Exception in thread "main" java.lang.NoClassDefFoundError: BatchServlet
    IS there a reason for this
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class BatchServlet extends HttpServlet implements Runnable{
    static Thread t = null;
    public void init(ServletConfig c) throws ServletException{
    super.init(c);
    if (t==null){
    t = new Thread(this);
    t.start();
    public void run(){
    while (true){
    try{
    Thread.sleep(5000);
    }catch (InterruptedException ie){
    ie.printStackTrace();
    System.out.println("Wake up");

    Same error with this little prog.....
    Notice main method
    package wch.util;
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class test {
    public void main(){
    System.out.println("test");

  • How to trap Command Line errors

    Sigh.  I have searched for 3 hours to the answer for my question.  I'm new to scripting, so perhaps this is the problem in my not finding a solution.
    In a nutshell, I simply want to gracefully trap command line usage of a script.  I want to have my script accept a parameter (ie. a value) and a switch.
    Example:  <script> -path <path> -set
    The problem is that i cannot trap incorrect usage.  I would prefer <path> to be position one, and -switch to be position 2 of the parameters passed to the script.  I have not tried this "outside" of PS v2.0 ISE (ie. Powershell.exe). 
    Of course, I would love it to work in both environments.
    I KNOW that the ISE will prompt for missing mandatory parameters.  Great.  But incorrectly specified parameters causes Powershell ISE to "bomb-out".  That is, displaying error messages to an uninformed user whom views it as unintelligible.
    Example of incorrect usage:  <script> -pat <path> -set
    Again, I would LOVE to trap this, and display correct USAGE to the screen.  Unfortunately, this produces a Powershell error message which has proved unintelligible to "simple" users.
    Perhaps I must accept that this is not possible in Powershell v2.0.  I simply want to program my script to CATCH this error and take the desired action.
    HELP!!!  To the knowledgeable and generous Scripting Professionals.
    If the directions say go straight, but I turn left, then right: Will I still get there?

    Okay, I stripped down the script:
    <#
    ===============================================================================
    PQSC PowerShell Source File
    NAME   :
    AUTHOR : PQSC.Programmer
    DATE   :
    COMMENT: Expects -->U:\Users\Public\Public Programs\PQSC\Scripts<-- appended to Execution Path
             CommandLine to Test=powershell -debug -command "U:\Users\PQSC.Programmer\Documents\WindowsPowerShell\Get-FilesWithArchiveBitSet.ps1" -x
    ===============================================================================
    #>
    <# ---------------------------------------------
    # Param1 is mandatory, Param2 is optional.
    # Param1 should be:  -path <path>
    # Param2 should be:  -Set
    #>
    [CmdletBinding()]
    Param(
        [parameter(Mandatory=$true,Position=1)]
        [AllowNull()]
        [AllowEmptyString()]
        [String]
        $Path,
        [switch]
        $Set_Archive
    PRODUCES THIS ERROR in PowerShell v2.0 ISE when invoke with:
    powershell -debug -command "U:\Users\PQSC.Programmer\Documents\WindowsPowerShell\Get-FilesWithArchiveBitSet.ps1" -x
    powershell.exe : Missing expression after unary operator '-'.
    At line:1 char:11
    + powershell <<<<  -debug -command "U:\Users\PQSC.Programmer\Documents\WindowsPowerShell\Get-untitled2.ps1" -x
        + CategoryInfo          : NotSpecified: (Missing express...y operator '-'.:String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
    At line:1 char:2
    + - <<<< debug -command U:\Users\PQSC.Programmer\Documents\WindowsPowerShell\Ge
    t-untitled2.ps1 -x
        + CategoryInfo          : ParserError: (-:String) [], ParentContainsErrorR
       ecordException
        + FullyQualifiedErrorId : MissingExpressionAfterOperator
    If the directions say go straight, but I turn left, then right: Will I still get there?

  • Command line error on Windows server 2008, GUI works

    I'm running Windows Server 2008 with a Blackmagic Decklink card. Everything works fine with the GUI but when I try to start from command line it extis with an error (see attached image).
    Note: I have the desktop experience enabled.

    I came across the identical problem with an Osprey card. I did some digging and for some reason, on Windows Server 2008, the "Desktop Experience" must be enabled for the command line version of FMLE to function. Not sure why this is, but it worked for me. Here's the note from Microsoft on how to enable this feature on your server...
    http://technet.microsoft.com/en-us/library/cc772567.aspx

  • Command line arguments with a Labview pda applicatio​n

    Hi Everyone,
    I am in the process of writing some Labview code to run on a PDA that is called from another vendor's software. When called, I need to pass some information to it (in the form of an integer) and then return an error code when it has finished its task (again, as an integer).
    Not being able to compile a my application as a labview dll for to run on a PDA with Windows Mobile 2003, I was hoping to be able to pass command line arguments to my program when compiled as an executable. This doesn't seem to be possible.
    Could someone please confirm that Labview PDA applications do not support command line arguments?
    Any suggestions on how to meet my objective would be most welcome .
    Regards,
    Mark

    Paolo,
    Thanks for your input: storing this information in a text file is a choice we are looking at. But it does leave us with the problem that the vendor's software will not necessarily know when our program has finished running, unless it continuously polls the file to see if there has been any update.
    A dll would be ideal. I was hoping there might be a clever way of emulating this.
    Regards,
    Mark.

  • Robohelp 7 HTML command line error

    I am trying to setup command line compilation for the project
    and i get this error from RHCL.exe
    Scanning project for compilation....
    Scanning finished.
    Error: Failed to create TRS file. Please use RoboHelp to
    recover the project.
    Unexpected Error: Failed to prepare single source data for
    RHCL. Please try to compile it in RoboHTML.
    The project is under source control

    Hi Mykola -
    Welcome aboard! First, let me ask you this: have you used
    command line compilation successfully before in this or any other
    project? And can you generate successfully in this project using
    the UI?
    It would be helpful if you would post your command line so
    that I can see the format.
    I don't think it matters that your project is
    source-controlled. I generate both types via the command line, and
    it's not a problem.
    G

  • How to process command line options with plugin?

    Hi there,
    i am currently working on a c++ plugin for Adobe Acrobat 7 with the SDK 7.0.5.
    I let the user open a specific pdf by clicking a link in the browser,
    therefor I registered an additional protocol in the windows registry. Works fine.
    But I now want to tell my plugin some specific things when calling acrobat.exe that way.
    So is there a way to get self-specified command line parameters given to acrobat.exe?
    It would also be helpful if my plugin would know the URL parameters appended with #.
    I could also use that.
    I could not find anything on that issue.
    kind regards,
    Sebastian

    No, your plugin doesn't get any access to the command line.  Look for other methods of IAC (COM, DDE, shared memory, shared file, etc.)

  • XSQL Command-Line, parameters with blanks

    Is it possible to use XSQL Command-Line with parameters containing blanks (space characters).
    In an URL parameter spaces can be encoded with "+" or "%20", but this does'nt seem to work with XSQL Command-Line parameters.
    -- Peter

    I can't make this work on Unix (solaris), but I can see it is a shell script problem, not a XSQL problem.
    The normal syntax for Unix shell script would be
    $ script.sh foo="one two"
    but the standard Oracle-supplied xsql unix shell script sets environment and passes all command-line parameters to the java program with
    oracle.xml.xsql.XSQLCommandLine $*
    and thereby the quotes disappear.
    The problem is not really big, since I could just do
    oracle.xml.xsql.XSQLCommandLine test.xsql "foo=one two"
    after setting classpath. Anyway, if anybody knows how to make the xsql script work with quoted parameters, let me know.
    -- Peter

  • Read command line arguments with an ActiveX step

    Hi
    I would like to read the command line parameters from TestStand startup. I did find an ActiveX resulting in a Object Reference (See Locals.CommandsRef). How do I use this reference to really get the arguments and their count? See also screenshot.
    Solved!
    Go to Solution.
    Attachments:
    Screenshot.jpg ‏160 KB

    Hi Paulus,
    Via this link, you find an forumthread that describes the same issue. testStand does not support this, but there is a workaround. Attached you find the code.
    The attachment includes a LV vi with the command line. If you doen't use Labview, here is the command line:
    C:\Program Files (x86)\National Instruments\TestStand 2012\Bin\SeqEdit.exe /goto "Parameter1 = test" /runEntryPoint "Test UUTs" D:\Testsequence.seq
    Regards,
    Bas
    Attachments:
    Command line TestStand.zip ‏10 KB

  • Package command line app with AIR app

    Forgive me if I seem completely dense, but I've been googling and forum finding and hair pulling all day on this.
    I wrote a command line application and I call it from my air application.  It all works just fine, but right now the location of the command line application is hard coded.  I want to know:
    1) What is the actionscript that allows me to refer my nativeProcess call to a an application that is packaged with the air app when I export?
    2) Where do I place the command line application in the file system of flash builder to bundle it with everything when I export?
    I realize it'll be different for mac and windows, but I need to do both.  I'm starting with the mac.  Right now as far as I know I can put the command line app in the source folder and that all ends up in the .app/contents/resources folder, but I'm not exactly sure how to reference that in actionscript or if I can or if I should?  I don't know.  Clue me in?

    Can you not use File.applicationDirectory.url as a base?

  • FTP Sub Command: Local Error with EasyDMS

    We have been using DMS for several years.  We have a vault setup and are able the checkin files with FTP via SAPGUI with no problems.  Recently we have been looking at EasyDMS.  We have it installed and can login ok.  When we try to drag a file into the windows explorer the popup appears and we can enter the META data.  When the file is checkin via FTP we get FTP Sub Command: Local Error.
    Any suggestions would be appreciated.

    Tom,
    We have encountered the exact same siituation with EasyDMS, we currently have had an OSS call to SAP for 2 weeks that ended up with the developers in Germany and bouncing the issue back to technical support and stating that they have no idea!
    We are also interested in an answer, sorry I can't help you, but you are not alone.

  • Launch Command Line Scanner with Runtime.exec()

    Hi im trying to develop all the process of a common Antivirus ,
    I have a command line anti-virus. But when i try to scan a single file mi code doesnt work.
    I made the following code:
    Runtime runtime = Runtime.getRuntime();
    commands = new String[] {"cmd.exe", "/c","C:\\KAVCLineScanner\\kavecscan.exe","C:\\anfed\\a.txt"};
    Process p =runtime.exec(commands);
    BufferedReader b =new BufferedReader(new
    InputStreamReader(p.getInputStream()));
    String line=null;
    while( (line=b.readLine())!=null){
    System.out.println(line);
    I think the problem is my parameter where i send the file to scan "C:\\anfed\\a.txt", because if i execute this instruction from MSDOS, the process doesnt have problems.
    I also made a .bat file with the instructions but i have the same problem :(
    Thanks for any advise

    I think java naming is from programmer's point of view, so the output stream of the process would be the inputstream to the programmer, hence I am trying to write to my outputstream, which is actually the process' inputstream.

  • HT1277 I want to set up my email composition with a default me@alumni.myschool.edu address that is different from my ISP.  How do I configure?  Command line OK with me.

    Hi everyone,
    I want to set up my email composition with a default [email protected] address in the "Reply-to" field that is different from my ISP.  How do I configure mail to set this default? 
    I have looked through the help and fail to see an option in the Preferences -> Compose window. 
    I am OK with UNIX Command line tasks if that is the only way to set this default.
    Basically I have an alumni email redirection service, which is an address that never changes, even if I change ISP.  That way all my friends can use it an never change.  However, they tend to use whatever ISP address is, not what I have asked them to use. 
    I want to force emails I send to default to my alumni address when my friends reply, not my ISP address.  I want control over this.

    Confused Once Again wrote:
    I want to set up my email composition with a default [email protected] address in the "Reply-to" field that is different from my ISP.  How do I configure mail to set this default? 
    Email preferences --> select Account --> Account Information tab --> Email address.
    The Email address setting supplies the "from" mail address in a sent email for that account.
    I  been doing this for years (well in Eudora but it works in Mail too) since my return address is a mail forwarding service.  That lets me switch ISP's and no one is ever the wiser.  I just change the forwarding service "pointer" to point to my new ISP.  But everyone else see sees the same "from" address as it's always been.

Maybe you are looking for