StringIndexOutOfBoundsException - both cmd and ant error

Hi there, having the following pblm. Using pmd 1.0 (latest available version, archived named 1.0.1 something)
BUILD FAILED
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1938)
        at com.adobe.ac.pmd.nodes.impl.MetaDataNode.compute(MetaDataNode.java:54)
        at com.adobe.ac.pmd.nodes.impl.NodeFactory.createMetaData(NodeFactory.java:41)
        at com.adobe.ac.pmd.nodes.utils.MetaDataUtils.computeMetaDataList(MetaDataUtils.java:46)
        at com.adobe.ac.pmd.nodes.impl.FunctionNode.compute(FunctionNode.java:120)
        at com.adobe.ac.pmd.nodes.impl.ClassNode.detectFunction(ClassNode.java:306)
        at com.adobe.ac.pmd.nodes.impl.ClassNode.computeClassContent(ClassNode.java:262)
        at com.adobe.ac.pmd.nodes.impl.ClassNode.compute(ClassNode.java:103)
        at com.adobe.ac.pmd.nodes.impl.PackageNode.compute(PackageNode.java:73)
        at com.adobe.ac.pmd.nodes.impl.NodeFactory.createPackage(NodeFactory.java:46)
        at com.adobe.ac.pmd.files.FileSetUtils.computeAsts(FileSetUtils.java:101)
        at com.adobe.ac.pmd.FlexPmdViolations.computeAsts(FlexPmdViolations.java:118)
        at com.adobe.ac.pmd.FlexPmdViolations.computeViolations(FlexPmdViolations.java:96)
        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.ant.FlexPmdAntTask.execute(FlexPmdAntTask.java:64)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 0 seconds
could you advise what can be the problem?

Thanks for help, the first problem was removed, however I have another one (after start using attached file)
BUILD FAILED
java.lang.NoSuchMethodError: com.adobe.ac.pmd.files.impl.FileUtils.computeFilesList(Ljava/io/File;Ljava/lang/String;)L java/util/Ma
p;
        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.ant.FlexPmdAntTask.execute(FlexPmdAntTask.java:64)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Similar Messages

  • My 6th generation nano isn't recognized by my computer. When I plug it in an error message pops up, which says "USB Device Not Recognized". Does anyone know how to start trouble shooting this. I updated both windows and iTunes.

    My 6th generation nano isn't recognized by my computer. When I plug it in an error message pops up, which says "USB Device Not Recognized". Does anyone know how to start trouble shooting this? I updated both windows and iTunes.

    Work through all the suggestions in this Apple support document first.
    iPod: Does not appear in Windows or iTunes and Device Manager is empty
    B-rock

  • DB Function errors out when trying to use in both Answers and RPD file.

    Hi All,
    Its a strange behaviour that one function which is in Database works fine the other does not. I have created 2 DB functions and accessing them from OBIEE in both Answers and RPD. One function which returns a Date is working fine, the one which is returning a number is throwing a error.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S0022 code: 904 message: [Oracle][ODBC][Ora]ORA-00904: "APPS"."XXX_BUSINESS_DAYS": invalid identifier. [nQSError: 16001] ODBC error state: S0022 code: 904 message: [Oracle][ODBC][Ora]ORA-00904: "APPS"."XXX_BUSINESS_DAYS": invalid identifier. [nQSError: 16015] SQL statement execution failed. (HY000)
    SQL Issued: SELECT "Soft cost Fact".Project saw_0, "Soft cost Fact"."Fiscal Year" saw_1, "Soft cost Fact".XXX_BUSINESS_DATE saw_2, CASE WHEN EVALUATE('APPS.XXX_BUSINESS_DAYS(%1,%2,%3)',"Soft cost Fact"."Soft Cost Date","Soft cost Fact"."Soft Cost Date",1) =0 THEN 'ZERO' ELSE 'NON-ZERO' END saw_3 FROM "Soft Cost" WHERE "Soft cost Fact".Project = '060096' ORDER BY saw_0, saw_1, saw_2, saw_3
    Both functions are in same schema, have the similar grants.
    Please help me resolving this error. Any pointers in resolving this is much appreciated.
    Thanks,
    Vijay

    I noticed that you have not specified the type of return value that the function returns. It is good practice to do so..
    EVALUATE('DB_Function(%1)' as returntype, {Comma separated Expression}).
    Try EVALUATE('APPS.XXX_BUSINESS_DAYS(%1,%2,%3)' as number,"Soft cost Fact"."Soft Cost Date","Soft cost Fact"."Soft Cost Date",1) to see if that resolves the error.
    Also check this out if you haven't already.
    http://obiee101.blogspot.com/2007/12/evaluate-function-and-presentation.html
    Hope this helps.Thanks.

  • HT4061 I bought the ipad air for the primary use of marine navigation. I looaded both Garmin and iNAVx charts, but currently none of thecharts including apple maps can determine my location.  The error message says to turn on location services and turn of

    I bought the ipad air to be used for marine navigation and installed both garmin and inavx charts. Currently none of the charts including apple maps can identify my current location.  The error message says to enable location services and disable airport which I have done, but none of these applications work.

    I bought the ipad air to be used for marine navigation and installed both garmin and inavx charts. Currently none of the charts including apple maps can identify my current location.  The error message says to enable location services and disable airport which I have done, but none of these applications work.

  • Get an error for changing the windows authentication mode to the both SQL and windows authentication mode

    I installed the SQL server Express 2008 R2 and then SQL Server Management Studio 2008 R2 . But during the installation, I could not choose the both SQL and windows authentication mode and an error accrued so I did that just with windows authentication mode. 
    Now, I want to change the windows authentication mode account to the SQL authentication mode but it shows me an error which is you do not have permission (Although I am the administrator in windows), what can I do?
    Following steps are the steps that I went but I got an error:
    Server properties >> security >> choose the option of SQL Server and Windows Authentication mode 
    and the error that I got is attached(access is denied)  
    Can you please help me?

    You can change the setting after you gain admin rights to your SQL Server. You don't admin rights automatically, you have to explicitly add yourself during the install
    Here's a guide on how to (re)gain those rights:
    http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/

  • Receiving error msg in user's mailbox for both Outbound and Inbound IDocs

    Hi,
    Whenever specific IDoc (Inbound/Outbound) gets failed then the user/org unit assigned in its partner profile should get those error messages in their inbox.
    To achieve this for Inbound Idoc I have performed following set of steps:-
    1. Created an object and attached it under IDOCAPPL using 'SWO1' and I have set that object type as 'To imported'.
    2. I have assigned that object type to event 'ERRORINPUTOCCURRED' and standard tasks '00008068' (Inbound processing error), '00008074'
    (Inbound Syntax error), '20000051' (IDoc Application Inbound error), '300000207' (Error during Inbound processing of SYSTAT01) using transaction 'SWETYPV'.
    3. I have created an organisation unit with two positions and different jobs where each job has been assigned to specific tasks. User has also been assigned to specific jobs.
    4. At the end of this I have assigned this org. unit to IDoc's partner profile.
    But this process does not seem to be working we are not receiving any mail in agent's inbox. If someone has done similar kind of thing in past, please let me know the correct step for both Outbound and Inboud IDoc.
    Thanks in advance.
    Supriya

    Hi,
    Try this for inbound IDOC
    Go to transaction WE42
    Give the process code that you gave in the partner profile (WE20)
    Select that row and press the details button (F2).
    Next to the "Identification"  field there will be push button which has the tool tip "ALE table"
    Press that button
    In the resulting screen..
    In the IDOC section..
    Give the following..
    object type -  "new business object that you created"
    Start event - INPUTERROROCCURRED
    End event - INPUTFINISHED
    Hope this works..
    Thanks,
    Naren

  • How do I get around the U44M1210 error? Both Photoshop and Bridge

    I have dried for months to update Photoshop and Bridge. I have tried uninstalling and reinstalling both, but still get error. They reinstall, but they can't apply a patch.

    I am not flash wit Mac systems, but with Windows 7 and 8.1, we restart the computer, and open the Application manager as Administrator by right clicking its icon.  The official help page should get you fixed
    https://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

  • HT1338 I am trying to download java onto my macbook pro, but for some reason this function isn't recognizing the internet.  The error message insists that I am not connected but I am.  I have tried this through both safari and firefox

    Sorry I didn't realize the above was just a subject line.
    I have been trying to download java for my macbook pro, but for some reason the function is not recognizing the internet.  I am on and have checked several times .... I have checked through both safari and firefox but to no avail.  Thanks for any help anyone can give.

    Not really a reply just some added info:
    This is the error message I get saying the internet is not on, but clearly as I can send this message it has to be:
    To open “Java Preferences,” you need to install a Java runtime, but you are not connected to the Internet.
    I am connected through Wi-fi if that makes a difference.

  • My iphone is showing the apple pic so i Pressed both home and sleep/wake buttons until the Apple logo appears, then release the sleep/wake button and continue pressing the home button alone until iTunes detects and Recoveys but it is gives an error 1051

    my phone was showing the apple pic when i eraseed all content and settings so i did Pressed both home and sleep/wake buttons until the Apple logo appeared, then released the sleep/wake button and continued pressing the home button alone until iTunes detected the phone in Recovery Mode but an error is coming (1015) plz help me!!!!

    plug into itunes and take it from there
    http://support.apple.com/kb/HT1808

  • Hello, Just bought a new camera and tried to load the CF card containing Raw files on both the Mac and the windows computer and get error message telling me nothing was imported. The files or folders selected  to import did not containany supported file t

    Hello, Just bought a new camera, Tried to import files to elements 12 on the Mac and Elements 10 on Windows... Both computers I get error message:Nothing was imported. Files or folders selected did not contain any supported files... They are Raw (new) files.. It is the only files I had ever imported and it has always imported them in the past.. What could have changed?

    Hi Daytrip589,
    Just wondering if you're situation has been resolved. I have a similar problem with PSE 11, getting the message about nothing was imported. I shoot RAW, have imported with this camera before ( a Canon G15) but couldn't the last time I tried. Cheers, Glenn.

  • Error 16 on Launch of both CS6 and Arcobat XI

    Getting Error 16 on Launch of both CS6 and Arcobat XI. I have checked and corrected permissions on both "SLStore" and "Adobe PCD" and still getting Error 16 on Launch.

    Systerm info? Other details? Have you simply tried to reinstall?
    Mylenium

  • When I try to iTunes Match I get 'Please Sign In Again' error, I cannot access the songs which are visible in the iCloud in my music library on both iPad and iPhone

    when I try to iTunes Match I get 'Please Sign In Again' error, I cannot access the songs which are visible in the iCloud in my music library on both iPad and iPhone

    Did you try setting itunes to run with administrator privileges? 
    Since I changed that I no longer have this issue

  • Error printing both wireless and via USB

    Hi my printer is a HP deskjet 3050A all in one.
    It stopped communicating with the computers in the house when we were having internet issues.Tthe modem was reset.
    I have unistalled it and reinstalled the printer and the drivers and I can send the documents to the correct printer from both the desktop and the laptop, but then I am getting an error printing message. when I click on to see what's printing, the document is listed in the queue but it is showing a document with three circles on it rather than a Word Document.
    This is happening from both computers and with both connected and wireless printing.
    Any suggestions?
    Thank you
    This question was solved.
    View Solution.

    Hey @soleruler,
    If the printer doesn't show under the Programs and Features list on your Windows 8.1 systems than that generally indicates that your Deskjet 3050a e-All-in-One Printer was most likely not installed properly in the first place. You certainly can use the  'Remove Device' option under 'Devices and Printers' on those 3 computers to remove the old copies of the printer. Just make sure that there is no print jobs stuck in the queue when you go to remove the device. Print jobs stuck in the queue will cause the printer to go into a 'removing' status but the Deskjet wont delete until the jobs are deleted. To check the print queue just right click on the printer under Devices and Printers and left click on 'See What's Printing'. If anything is in the box then just right click on it and 'cancel' the jobs. Once cancelled, then you can proceed with the 'Remove Device' option.
    Let me know how these steps go for you. Good luck!
    X-23
    I work on behalf of HP
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping!

  • I cannot sign into my apple id on my iphone 5, im trying to activate imessage.. im connected to both wifi and my mobile data is on- however it is still saying network connection error!? help?!

    i cannot sign into my apple id on my iphone 5, im trying to activate imessage.. im connected to both wifi and my mobile data is on- however it is still saying network connection error!? help?!

    Try this but you need a current email address:
    http://support.apple.com/kb/HE34

  • BSOD with both Kernal Security Check Error and Bad Pool Header.

    All -
    I have a HP DV7 laptop with Windows 8.1. It has BSOD with both Kernal Security Check Error and Bad Pool Header.
    Despite doing all the built in HP tests, there is nothing. Using an Anker HardDrive Dock results in the identical errors on another machine.
    Bottom line, even if I could see the DMP files (which I cannot); because the machine fails to boot, there are no files to be copied.
    I have tried various AIO and UEFI disks and USB, and the laptop NEVER accepts the PREINSTALL environment. Being unable to use the Anker has never happened. I seem completely locked out of the drive. Any suggestions? Thx.
    Bruce A Ades

    Hi Texas_Bruiser
    Some required details are needed for us to help you.
    Ensure that the BIOS/UEFI has been configured to allow boot from DVD/CD or USB.
    When you attempted to boot into PREINSTALL environment (PE) by using disks or USB, we need more details about error message or what happened?
    If your computer cannot even boot into Windows PE by using installation media, we suggest you check if memory and other hardware are works properly on this computer. Also try to plug this hard disk on other computer as data volume, see if the hard disk works.
    Regards
    D. Wu

Maybe you are looking for

  • Dell monitors go into power save cycle

    I got 2 brand new Dell P2412H monitors to use as a dual display. However when the computer puts the display to sleep they go into a "Entering Power Save Mode" cycle and the display never shuts off it stays blue and continues to do that. This happens

  • Oracle UCM 11g Vs Oracle UCM10g

    Hi, I want to know the difference between Oracle UCM11g and Oracle UCM10g. 1. Whats the primary benefit for the client for chosing Oracle UCM 11g than Oracle UCM 10g. 2. Whats are all the changes added in UCM11g from customization perspective. - Is C

  • What does it mean when iPhoto displays a warning sign with an exclamation point when you try to open a photo in your library?

    What is iPhoto 11 trying to tell me when it displays a warning sign with an exclamation point in it when I try to open a photo in my library?  I'm corrupted file and that since there are many I may have a bad drive.  I have 2 time machine backups (on

  • Can you automate printing in Business One  - I want to print two diffrent

    I have 2 diffrent Layouts ( say for AR Invoice ) I want to automate  - in any such way ,  so teh user clicks on button once ( print ) and the Invoice is printed with a copy each using the 2 diffrent layouts. what are the possibilities ? does Business

  • Some purchases not displaying on Mac

    Hi. I have bought Logic Pro 9 in 2012. I have reinstalled my Macbook-Pro. I have gone to the MAC App store and clicked on "Purchases" Everything is displaying except Logic Pro 9 Support tried to help me 3 times previously but it seems to be a technic