CS5 goto Syntax Error

With the introduction of PHP 5.3, the powers that be introduced a new operator, "goto."  See it in the manual here:
http://php.net/manual/en/control-structures.goto.php
Example:
<?php
goto a;
echo 'Foo';
a:
echo 'Bar';
?>
Outputs Bar.
It's really quite handy.
However, Dreamweaver CS5 does not recognize this instruction and displays a syntax error where it both installed and at the target.
Is there a workaround or a way to add the tag to the application?

Thanks, I had re-written and seem to have it working ok but went back to original to test using string instead of text and that seems to work.
Thanks again for the help.
Joe

Similar Messages

  • DreamWeaver CS4-CS5 Creates Syntax Errors

    I cannot seem to find any info on this online but my DreamWeaver CS4 and a trial of DreamWeaver CS5 both create PHP and SQL queries that are loaded with syntax errors. I use XAMPP on my computer as I have done for years, and it works fine with phpMyAdmin and Komodo Edit. DreamWeaver has been a nifty app to quickly knock out simple applications in that past, but now I spend too much time manually correcting syntax errors in PHP page queries.
    Has anyone there heard of a fix for this? Several other web developers have told me that they entirely abandoned DW CS* series and moved on to other IDE's rather than try to fix the problem.
    EXAMPLE:
    Here is what it wrote:
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE `mysite` SET about-yn=%s, about-h1=%s, about-p1=%s, about-p2=%s, about-p2-img=%s, about-p3=%s, about-p3-img=%s, about-p4=%s, about-p4-img=%s WHERE siteID=%s",
                           GetSQLValueString($_POST['aboutyn'], "text"),
                           GetSQLValueString($_POST['abouth1'], "text"),
                           GetSQLValueString($_POST['aboutp1'], "text"),
                           GetSQLValueString($_POST['aboutp2'], "text"),
                           GetSQLValueString($_POST['aboutp2img'], "int"),
                           GetSQLValueString($_POST['aboutp3'], "text"),
                           GetSQLValueString($_POST['aboutp3img'], "int"),
                           GetSQLValueString($_POST['aboutp4'], "text"),
                           GetSQLValueString($_POST['aboutp4img'], "int"),
                           GetSQLValueString($_POST['siteID'], "int"));
    Here is what it should have written:
    f ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
       $updateSQL = sprintf("UPDATE `mysite` SET  `about-yn`=\"%s\", `about-h1`=\"%s\", `about-p1`=\"%s\", `about-p2`=\"%s\", `about-p2-img`=\"%s\",  `about-p3`=\"%s\", `about-p3-img`=\"%s\", `about-p4`=\"%s\", `about-p4-img`=\"%s\" WHERE  `siteID`=\"%s\"",
                            GetSQLValueString($_POST['aboutyn'], "text"),
                            GetSQLValueString($_POST['abouth1'], "text"),
                            GetSQLValueString($_POST['aboutp1'], "text"),
                            GetSQLValueString($_POST['aboutp2'], "text"),
                            GetSQLValueString($_POST['aboutp2img'], "int"),
                            GetSQLValueString($_POST['aboutp3'], "text"),
                            GetSQLValueString($_POST['aboutp3img'], "int"),
                            GetSQLValueString($_POST['aboutp4'], "text"),
                            GetSQLValueString($_POST['aboutp4img'], "int"),
                            GetSQLValueString($_POST['siteID'], "int"));
    [email protected]

    Dreamweaver will not produce such a mess when using column names which comply with the MySQL Naming Conventions and don´t contain (often quite problematic) hyphen characters.
    That said, you´ll be on the safe side when renaming your columns by using underscores instead, example:
    about_p3_img
    Several other web developers have told me that they entirely abandoned DW CS* series and moved on to other IDE's rather than try to fix the problem.
    Dreamweaver is certainly not a "perfect" PHP development IDE, but other IDEs (I use Komodo or Aptana at times and like them a lot...) aren´t perfect either. This may seem strange, but IMO Dreamweaver did do the - sort of - right thing by not letting the user get away with using such problematic characters, and that´s what those other IDEs I work with regretfully don´t pay attention to.

  • AppleScript InDesign CS5.5 Syntax Error

    Hi, this script runs fine as is but when I got to edit, it gives me error when compiling.  Error I get is on following 2 lines with as text part.  If I take it out, I don't get error but script doesn't run.  Script was created on a older version of MAC OS and InDesign but someone else.
    set contents of myTextFrame to TheList as text
    set XML_File to (choose file with prompt XMLstr) as text
    Error is Syntax error:" Expected end of line, etc. but found application constant or consideration."
    Here is complete script:
    try
    set CSVstr to "Please locate your CSV file..."
    set CSV_File to (choose file with prompt CSVstr) as text
    set csvData to read file CSV_File
    set csvEntries to paragraphs of csvData
    set {CSVItem1} to parseCsvEntry(csvEntries's item 1)
    set {CSVItem2} to parseCsvEntry(csvEntries's item 2)
    set {CSVItem3} to parseCsvEntry(csvEntries's item 3)
    set {CSVItem4} to parseCsvEntry(csvEntries's item 4)
    set {CSVItem5} to parseCsvEntry(csvEntries's item 5)
    set {CSVItem6} to parseCsvEntry(csvEntries's item 6)
    set {CSVItem7} to parseCsvEntry(csvEntries's item 7)
    set {CSVItem8} to parseCsvEntry(csvEntries's item 8)
    set {CSVItem9} to parseCsvEntry(csvEntries's item 9)
    set TheList to {CSVItem1, CSVItem2, CSVItem3, CSVItem4, CSVItem5, CSVItem6, CSVItem7, CSVItem8, CSVItem9}
    tell application "Adobe InDesign CS5.5"
    set myDocument to active document
    tell XML view preferences
    set show attributes to false
    set show structure to true
    set show tagged frames to false
    set show tag markers to false
    set show text snippets to true
    end tell
    tell XML import preferences
    set allow transform to false
    set create link to XML to false
    set ignore unmatched incoming to true
    set ignore whitespace to true
    set import CALS tables to true
    set import style to merge import
    set import text into tables to false
    set import to selected to false
    set remove unmatched existing to false
    set repeat text elements to true
    end tell
    set myPage to active page of active window
    tell myPage
    set myTextFrame to make text frame
    set geometric bounds of myTextFrame to {"6p", "6p", "24p", "24p"}
    ****Error on below line ****
    set contents of myTextFrame to TheList as text
    move myTextFrame to {"-30p", 0}
    end tell
    set Char1 to item 1 of TheList
    set Char2 to item 2 of TheList
    set Char3 to item 3 of TheList
    set Char4 to item 4 of TheList
    set Char5 to item 5 of TheList
    set Char6 to item 6 of TheList
    set Char7 to item 7 of TheList
    set Char8 to item 8 of TheList
    set Char9 to item 9 of TheList
    set AppleScript's text item delimiters to "\"\""
    set {LTry} to Char1's text items
    set AppleScript's text item delimiters to {}
    set placedAsset to place asset asset LTry of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {0.363, 0.84}
    set placedAsset to place asset asset Char2 of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {3.695, 0.84}
    set placedAsset to place asset asset Char3 of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {6.905, 0.84}
    set placedAsset to place asset asset Char4 of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {0.363, 3.91}
    set placedAsset to place asset asset Char5 of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {3.695, 3.91}
    set placedAsset to place asset asset Char6 of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {6.905, 3.91}
    set placedAsset to place asset asset Char7 of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {0.363, 6.95}
    set placedAsset to place asset asset Char8 of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {3.695, 6.95}
    set placedAsset to place asset asset Char9 of library "JetroXMLElements.indl" on myDocument
    move placedAsset to {6.905, 6.95}
    tell myDocument
    set XMLstr to "Please locate your XML file..."
    ****Error on below line ****
    set XML_File to (choose file with prompt XMLstr) as text
    import XML from XML_File
    end tell
    tell application "Adobe InDesign CS5.5"
    set find text preferences to nothing
    set change text preferences to nothing
    set find what of find text preferences to "mykzlplx"
    set change to of change text preferences to ""
    tell active document
    change text
    end tell
    set find text preferences to nothing
    set change text preferences to nothing
    set find what of find text preferences to "¬"
    set change to of change text preferences to ""
    tell active document
    change text
    end tell
    set find text preferences to nothing
    set change text preferences to nothing
    end tell
    end tell
    end try
    to parseCsvEntry(csvEntry)
    set AppleScript's text item delimiters to "\"\""
    set {Stuuff} to csvEntry's text items
    set AppleScript's text item delimiters to {""}
    return {Stuuff}
    end parseCsvEntry
    Thanks!

    Thanks, I had re-written and seem to have it working ok but went back to original to test using string instead of text and that seems to work.
    Thanks again for the help.
    Joe

  • Syntax Error where ?  ( CS5 )

    I keep getting an error on this script, at line 3, but I can't see why?
    <SCRIPT language="javascript">
    function fillScreen()
    { self.moveTo(0,0);
      self.resizeTo(screen.availWidth,screen.availHeight);
    </SCRIPT>
    self.moveTo(0,0);  <--- Syntax Error on Dreamweaver CS5
    Any Ideas ?     Thanks

    Most modern browsers will block your attempt to do this nasty trick, you know?
    Your job is to make the web page accommodate all visitors, not make the visitors accommodate the web page.
    CS5 is not giving me a syntax error with that antique code (I'm guessing it's vintage 1990 or thereabouts).
    Why do you need it?

  • "There is a syntax error on line .. Code hinting may not work untill you fix this error"

    Hi guys, i hope your are all well and happy.
    i have syntax error on new pages created from template  (no errors in template) I use Dreamweave CS5
    Thiis is part of my code:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>| Building and Construction services | Maintenance services | Cleaning services | Buildant Ltd |</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="file:///D|/Local Sites/Buildant/CSS/buildant.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    I have highlited line with red (the dreamweaver telling me that syntax error is on this line)
    Could anybody please help mw with this one
    Thank you

    I copy and pasted your code and got the error. I rewrote the code and it went away. I have had problems in DW with templates that gave me errors when everything was good but the only way to fix it was to redo the template from scratch. Sounds stange, but true. The only other thing, and the experts here might chime in is to put the scripts in comment tags like below.
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>| Building and Construction services | Maintenance services | Cleaning services | Buildant Ltd |</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <link href="file:///D|/Local Sites/Buildant/CSS/buildant.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    I don't get the error now, so I am unsure what to do.
    Jim

  • Code syntax error in header using a template?

    Now running CS5 DW in a 32 bit Windows/Vista ultimate environment. The improved error messages have brought to light a problem that I apparently have had for a long time but didn't know it as CS4 simply flagged the line but no message.
    Many of my site pages use a template http://a0540807.uscgaux.info/Templates/A0540807_Skeleton_2010.dwt
    If I build or edit a page using this template in CS5, when in code view I see "There is a syntax error on line 57. Code hinting may not work until you fix this error.  Line 57 is within the header of the page and is simply </script>
    But if I simply detach the template from the page, the error goes away and it says no syntax errors.
    So I am confused, is there an issue with the code or is this a Dreamweaver issue dealing with template usage?
    While the error appears cosmetic, I keep wondering what to do to eliminate. Apparently, I have had this situation a long time as Line 57 is also identified back in CS4 but no error message until CS5. Any pointers are appreciated. Thanks.
    Andy

    I don't actually think there is any problem with your page...run one of your child pages through the W3C validator: http://validator.w3.org/ . I cast a page from your template and it came through with flying colors!
    Beth

  • Designer syntax errors in correct code.

    I have added some trigger code to a bound item. The designer syntax checker finds errors in the code but the generated form runs correctly. It appears that the syntax checker doesn't like DECLARE. The code doesn't do anything and I believe it is fine but I would like to get the syntax checker to stop complaining about it. Any suggestions on how I might arrange things to stop the syntax error messages would be appreciated. Here is the offending code with error messages:
    DECLARE
    item_id     Item;
    BEGIN
    item_id := FIND_ITEM('M1.STATE');
    END;
    The Syntax Checker found the following errors:-
    PLS-00103: (Line 1) Encountered the symbol "DECLARE" when expecting one of the following:
    begin function package pragma procedure separate subtype type
    use <an identifier> <a double-quoted delimited-identifier>
    form current cursor external language
    The symbol "begin" was substituted for "DECLARE" to continue.
    PLS-00103: (Line 20) Encountered the symbol "end-of-file" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted d
    [2] error(s), [0] warning(s)

    This will not work correctly in 32-bit Windows (or 64-bit) The type of wParam *must* be WPARAM, the type of lParam *MUST* be LPARAM, and for a dialog handler the return type should be BOOL. The old _export keyword no longer exists, and is not needed in
    Win32. FAR is a macro with an empty body and its appearance in all places can be deleted. The quaint and confusing PASCAL keyword may still work, but it would be better to use the now-correct term CALLBACK. Since this is clearly antique Win16 code, there may
    be other problems dealing with size of integers. The types int, long, DWORD, UINT and others all represent 32-bit values. The return type for window handlers must have the return type LRESULT, and for dialog handlers, BOOL. All wParam and lParam types must
    be changed as I indicated. Note that for Win16, wParam was 16-bit and lParam 32-bit. For Win32, WPARAM, LPARAM and LRESULT are all 32-bit values, and for Win64 they are 64-bit values. Any place the code casts a pointer to an integer type, the code is inherently
    incorrect. You must use types like INT_PTR, UINT_PTR, DWORD_PTR and other _PTR-suffixed types for such casts; in Win32 these are pointer-sized integer types (32-bit) and in Win64 they are pointer-sized integer types (64-bit). Types like int, long, DWORD, etc.
    are 32-bit values in both Win32 and Win64. Converting code to run on Win32/64 from Win16 requires great caution, because the programming "standards" that were taught for Win16 did not plan on true platform portability, and programmers were taught
    terrible techniques such as declaring wParam as WORD and LPARAM as long. And casting pointers to ints and back. All of these techniques lead to disaster.

  • Program giving syntax error in Production client

    Hi Experts,
                I have moved an object into testing client its working fine there,but when it was moved from testing to production client.
                they are getting the error as "program ZSIOPCN contains syntax errors", when they are trying to create a variant in SE80 for this program from menu goto-->variants.
                Can anyone give any idea why this error comes, when the program is working fine in Quality client. Please give me suggestions,why it may happen.
    all answers will be rewarded, Thanks in advance.
    Thanks & Regards,
    Poorna.

    hi Rodrigo Paisante,
               i didn't understand the point "one or more objects wold be moved too", means moving the same object many times.
               we generally move the workbench requests in a sequence, in which they released. This transport sequence is follwed in the same sequence when moving from one client to another client.
               can you eloborate the solution and possible cause for this problem. i am getting message error DB: 242.
    Thanks,
    Poorna

  • Can I prevent the rapid flashing which occurs when testing a Flash movie which has a syntax error?

    I teach games development using Flash Professional CS6, and one of my students has photosensitive epilepsy. He is finding that the 'strobing' effect which occurs when he executes Test Movie on a movie with errors in its script is triggering headaches which can be a precursor to a fit. Obviously this is making it very difficult for him to complete his lab and assignment work. Is there any way of preventing a Flash movie from running if it contains a syntax error?
    I have created a workaround by adding a bunch of extra frames to the start of the movie which will display a "SYNTAX ERROR" message if the script doesn't run - this gives my student a few seconds margin to quite the movie before the strobing begins. I have a single frame at the start with a goto statement which jumps over those error frames if the code doesn't have any syntax errors.
    This seems to be working ok, but it's an ugly solution - does anyone know of a better way to deal with this?
    Thanks.

    1.In Preferences you can check "open test-movie in tabs".
    2. Having done that you could write a jsfl-script which switches the focus (immeadiately after you test the movie) to another tab in the same register card, thus, forcing the possible "corrupt" testmovie in the background. If are no compiler errors , the testmovie can be made available by simply switching to the test-movie tab, if there are compiler errors, you can close it without having to look at it.
    Another option would be to setup FlashDevelop as compiler trigger of Flash.
    You have to change these basic properties in your project:
    FlashDevelop will only launch the test movie if it compiles flawless, inside Flash.
    FlashDevelop will act as a "bouncer" to Flash.

  • Syntax error: expecting rightparen before not.

    Another textbook problem!
    The step word for word in my textbook is:
    The following four lines of code placed above the goto statement for the function called by the home button so the animation does not play when the Home button is clicked.
    if (animationInstance.parent != null)
         animationinstance.parent.removeChild(animationInstance);
    So.. I added this step to my code for the assignment and when I test it, I'm getting error:
    Scene 1, Layer 'actions', Frame 1, Line 29 1084: Syntax error: expecting rightparen before not.
    Here's my entire code for the frame:
    import flash.events.MouseEvent;
    stop();
    var animationInstance:animationMC = new animationMC();
    graphicsBtn.addEventListener(MouseEvent.CLICK, goto2);
    function goto2(Event:MouseEvent)
        gotoAndStop(2);
    animationsBtn.addEventListener(MouseEvent.CLICK, goto3);
    function goto3(Event:MouseEvent)
        gotoAndStop(3);
    formBtn.addEventListener(MouseEvent.CLICK, goto4);
    function goto4(Event:MouseEvent)
        gotoAndStop(4);
    photoBtn.addEventListener(MouseEvent.CLICK, goto5);
    function goto5(Event:MouseEvent)
        gotoAndStop(5);
    homeBtn.addEventListener(MouseEvent.CLICK, goto1);
    function goto1(Event:MouseEvent)
        if(animationInstance.parent ! = null)
            animationInstance.parent.removeChild(animationInstance);
        gotoAndStop(1);
    Any help is appreciated!!

    ! = should be !=   no space ( ! is what they are calling "not" -- shoulda just used ! )
    And I think I already mentioned to not use "Event" like you do

  • Syntax error in program "ZCL_IM_HRPAD00INFTY===========CP ".

    Hi,
    While running the PA40 transaction..am giving the from date :24.10.2007(any date) and selecting the 'Hire New Employee' tab from personnel actions. If i click on execute button it is giving Runtime Error.
    <b>Error analysis</b>
    The following syntax error was found in the program
      ZCL_IM_HRPAD00INFTY===========CP :
    "A line of "NEW_IMAGE" and "LW_2001_NEW" are not mutually convertible. "
    "In a Unicode program "NEW_IMAGE" must have the same structure layout a"
    "s "LW_2001_NEW" independent of the length of a . Unicode character. Un"
    "icode character."
    Source code:
       12   ELSE.
       13     CONCATENATE '\CLASS=' imp_class INTO abs_type_classname.
       14 *****  dynamic object creation     *******************************
    >>>>>     CREATE OBJECT instance TYPE (abs_type_classname).
       16 ******************************************************************
       17     imp_obj-imp_name    = imp_name.
       18     imp_obj-calling_obj = caller.
    Please do the needfull.
    Thanks in advance.
    Regards,
    Phani Miriyala.

    Hi,
    its seems unicode problem in your BADI code.
    (1) goto se24 transaction.
    (2) enter the class name ZCL_IM_HRPAD00INFTY===========CP '
    (3) select the properties tab.
    (4) in general data tick the check box 'Unicode checks active'.
    if error persist then in same way you have also check all the implemetation of BADI's for unicode tick
    Hope it will help you.
    regards,
    ABHIJIT ZOPE

  • Syntax error to run a javaScript

    Hi all
    I want to run a JavaScript using AppleScript do script method.
    First I create a document using
    tell application "Adobe InDesign CS5.5"
              set myDocument to make document
    end tell
    Now I run this script
    set ScriptPath to alias "HD:private:var:root:Documents:Adobe Scripts:Source1.jsx"
    tell application "Adobe InDesign CS5.5" 
      do script ScriptPath language javascript
    end tell
    But it give error
    error "Adobe InDesign CS5.5 got an error: Syntax error" number 8
    I also try :
    set ScriptPath to alias "HD:private:var:root:Documents:Adobe Scripts:Source1.jsx"
    tell application "Adobe InDesign CS5.5"
              set myDocument to make document
      do script ScriptPath language javascript
    end tell
    No compile error
    At run time give same error "Adobe InDesign CS5.5 got an error: Syntax error" number 8
    If I create document using this:
    tell application "Adobe InDesign CS5.5"
      set myDocument to make document
    end tell
    and run Source1.jsx using Extend Script Toolkit CS5.5 then script run sucessfully.
    My Java Script is :
    #target indesign
    var myDocument = app.activeDocument;
    with(myDocument.documentPreferences)
        pageHeight= "11i";
        pageWidth ="8.5i";
        facingPages=false;
        pageOrientation=PageOrientation.portrait;
        pagesPerDocument=1;   
    var myLayer= myDocument.layers.add();
    myLayer.name="myFirstLayer";
    myLayer.visible=true;
    var masterspread = myDocument.masterSpreads.add(1);
    masterspread.baseName="NewMasterPage";
    masterspread.select(1919250519);
    var myTextFrame=masterspread.textFrames.add(myDocument.layers.item("myFirstLayer"));
    myTextFrame.geometricBounds = ["6p", "25p", "30p", "30p"];
    myTextFrame.contents = "Master Spread";
    I do no understand where is Syntax error.
    tell application "Adobe InDesign CS5.5"
              do script alias "HD:private:var:root:Documents:Adobe Scripts:Source1.jsx" language javascript
                        --> error "Syntax error" number 8
    Result:
    error "Adobe InDesign CS5.5 got an error: Syntax error" number 8
    Thanks.

    Hi Vamitul Thanks for reply
    Now script run but i do not understand the behave of script
    In Extend Script Toolkit CS5.5  script run sucessfully
    with this
    var myTextFrame=masterspread.textFrames.add(myDocument.layers.item("myFir stLayer"));
    why it give error in AppleScript do script method ?
    Thanks

  • Syntax error after upgrade to ECC6

    Hi,
    I have customized infotype and BAPI in SAP 4.6. After upgade to ECC6, my Infotype is working fine, but my BAPI give this error : 
    The following syntax error was found in the program SAPLZBAPI_HR :
    "INCLUDE report "%_HR9000" not found."
    If I goto SE38 to recreate %_HR9000, SAP not allow me to continue and appear message "Do not use any special character".
    May I know how to resolve this problem ?
    Thanks a million.
    Regards,
    Eric

    Hi,
    In the ECC6.0 version, it seems that one of the INCLUDE that was generated for that infotype in 4.6 C ending.. with words....HR9000 was not transported or not found for that infotype. Please check all the includes..
    In SE38 you can enter the characters like %, so that error  is coming
    % means LIKE PATTERN ....HR9000 .
    Hope you understood.
    Regards,
    ANJI

  • TempInit, Line 2, Column 14     1086: Syntax error: expecting semicolon before minus.

    Hey! First time posting here, I am a student taking classes on flash. I use Flash CC and obviously AS3. I've got a project I am working on, and have encountered a very frustrating problem. I have emailed my teacher but I thought I would ask around the web as well.
    I get a compiler error saying:
    tempInit, Line 2, Column 14
    1086: Syntax error: expecting semicolon before minus.
    I have tried commenting out the entire script, and I still get the same error. The weird thing is there is nothing on line 2, column 14. Line two simply reads:
    stop();
    I've also considered that I had some symbols named after keywords or with illegal characters that could somehow be causing this issue. It turns out I did, so I changed all suspected items to more appropriate names. Yet even after I did this, the error persists. I cannot find any other explanation as to why this error occurs at this point, hence why I am turning to the internet.
    A notable factor here is that I have imported items from illustrator cs5, some of which had illustrator symbols included. These were the culprits with the first issue of illegal and keyword names; examples: "Mountain1-2" and "New Symbol"
    Many thanks,
    Lee
    I'll paste my code here:
    import flash.events.MouseEvent;
    stop();
    var Htraesea_mc:Htraesea = new Htraesea();
    /*Aisa*/
    var TheEverlands_btn:TheEverlands = new TheEverlands();
    var everlandsdesc_mc:everlandsdesc = new everlandsdesc();
    var TheClaruslands_btn:TheClaruslands = new TheClaruslands();
    var claurslandsdesc_mc:claurslandsdesc = new claurslandsdesc();
    var TheDwarvallisLands_btn:TheDwarvallisLands = new TheDwarvallisLands();
    var dwarvallisdesc_mc:dwarvallisdesc = new dwarvallisdesc();
    var TheGreyLands_btn:TheGreyLands = new TheGreyLands();
    var greylandsdesc_mc:greylandsdesc = new greylandsdesc();
    var TheLandsofGineder_btn:TheLandsofGineder = new TheLandsofGineder();
    var TheLandsofHumara_btn:TheLandsofHumara = new TheLandsofHumara();
    var humaradesc_mc:humaradesc = new humaradesc();
    var TheLandsofJurgious_btn:TheLandsofJurgious = new TheLandsofJurgious();
    var TheLandsofMiddterrus_btn:TheLandsofMiddterrus = new TheLandsofMiddterrus();
    var TheLandsofOtrannas_btn:TheLandsofOtrannas = new TheLandsofOtrannas();
    var TheLandsofWeshan_btn:TheLandsofWeshan = new TheLandsofWeshan();
    var TheLowerAltiorlands_btn:TheLowerAltiorlands = new TheLowerAltiorlands();
    var TheMiddaltiorlands_btn:TheMiddaltiorlands = new TheMiddaltiorlands();
    var TheStarkLands_btn:TheStarkLands = new TheStarkLands();
    var starklandsdesc_mc:starklandsdesc = new starklandsdesc();
    var TheUnderlands_btn:TheUnderlands = new TheUnderlands();
    var TheUpperAltiorlands_btn:TheUpperAltiorlands = new TheUpperAltiorlands();
    var TheViridilands_btn:TheViridilands = new TheViridilands();
    var TheWestlands_btn:TheWestlands = new TheWestlands();
    var westlandsdesc_mc:westlandsdesc = new westlandsdesc();
    var TheBroadlands_btn:TheBroadlands = new TheBroadlands();
    /*Acierma*/
    var TheBleaklands_btn:TheBleaklands = new TheBleaklands();
    var bleaklandsdesc_mc:bleaklandsdesc = new bleaklandsdesc();
    var TheConvullands_btn:TheConvullands = new TheConvullands();
    var TheInfractlands_btn:TheInfractlands = new TheInfractlands();
    var infractdesc_mc:infractdesc = new infractdesc();
    var TheLandsofFragmenus_btn:TheLandsofFragmenus = new TheLandsofFragmenus();
    var fragmenusdesc_mc:fragmenusdesc = new fragmenusdesc();
    var TheLandsofJunosto_btn:TheLandsofJunosto = new TheLandsofJunosto();
    var junostodesc_mc:junostodesc = new junostodesc();
    var TheLandsofMusttrupis_btn:TheLandsofMusttrupis = new TheLandsofMusttrupis();
    var TheLandsofRelinas_btn:TheLandsofRelinas = new TheLandsofRelinas();
    var TheLandsofSundara_btn:TheLandsofSundara = new TheLandsofSundara();
    var sundaradesc_mc:sundaradesc = new sundaradesc();
    var TheLaniatosLands_btn:TheLaniatosLands = new TheLaniatosLands();
    var TheRiftLands_btn:TheRiftLands = new TheRiftLands();
    var riftlandsdesc_mc:riftlandsdesc = new riftlandsdesc();
    var TheSardustLands_btn:TheSardustLands = new TheSardustLands();
    var TheSypelands_btn:TheSypelands = new TheSypelands();
    var sypelandsdesc_mc:sypelandsdesc = new sypelandsdesc();
    var TheTruntusLands_btn:TheTruntusLands = new TheTruntusLands();
    var TheUmorousLands_btn:TheUmorousLands = new TheUmorousLands();
    var TheVulnerosLands_btn:TheVulnerosLands = new TheVulnerosLands();
    /*Oceania*/
    var Unusra_btn:Unusra = new Unusra();
    var unusradesc_mc:unusradesc = new unusradesc();
    var Risura_btn:Risura = new Risura();
    var Jusurua_btn:Jusurua = new Jusurua();
    var Desura_btn:Desura = new Desura();
    var FrostPeakIsland_btn:FrostPeakIsland = new FrostPeakIsland();
    var frostpeakislanddesc_mc:frostpeakislanddesc = new frostpeakislanddesc();
    var Cornuia_btn:Cornuia = new Cornuia();
    var cornuiadesc_mc:cornuiadesc = new cornuiadesc();
    var Caligan_btn:Caligan = new Caligan();
    var Acitra_btn:Acitra = new Acitra();
    var acitradesc_mc:acitradesc = new acitradesc();
    Htraesea_mc.x = 0;
    Htraesea_mc.y = 0;
    /*Aisa*/
    TheEverlands_btn.x = 1088.60;
    TheEverlands_btn.y = 405.80;
    TheClaruslands_btn.x = 926.40;
    TheClaruslands_btn.y = 395.75;
    TheDwarvallisLands_btn.x = 593.05;
    TheDwarvallisLands_btn.y = 468.00;
    TheGreyLands_btn.x = 895.15;
    TheGreyLands_btn.y = 448.95;
    TheLandsofGineder_btn.x = 593.05;
    TheLandsofGineder_btn.y = 369.7;
    TheLandsofHumara_btn.x = 808.25;
    TheLandsofHumara_btn.y = 570.70;
    TheLandsofJurgious_btn.x = 542.30;
    TheLandsofJurgious_btn.y = 577.25;
    TheLandsofMiddterrus_btn.x = 686.95;
    TheLandsofMiddterrus_btn.y = 367.20;
    TheLandsofOtrannas_btn.x = 829.30;
    TheLandsofOtrannas_btn.y = 330.05;
    TheLandsofWeshan_btn.x = 739.75;
    TheLandsofWeshan_btn.y = 264.15;
    TheLowerAltiorlands_btn.x = 839.05;
    TheLowerAltiorlands_btn.y = 251.95;
    TheMiddaltiorlands_btn.x = 815.65;
    TheMiddaltiorlands_btn.y = 114.65;
    TheStarkLands_btn.x = 1055.25;
    TheStarkLands_btn.y = 501.05;
    TheUnderlands_btn.x = 593.05;
    TheUnderlands_btn.y = 699.80;
    TheUpperAltiorlands_btn.x = 950.10;
    TheUpperAltiorlands_btn.y = 114.65;
    TheViridilands_btn.x = 855.55;
    TheViridilands_btn.y = 652.30;
    TheWestlands_btn.x = 665.65;
    TheWestlands_btn.y = 227.35;
    TheBroadlands_btn.x = 795.3;
    TheBroadlands_btn.y = 414.5;
    /*Acierma*/
    TheBleaklands_btn.x = 297.95;
    TheBleaklands_btn.y = 429.45;
    TheConvullands_btn.x = 307.65;
    TheConvullands_btn.y = 209.6;
    TheInfractlands_btn.x = 178.4;
    TheInfractlands_btn.y = 218.05;
    TheLandsofFragmenus_btn. x = 162.40;
    TheLandsofFragmenus_btn.y = 376.45;
    TheLandsofJunosto_btn. x = 232.4;
    TheLandsofJunosto_btn.y = 762.20;
    TheLandsofMusttrupis_btn. x = 138.05;
    TheLandsofMusttrupis_btn.y = 524.45;
    TheLandsofRelinas_btn. x = 134.4;
    TheLandsofRelinas_btn.y = 472.45;
    TheLandsofSundara_btn.x = 178.4;
    TheLandsofSundara_btn.y = 588.50;
    TheLaniatosLands_btn.x = 284.15;
    TheLaniatosLands_btn.y = 316.80;
    TheRiftLands_btn.x = 272.1;
    TheRiftLands_btn.y = 536.15;
    TheSardustLands_btn.x=168.05;
    TheSardustLands_btn.y = 670.50;
    TheSypelands_btn.x = 261.4;
    TheSypelands_btn.y = 387.25;
    TheTruntusLands_btn.x = 380.1;
    TheTruntusLands_btn.y = 578.50;
    TheUmorousLands_btn.x = 316.45;
    TheUmorousLands_btn.y = 650.15;
    TheVulnerosLands_btn.x = 140.05;
    TheVulnerosLands_btn.y = 298.05;
    /*Oceania*/
    Acitra_btn.x = 422.60;
    Acitra_btn.y = 1.10;
    Caligan_btn.x = 18.15;
    Caligan_btn.y = 829.80;
    Cornuia_btn.x = 450.45;
    Cornuia_btn.y =832.20;
    FrostPeakIsland_btn.x = 898.45;
    FrostPeakIsland_btn.y = 79.50;
    Desura_btn.x = 959.35;
    Desura_btn.y = 835.55;
    Jusurua_btn.x = 966.60;
    Jusurua_btn.y = 822.15;
    Risura_btn.x = 1041.85;
    Risura_btn.y = 843.05;
    Unusra_btn.x = 715.95;
    Unusra_btn.y = 794.95;
    mainscroll_btn.x = 572.10;
    mainscroll_btn.y = 1012.25;
    addChild(Htraesea_mc);
    /*Aisa*/
    addChild(TheLandsofJurgious_btn);
    addChild(TheUnderlands_btn);
    addChild(TheLandsofMiddterrus_btn);
    addChild(TheDwarvallisLands_btn);
    addChild(TheLandsofGineder_btn);
    addChild(TheLandsofHumara_btn);
    addChild(TheViridilands_btn);
    addChild(TheBroadlands_btn);
    addChild(TheGreyLands_btn);
    addChild(TheClaruslands_btn);
    addChild(TheWestlands_btn);
    addChild(TheLandsofOtrannas_btn);
    addChild(TheStarkLands_btn);
    addChild(TheEverlands_btn);
    addChild(TheMiddaltiorlands_btn);
    addChild(TheUpperAltiorlands_btn);
    addChild(TheLowerAltiorlands_btn);
    addChild(TheLandsofWeshan_btn);
    /*Acierma*/
    addChild(TheInfractlands_btn);
    addChild(TheVulnerosLands_btn);
    addChild(TheLandsofFragmenus_btn);
    addChild(TheLandsofRelinas_btn);
    addChild(TheLandsofMusttrupis_btn);
    addChild(TheConvullands_btn);
    addChild(TheLaniatosLands_btn);
    addChild(TheSypelands_btn);
    addChild(TheBleaklands_btn);
    addChild(TheRiftLands_btn);
    addChild(TheLandsofSundara_btn);
    addChild(TheTruntusLands_btn);
    addChild(TheUmorousLands_btn);
    addChild(TheSardustLands_btn);
    addChild(TheLandsofJunosto_btn);
    /*Oceania*/
    addChild(Acitra_btn);
    addChild(Caligan_btn);
    addChild(Cornuia_btn);
    addChild(FrostPeakIsland_btn);
    addChild(Desura_btn);
    addChild(Jusurua_btn);
    addChild(Risura_btn);
    addChild(Unusra_btn);
    TheEverlands_btn.addEventListener(MouseEvent.CLICK,goeverlands);
    function goeverlands(evt:MouseEvent):void {
              everlandsdesc_mc.x = 309.9;
              everlandsdesc_mc.y = 554.95;
              addChild(everlandsdesc_mc);
    everlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme);
    function closeme(evt:MouseEvent):void {
              removeChild(everlandsdesc_mc);
    TheBleaklands_btn.addEventListener(MouseEvent.CLICK,gobleaklands);
    function gobleaklands(evt:MouseEvent):void {
              bleaklandsdesc_mc.x = 309.9;
              bleaklandsdesc_mc.y = 554.95;
              addChild(bleaklandsdesc_mc);
    bleaklandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme1);
    function closeme1(evt:MouseEvent):void {
              removeChild(bleaklandsdesc_mc);
    Acitra_btn.addEventListener(MouseEvent.CLICK,goacitra);
    function goacitra(evt:MouseEvent):void {
              acitradesc_mc.x = 309.9;
              acitradesc_mc.y = 554.95;
              addChild(acitradesc_mc);
    acitradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme2);
    function closeme2(evt:MouseEvent):void {
              removeChild(acitradesc_mc);
    TheClaruslands_btn.addEventListener(MouseEvent.CLICK, goclaruslands);
    function goclaruslands(evt:MouseEvent):void {
              claurslandsdesc_mc.x = 309.9;
              claurslandsdesc_mc.y = 554.95;
              addChild(claurslandsdesc_mc);
    claurslandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme3);
    function closeme3(evt:MouseEvent):void {
              removeChild(claurslandsdesc_mc);
    Cornuia_btn.addEventListener(MouseEvent.CLICK,gocornuia);
    function gocornuia(evt:MouseEvent):void {
              cornuiadesc_mc.x = 309.9;
              cornuiadesc_mc.y = 554.95;
              addChild(cornuiadesc_mc);
    cornuiadesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme4);
    function closeme4(evt:MouseEvent):void {
              removeChild(cornuiadesc_mc);
    TheDwarvallisLands_btn.addEventListener(MouseEvent.CLICK,godwarvallis);
    function godwarvallis(evt:MouseEvent):void {
              dwarvallisdesc_mc.x = 309.9;
              dwarvallisdesc_mc.y = 554.95;
              addChild(dwarvallisdesc_mc);
    dwarvallisdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme5);
    function closeme5(evt:MouseEvent):void {
              removeChild(dwarvallisdesc_mc);
    TheLandsofFragmenus_btn.addEventListener(MouseEvent.CLICK,gofragmenus);
    function gofragmenus(evt:MouseEvent):void {
              fragmenusdesc_mc.x = 309.9;
              fragmenusdesc_mc.y = 554.95;
              addChild(fragmenusdesc_mc);
    fragmenusdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme6);
    function closeme6(evt:MouseEvent):void {
              removeChild(fragmenusdesc_mc);
    FrostPeakIsland_btn.addEventListener(MouseEvent.CLICK, gofrostpeakisland);
    function gofrostpeakisland(evt:MouseEvent):void {
              frostpeakislanddesc_mc.x = 309.9;
              frostpeakislanddesc_mc.y = 554.95;
              addChild(frostpeakislanddesc_mc);
    frostpeakislanddesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme7);
    function closeme7(evt:MouseEvent):void {
              removeChild(frostpeakislanddesc_mc);
    TheLandsofHumara_btn.addEventListener(MouseEvent.CLICK,gohumara);
    function gohumara(evt:MouseEvent):void {
              humaradesc_mc.x = 309.9;
              humaradesc_mc.y = 554.95;
              addChild(humaradesc_mc);
    humaradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme8);
    function closeme8(evt:MouseEvent):void {
              removeChild(humaradesc_mc);
    TheInfractlands_btn.addEventListener(MouseEvent.CLICK,goinfract);
    function goinfract(evt:MouseEvent):void {
              infractdesc_mc.x = 309.9;
              infractdesc_mc.y = 554.95;
              addChild(infractdesc_mc);
    infractdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme9);
    function closeme9(evt:MouseEvent):void {
              removeChild(infractdesc_mc);
    TheLandsofJunosto_btn.addEventListener(MouseEvent.CLICK,gojunosto);
    function gojunosto(evt:MouseEvent):void {
              junostodesc_mc.x = 309.9;
              junostodesc_mc.y = 554.95;
              addChild(junostodesc_mc);
    junostodesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme10);
    function closeme10(evt:MouseEvent):void {
              removeChild(junostodesc_mc);
    TheRiftLands_btn.addEventListener(MouseEvent.CLICK, goriftlands);
    function goriftlands(evt:MouseEvent):void {
              riftlandsdesc_mc.x = 309.9;
              riftlandsdesc_mc.y = 554.95;
              addChild(riftlandsdesc_mc);
    riftlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme11);
    function closeme11(evt:MouseEvent):void {
              removeChild(riftlandsdesc_mc);
    TheStarkLands_btn.addEventListener(MouseEvent.CLICK,gostarklands);
    function gostarklands(evt:MouseEvent):void {
              starklandsdesc_mc.x = 309.9;
              starklandsdesc_mc.y = 554.95;
              addChild(starklandsdesc_mc);
    starklandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme12);
    function closeme12(evt:MouseEvent):void {
              removeChild(starklandsdesc_mc);
    TheLandsofSundara_btn.addEventListener(MouseEvent.CLICK,gosundara);
    function gosundara(evt:MouseEvent):void {
              sundaradesc_mc.x = 309.9;
              sundaradesc_mc.y = 554.95;
              addChild(sundaradesc_mc);
    sundaradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme13);
    function closeme13(evt:MouseEvent):void {
              removeChild(sundaradesc_mc);
    TheSypelands_btn.addEventListener(MouseEvent.CLICK,gosypelands);
    function gosypelands(evt:MouseEvent):void {
              sypelandsdesc_mc.x = 309.9;
              sypelandsdesc_mc.y = 554.95;
              addChild(sypelandsdesc_mc);
    sypelandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme14);
    function closeme14(evt:MouseEvent):void {
              removeChild(sypelandsdesc_mc);
    Unusra_btn.addEventListener(MouseEvent.CLICK, gounusra);
    function gounusra(evt:MouseEvent):void {
              unusradesc_mc.x = 309.9;
              unusradesc_mc.y = 554.95;
              addChild(unusradesc_mc);
    unusradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme15);
    function closeme15(evt:MouseEvent):void {
              removeChild(unusradesc_mc);
    TheWestlands_btn.addEventListener(MouseEvent.CLICK, gowestlands);
    function gowestlands(evt:MouseEvent):void {
              westlandsdesc_mc.x = 309.9;
              westlandsdesc_mc.y = 554.95;
              addChild(westlandsdesc_mc);
    westlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme16);
    function closeme16(evt:MouseEvent):void {
              removeChild(westlandsdesc_mc);
    TheGreyLands_btn.addEventListener(MouseEvent.CLICK, gogreylands);
    function gogreylands(evt:MouseEvent):void {
              greylandsdesc_mc.x = 309.9;
              greylandsdesc_mc.y = 554.95;
              addChild(greylandsdesc_mc);
    greylandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme17);
    function closeme17(evt:MouseEvent):void {
              removeChild(greylandsdesc_mc);

    it appears i may have a corrupt image as a symbol in my library. I will have to replace each one manually one by one to see if this is indeed the problem. I am prepearing to leave out of town for the weekend, but I will update this as soon as a figure it out.
    Thanks again

  • Syntax error: bad digit in number

    I made a panel for ID cs5, the panel and buttons work fine.
    But in the panel is one button with a script, if i click this button i get an syntax error, bad digit in number.
    The script works fine on its own but not from the panel.
    Any help is very much appreciated
    thnx
    Harald

    Try to check this:
    1) the  script you insert in the button must not contain  any kind of  comment ( //  or /* */    ) ( configurator doesn'accept any comment inside the button)
    2) each statement is separated by  a semicolon  ( ; )
    the syntax must be perfect
    Anyway if you have difficult to find the problem you can link the button to the
    Yourscript .jsx  file

Maybe you are looking for

  • The installer could not copy the necessary support files (fresh mac OSX install

    so i had to change the hard drive... installing OSx leopard from my origanal grey disk i recived with my MBP 13.. it dont get far before it comes up with that.. ive tried useing a external CD drive thinking it may be the drive.. also tried a external

  • Playback devices Hdmi test no sound

    When I enter playback devices and select ati hdmi output the click the congifure button and select 5.1 and perform a test no sound comes out of my speakers The Hp pavillion dv6-4023Tx notebook is connected through hdmi to my blueray surround sound wh

  • Bihar State Professional Tax Configuration

    Dear Experts, I need to configure PT deduction configuration for our Bihar Business Area (Personnel Sub Area). Please provide me the documentation. Regards, Aruna.

  • Target file system

    Hi all,             Can any one explain me how can we assign target file system dynamically. Thanks in Advance Naveen

  • RUL-05943 while trying to define Business Rule Service Component

    When I doubleclick the Business Rule Service Component wich I just dragged from the Service Components pallette to the composite I receive an error dialogue with the following information: After pressing Details: java.net.URISyntaxException: Illegal