error in command line with large codebase?

any idea?

If I change the source to go to the bottom of the code tree to say

s "D:/wrk_gapp-i17/gariffCode/src/tinylion/gariff.

then everything is fine

but all 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 /".

This is the amount of files?

any source that is 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 value that never I use)

using the 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 '.

December 12, 2009 21:34:09 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset

INFO: Set of rules: A:\_tools\flexPMD\all_flex.xml

December 12, 2009 21:34:09 com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset

NEWS: Rule number in the basis of rules: 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)

to 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 goes: 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)

You have somewhere in your code base, a MXML file that leads to this exception. It would be great if you could try to identify it.

Then, you'd be able to add test suite to avoid regressions.

Xavier

Tags: Adobe Open Source

Similar Questions

  • Error in command line with RH 6

    I imported a X 5 of the HR 6 and I tried to use the command line to generate the chm file, but after the scan is finished, a message box appears with the following message "RHCL.exe has encountered a problem and needs to close. We are sorry for the inconvenience"then, HR firm. I can compile this project in HR GUI.

    The main reason we went to 6 HR is the feature of the command line, but now it does not work. I'm so sad.

    Someone here can help me with this problem or give me some clues at least.

    Thanks in advance.

    Thank you Peter, Colum and Harvey.

    Finially, I had this problem sovled. :))

    First of all, I used your ideas to find the subject at issue. It took me 2 hours. Not too bad.
    Then I scanned in this topic and dug the sentences that caused the problem in Truecode discovered:



    ...
    ...

    I removed above phrases, the problem disappeared. I can now use the command line compiler.

    I don't know how and when these keywords have been added to the project. This project was owned by someone else before. I added these keywods in the Index tab, that all goes well. So there is no impact on my project.

    However, I think that the command line compiler should be able to manage this kind of sentence 'meta' if the compiler in the GUI can do.

    Can I think that it is a defect of RH6 it is designed like that or it's a fault of my project?

    AGsMM

  • Unable to ping a website in command line with an error message: 'ping is not recognized as an internal or external command.'

    Original title: ping does not work

    In the cmd box when I try to ping from a site, I get a message saying 'ping is not recognized as an internal or external command.'

    I entered the command as follows: Office > ping www.yahoo.com

    Dan Calic, salvation

     

     

    Thanks for posting your question in the Microsoft Community.

    I understand that you are unable to ping a website in command line with an error message: 'ping is not recognized as an internal or external command.' Correct me if I'm wrong.

    I imagine the inconvenience that you are experiencing. I will certainly help the question of fixing.

    To help you suggest several steps to solve the problem, I would appreciate if you could answer the following questions:

    1 are you facing problems when accessing Internet?

    2. have you made any recent hardware or exchange of software on your computer before the show?

    Please follow the steps and check the question below:

    a. click Start, and then type the three letters cmd in the search box and then right-click on command prompt and click run as administrator.

    b. type these commands and press enter after each:

    dir %SystemRoot%\System32\ping.exe

    path %path%;%SystemRoot%\System32

    Ping www.yahoo.com

    c. a report.

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • Open a command line with attached pll forms.

    Hi guys,.

    I try to open a fmb online ordering, but this WBF has an attached pll and I get error frm-18108, then
    There is somehow open this form with its pll, in the command line...

    If I try with a fmb without pll, it works

    I m using forms 6i and oracle 10 g

    ifbld60. EXE c:\sa\fmb_work\wx010.fmbl userid=wl/wl@P10G


    Thank you...

    Where are your PLL files are? In the c:\sa\fmb_workdirectory? Your FORMS60_PATH contains this directory?

    see you soon

  • Build errors from command line in the newspaper. How can I fix it?

    Version: RH 9 (latest version)

    OS: Windows 7, 64-bit

    Output: CHM

    I have a batch file that uses features of generation of HR command line to generate our CHMS regularly.

    The command line works for my other projects. But I have a project that has three different CHMS issued, and each chm of the project always fails.

    Each three generated log file contains information to that effect.

    Adobe (R) RoboHelp version 9.0.0.228 project command line compiler

    Copyright (C) 2006-2007 Adobe Systems Incorporated and its licensors. All rights reserved.

    Project: d:\hg\pcdmisqa\pcdlrn\help\toolkitmodules\PC-DMIS Toolkit Modules.xpj

    Presentation: Toolbox Modules - various.

    Output: D:\DocProjects\Outputs\common_chm\toolkitmodules.chm.

    Scanning for the compilation project...

    Error: Impossible to analyze all project files. Please use RoboHelp to recover the project.

    Unexpected error: failed to prepare the data of the single source for RHCL. Please try to compile in RoboHTML.

    Any ideas? Moreover, these AIDS compile fine with HR itself.

    Okay, deleting the CPD and reimport the file HHP to recreate the XPJ and all other project files fixed this problem for me. They seem to be build by using the command line now.

    But he created a LOT of work: build all the page layouts should be recreated and all conditional compilation tags had to be regenerated.

    If you go this route, be sure to make a backup of your project first you may have to refer to him to get things back the way they were after the import process.

  • All icons changed to and will Outlook open, error message "command line argument is not valid."

    I have been using Windows 7 and Office 2010 since the beginning of this year. Suddenly, I have a problem.

    All my software program icons (shortcuts and start menu) moved somehow to be the Outlook icon. When you try to open Outlook and any other program, I get the message "cannot start Microsoft Outlook. The command line argument is not valid. Check the switch you are using. »

    None of the software opens. This is true for Microsoft products and software from other companies.  The only way I can open/use some of my software is to go to the file and open it from there. How can I solve this problem?

    I tried to use my Office CD to repair the software, but nothing has changed.  I tried to go into the properties of the icon to see if the problem can be corrected for other software but the links are to the correct files and the icon will not change.   Nothing I've tried works.  Even in Control Panel administrative tools are not open (they have also been changed to have the Outlook icon).

    . I need help as soon as POSSIBLE. THX

    Only, I've solved my problems with this re - create my profile.

    To re - create your user profile name just as a different user and ensure that the user have a good administrator.

    Go to my computer > users (Windows 7) or Document and settings (Win XP) > find the profile that have a questions and rename (* do not delete because we need a return to the top if there is all data must be transferred to a new profile)

    Another thing need to do is to change the registry by go to start and type regedit (make sure administrator too)

    Go down this path HKEY_LOCAL_MACHINE NT\CurrentVersion\ProfileLIST\ * only Applicable for Windows 7

    Oncve you see all the list such as S-1-5-18... something like this a check which is the profile who have questions and delete.

    The profile with a questions can be seen on you under ProfileImagePath: C:\Users\

    In fact, you can try to reconnect and it will be relaxing a new profile just transfer back up the old data of the profile that was rename in the new profile that has been re - create.

    Hope this helps, if so please mark this answer.

    Thank you

  • Length of command line with dynamic text

    Hello

    Does anyone know how to control the length of a line with a dynamic text input?

    I have two buttons, which increases the value of a dynamic text of 1 every time that it is pressed and another which decreases. The display shows the number that results. I want to draw a line that increases or decreases in length with that number.

    Any ideas?

    Thank you!

    Well, you could take a text field value and multiply it by a constant for the length of your line. Once you have this number, you can draw the line dynamically using the drawing API or change the width of a movieclip with a line in...

    Let's say you have a movieclip with an instance name of line_mc and your dynamic text field has an instance name of myTextField, you can change the width of the line_mc like this:

    line_mc._width = number (myTextField.text) * 10;

  • error in command line at startup

    I'm running Windows 7 Home Premium x 64, and after it starts I continue to send a message from the command prompt that says: "Windows cannot find SearchProtecton.exe. Make sure you typed the name correctly and then try again. C:\Windows\SysWOW64\cmd.exe

    Hello

    This looks like one of these functions of 'searchprotection' which came with a risk low Spigot Adware.
    Most likely, a scanner already removed the active components, but left its reference to startup in the registry.
    First, go to start and type: msconfig
    Then, open the Startup tab it.
    Look in the list if Searchprotection is in the list and uncheck the box, click OK, apply and restart.

    Let me know if you that solve your problem.

  • Using a command line with spaces in the path name

    I want to write a batch file simple to keep the output of the log file in a program, I'm running. Unfortunately, I him did not over the years and I'm rusty I thought.

    Basically, the CW program creates a file called "log.txt".

    What I would do is to remove a file called log10.txt and the iteratively to rename log9, txt connect 10.txt, log 8. txt log9 txt... and so on.

    Once the name change is made, I would like to run CW.txt.

    Some complications. There is a version of the program the two 32 - bit and 64 - bit and only can exist.

    So I thought I could use the system environment PROCESSOR_ARCHITECTURE VCBBASE to test if I am running 64 bit.

    Then I could use ProgramFiles or % ProgramFiles (x 86) % to locate my executable.

    Sounds easy in theory, but I'm stumbling - a lot.

    I use cmd to open a window to test my script of commands and the batch script is in a file called "testme.cmd." I don't know if it would make a difference if the batch file has been "testme.bat"?

    The full name of the directory for the 64 bit version of the program is:

    C:\Program Files\KingComp\Cram 3\CW.exe Wiz

    You try to run a batch file to determine if the file exists:

    If exist %ProgramFiles%\KingComp\Cram Wiz 3\CW.exe

    causes an error: the system cannot find the path specified. I tried various combinations of the quotes around parts or all of the order - all without success. The research gives a lot of results, but none seem to apply to my problem except suggestions to determine the 8.3 file name and use it. But I do not know how to find by program structures of 8.3 directory.

    Is it possible to use the Windows 7 environment variables and a path name that contains spaces and get a positive result?

    Thank you.

    I'm also not sure exactly what shell or the shell I use. As far as I know is not BACK, Dorothy. :)

    Hi Mike,.

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Community. It is better suited for the IT Pro TechNet public.  Please post your question using the link below.

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itproappcompat&filter=AllTypes&sort=lastpostdesc

    I hope this helps.

  • OSB - construction of command line with the resources of the project coinfiguration

    Hello!

    I would like to use the com.bea.alsb.core.ConfigExport class to do a build of the OSB. This class can create the sbconfig.jar for me, but without the resources of the Setup project (for example, the SMTP server component). If I do a build in eclipse, I can put export (project or resource) in that level, but how I could put that in the script?
    This is my script:

    < target name = "build" >
    < echo message = "${config.jar} of the CBC to build" / >

    < file = "${available metadata.dir}" type = "dir" property="metadata.dir.exists"/ > "
    < dir = "${java eclipse.home} '"
    jar="${Eclipse.home}/plugins/org. Eclipse.Equinox.launcher_1.0.201.R35x_v20090715.jar ".
    classpath =". ; ${middleware.home}/modules/com.bea.common.configfwk.ja_1.3.0.0.jar;${osb.home}/lib/sb-kernel-api.jar ".
    fork = "true".
    FailOnError = "true".
    MaxMemory = "1024 m" >

    < jvmarg value = ""-Xms512m "/ >"
    < jvmarg value = ""-Xmx1024m "/ >"
    < jvmarg value = ""-XX:PermSize = 128 m "/ >"
    < jvmarg value = ""-XX:MaxPermSize = 512 m "/ >"
    < arg line = "-${workspace.dir}" / data >
    < arg line = "-application com.bea.alsb.core.ConfigExport"/ > "
    < arg line = "-configProject ${config.project}" / >
    < arg line = "-configJar ${config.jar}" / >
    < sysproperty key = "weblogic.home" value ="${weblogic.home}" / > "
    "< sysproperty key ="osb.home"value =" ${osb.home} "/ >
    < sysproperty key = "com.bea.plateng.common.util.logging.useJDKlogger" value = "true" / > "
    < / java >
    < / target >

    Thank you!
    Viktor

    I think that it is not supported by ant script and you may have to contact the Oracle Support. Please move below thread (hisaak response)-

    Re: Export OSB configuration jar file using Ant

    Kind regards
    Anuj

  • MS fix Ctr error 'invalid command line argument' & ' code: 0 x 80070002 "&" context: Elevated ' for ' diagnose & difficulty of the problems of security of Windows '&' diagnose & repair problems Windows folder & "programs.

    I downloaded MS difficulty It Center yesterday and ran 'Improve performance and security in Internet Explorer' and it worked very well. I am running Windows XP Home Edition w / Svc Pack 3, if this information is not displayed.

    Hi rcserve,

    1. did you of recent changes on the computer?

    2. do you have security software installed on the computer?

    I suggest that you manually download Fixit instrument and save the Fixit file on the computer and later do a right click on it and click run as administrator and check if it installs on the computer.

    Open the Web tool Fixit page and click Advanced-download to run on a computer disconnected, or different when you get the prompt to save on the portable device, select desktop as the location to save it.

  • command-line option syntax error type command /? help

    Whenever I have try and download updates, the following message is displayed with a ' syntax error type command-line option command /? help "but when I type the?" / key nothing happens?

    I had the same problem, even in the guidelines recommended by microsoft, faild, but I solved it

    go to google and put

    Download (pilot saw issue and the version of the driver) and download it manually on sony.com and install good luck

  • "Error: unknown protocol: c ' on the install command line + launch, after 'Throw error' on FB4 install + launch

    Just try to get AIRHelloWorld.as installed and launched on the Simulator, and I encountered some problems.

    With the help of FB4 (v4.0.1), I get the following by following the instructions at http://docs.blackberry.com/en/developers/deliverables/21877/Testing_your_application_from_FB4_134713...

    for the configs of type "Run", he pretended to install and launch, but does nothing. ".

    for the launches of type "Debug", after he sat down to "Waiting for Adobe Flash Player to connect to the debugger" for awhile:

    "The launch has failed."

    "Failed to connect; session has expired.

    Ensure that:

    1. you have compiled your Flash application with debugging on

    2. you run the debug version of Flash Player. »

    The advice of the thread here - http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Launch-Failed-Launching-Error/m-p... - I went to try from the command line with the following command:

    > blackberry-airpackager-bin-debug package AIRHelloWorld.bar - installApp - launchApp - C AIRHelloWorld - app.xml AIRHelloWorld.swf - device 192.168.152.128

    That I get:

    "Error: unknown protocol: c.

    Any help is appreciated.

    Alrighty, for those who wish to learn from my mistake, do not use the default path to your workspace in Windows XP. Place your project files in a path that has no spaces in it. Otherwise the code that reads XML application descriptor will throw and give you this completely useful message on the "unknown protocol".

    For more information...

    According to SUN ( http://bugs.sun.com/view_bug.do?bug_id=6506304 ), it's a regression of jdk1.5, so it can be bound to the version of Java that was used to create the blackberry airpackager. My recommendation to any dev BBPB watch this forum is to use another (earlier? Since jdk6 won't necessarily be released because of the Oracle) jdk for the set of tools... you know, if you want to support default Windows XP installed and you have the time. The solution is pretty easy once you know.

    Alrighty, now off to see if things work!

  • Java command line interfaces seem to have limits?

    Hello

    The code I use normally use stuff 'old-school' process (Runtime.getRuntime () .exec ("...")) when I noticed this problem, but I have since moved to the 'new school' ProcessBuilder class (ProcessBuilder.start ()).

    Basically, what I do is to dynamically generate an order of command line based on some user input. It is be a netezza command ("nzload"), but I don't think it's really too important.

    The command that has been generated is:

    nzload-host 'ipaddress' u 'username' - pw "password" - db "databasename" t "tablename" securityLevel - preferredSecured - df "/ pretty/long/path/to/data/file.csv"-logFileSize 2000 - delim, - quotedValue No.
    (P.S. I got this NZLOAD command by adding an 'echo' in front of 'nzload' in my processbuilder. Output, then the published standard my order that I could copy and paste in a test outside Java shell.)

    If I copy/paste this line in the shell on the computer, on that copy the following code executes, it works perfectly. However (and don't forget, this line has been generated by my code), it runs using ProcessBuilder.Start () gives me weird errors. From the beginning, it seemed that errors had something to do with the quotes. I tried single quotes, double quotes, and finally I took the quotes on. So far my experience with this is that if I have even a set of quotes in there, the NZLOAD utility return strange errors like "can't connect" or something on the level of security is not wrong. It seems that maybe the quotes are somehow If incompatible in Java so it tries to take 'more' than I want only it for, say, the "hostname" parameter However, these errors are B.S. since I can run the same exact command in the command line with success (no copy and paste nonsense).

    For reference, my code processbuilder is something like this:

    ProcessBuilder pb = new ProcessBuilder();

    PB.Command (). Add ("nzload");
    String hn = this. Host;
    * if (hn! = null & & hn.trim () .length () > 0) {*}
    PB.Command (). Add("-Host");
    PB.Command (). Add (HN);
    *}*

    * if (user.trim () .length () > 0) {*}
    PB.Command (). Add ("u");
    PB.Command (). Add (User.Trim ());
    PB.Command (). Add("-PW");
    PB.Command (). Add (Pass.Trim ());
    *}*
    *//...*
    Process p = pb.start ();
    RV = p.waitFor ();
    * //grab deviation / entry and displays TI *.
    (Obviously it's an extract without any quote either. A_le_prealable, I got the quotes around all of these areas, such as pb.command () .add ("------" "+ hn +" \ "");.)

    (1) how can I debug this problem so that it is more generic and easy to understand (rather than use orders nzload that none of you guys probably know anything)?

    (2) are there any limitations/known issues with using Java shell command execution?

    Thank you guys!

    Where "certain limits" == "huge PITA? Can't disagree with that.

    I would not spend more time trying to debug that. I would just pass to the ProcessBuilder constructor that takes a list or an array of strings and let him deal with the problems of scoring. Or at least start with that and see if there are still citing questions yet.

  • vSphere - ESX4 vcbMounter/vcbRestore"command line.

    Hi all

    I heard, but I can't find anything official, ' vcbMounter/vcbRestore' orders within ESX server will be available in ESX version 4 (vSphere) also,

    is this true?

    Thank you

    cordially Matteo

    Yes, I can confirm that they still exist. I do not use these tools, not sure if anything has changed, probably but there no 3.5.

    [root@himalaya ~]# vmware -v
    VMware ESX 4.0.0 build-164009
    
    [root@himalaya ~]# vcb 
    vcbExport    vcbMounter   vcbResAll    vcbRestore   vcbSnapAll   vcbSnapshot  vcbUtil      vcbVmName
    
    [root@himalaya ~]# vcbMounter
    [2009-06-02 13:38:03.310 F4EF3B60 info 'App'] Current working directory: /root
    [2009-06-02 13:38:03.376 F4EF3B60 error 'vcbMounter'] Error: Missing command line option
    VMware Consolidated Backup -- Virtual Machine Mount Utility
    Version 4.0.0 (build-164009)
    Copyright (C) 1998-2009 VMware, Inc.  All rights reserved.
    Usage:
    vcbMounter -h  -u  [-p ]  [] []
                 := 
           :=  |  | 
           := -L (0-6)
                := -m "cos"|"nbd"|"nbdssl"
            := -a   [][]
      := -d   
      := -U 
    
                  := |||<...> [-c ]
                         (See VM Backup guide for complete list of search
                         criteria.)
          := -r 
              := -t "fullvm" []
          := -C 
              := -n |
        := -M (0|1) -F (0|1)
    
    If no password is specified on the command line, you will be prompted for one.
    
    Export Flags:
     -M: If set, the disk is exported into a single (monolithic) file.
         When turned off (default), the disk is split into multiple 2GB files.
     -F: If set, the disk is exported as "flat" disk, with no optimizations.
         When turned off (default), the exported disk files will be more compact as
         unused space in the disk image is not included in the  exported file.
    
    Examples:
    +) Do a full VM style backup of vm "foo.bar.com" across the SAN,
       talk to ESX/VC host "wisdom.bar.com" as user "vc" with
       password "foobar". - Export will go to "d:\backups":
    
       vcbMounter -h wisdom.bar.com -u vc -p foobar -a ipaddr:foo.bar.com \
                  -r d:\backups\foo-fullVM -t fullvm
    
       Full VM backups export an entire virtual machine into a set of
       files within a directory. Backing up this file set allows for the
       entire virtual machine to be restored later on.
    
    +) Do an automatic unmount of the export just created:
    
       vcbMounter -h wisdom.bar.com -u vc -p foobar \
                  -U d:\backups\foo-fullVM
    
       An automatic unmount will work for both file-level and full VM mounts.
       (A full VM unmount operation just has to delete the exported files.)
    

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

Maybe you are looking for