Why is this a syntax error?

_level0.preloaderGraphics.percent=int(Percentage) add "%"
this code seems to work with no problems as a flash mx file,
but it wont work with flash 8.....anyone know why?

This is the entire code im using....its supposed to be for a
preloader. But i cannot get it to work even with the new code
revision. It only works as a flash mx file:
this.onEnterFrame = function() {
//this checks to see if the content on this timeline is
still loading
if (this.getBytesLoaded()<this.getBytesTotal()) {
//make the preloader visible
_level0.preloaderGraphics._visible=true;
//make a variable to store the total file size of this
timeline
Total = this.getBytesTotal()/1000;
//make a variable to store the amount of this timeline that
has loaded
Received = this.getBytesLoaded()/1000;
//make a variable to store the percentage loaded
Percentage = (Received/Total)*100;
//target the text box in the preloaderGraphics mc and tell
it what to display
_level0.preloaderGraphics.percent=Math.round(Percentage)+"%";
//change the x scale of the progess bar to indicate how much
has loaded
_level0.preloaderGraphics.progressBar._xscale = Percentage;
} else {
//play the intro animation
this.gotoAndPlay("intro");
//turn off the enterFrame action
this.onEnterFrame = null;
//hide the preloader
_level0.preloaderGraphics._visible=false;
//stop this timeline while it loads
stop();
My movie wont play, if i try it in flash 8. with the old
code, it only plays in flash mx.......any idea how i can fix this
problem?

Similar Messages

  • Why am I getting syntax error messages when sending emails thru MS Office:MAC 2011?

    Why am I getting suntax error messages when sending emails thru my outlook on my MacPro?

    What are the exact and complete error messages?

  • Why does this throw an error?

    just trying to modify an element value here...
    declare
    v_xml_new xmltype;
    doc dbms_xmldom.DOMDocument;
    ndoc dbms_xmldom.DOMNode;
    node dbms_xmldom.DOMNode;
    childnode dbms_xmldom.DOMNode;
    nodelist dbms_xmldom.DOMNodelist;
    docelem dbms_xmldom.DOMElement;
    buffer ta_debug_log.message%type;
    begin
    v_xml_return.schemaValidate;
    ta_debug.writeDebug('DEBUG: xml instance validated '||C_PROCEDURE_NAME||'.');
    exception
    when others then
    -- failed validation
    ta_system.writeSystem('ERROR: xml instance message failed schema validation '||C_PROCEDURE_NAME||'.');
    -- return a new wellformed instance
    ta_debug.writeDebug('DEBUG: creating new empty instance '||C_PROCEDURE_NAME||'.');
    v_xml_new := xmltype.createXML(xmldata => rm_xml_survey_maintenance.C_EMPTY_SURVEY_XML_INST,
    schema => rm_xml_survey_maintenance.C_SURVEY_SCHEMA_NAME);
    ta_debug.writeDebug('DEBUG: creating dom reference '||C_PROCEDURE_NAME||'.');
    doc := dbms_xmldom.newDOMDocument(v_xml_new);
    -- attempt to populate return xml instance with source info
    ta_debug.writeDebug('DEBUG: attempting to acquire and populate source info '||C_PROCEDURE_NAME||'.');
    ta_debug.writeDebug('DEBUG: source information requesterID is '||
    ta_xml_utils.xml_extract_no_exception(v_xml_return, '/SurveyRequest/messageSource/requesterID/text()')||' '||C_PROCEDURE_NAME||'.');
    docelem := dbms_xmldom.getDocumentElement(doc);
    nodelist := dbms_xmldom.getElementsByTagName(docelem, 'requesterID');
    node := dbms_xmldom.item(nodelist, 0);
    childnode := dbms_xmldom.getFirstChild(node);
    the last line causes the code the throw:
    ERROR: SQLCODE = -31020 SQLERRM = ORA-31020: The operation is not allowed,
    Reason: Invalid pl/sql DOM Node hdl
    ORA-31154: invalid XML
    (rm_xml_survey_maintenance.create_cad_plan_pair).
    this code is operating after an xmltype fails to validate. would this be the cause?
    are there any simpler methods using pl/sql, the xmltype and xpath to modify contents of an xmltype instance?
    any advice most appreciated.

    I can't answer the better/simpler method part of the question, other than to say there is an UpdateXML function but it works only from within the scope of a SQL statement. Not sure whether you'd want to make a SQL call just to do something to your XMLType that exists only in PL/SQL.
    In regard to your current error, I can only say the following script does not produce an error. If you can develop a test case/script that reproduces the error that would be helpful. You may even uncover the error at that point. Have you confirmed the contents of v_xml_new and if on 10g used DBMS_UTILITY.Format_Error_Backtrace to verify the line that threw the error?
    declare
       v_xml_new xmltype;
       doc       dbms_xmldom.domdocument;
       nodelist  dbms_xmldom.domnodelist;
       node      dbms_xmldom.domnode;
       childnode dbms_xmldom.domnode;
    begin
      v_xml_new := XMLTYPE(
      '<?xml version="1.0" encoding="UTF-8"?>' ||
      '<SurveyRequest>' ||
       '<messageSource>' ||
        '<requesterID>U571</requesterID>' ||
       '</messageSource>' ||
      '</SurveyRequest>'
      doc := dbms_xmldom.newdomdocument(v_xml_new);
      nodelist  := dbms_xmldom.getelementsbytagname(doc, 'requesterID');
      node      := dbms_xmldom.item(nodelist, 0);
      childnode := dbms_xmldom.getfirstchild(node);
    end;

  • Syntax error in programs-list

    Hi experts,
    I wanted to know the number of programs which had syntax error in production during certain period.
    is there any program/transaction/table to track this apart from ST22?

    ST22 or SM21 are your only options.  If they're cleared down regularly, then the data has gone. If they're archived, check the archive.
    You could write a program that monitors for syntax errors.  But it couldn't work before the time it was written.
    Now, the big question. Why are you getting syntax errors in your productive system?!  This should be a very rare event - or do simply mean programs that dump?
    matt

  • Syntax error, unrecognized expression: [@rel=lkj2]   anyone

    I go to this web site http://www.nashbar.com/bikes/Product10053_10052_169804_-1_201485_10000200478 and click on the picture to zoom . a pop up box appears with this message Syntax error, unrecognized expression: [@rel=lkj2 ... this happens with firefox and safari but no problems with this site and my windows computers. why doesn't apple like this site?

    Instead of
    name='."'".'"+tmp+"'."'".'"
    why not
    echo concat(name=" +tmp+"'."'".'"
    Else: [https://support.mozilla.org/en-US/kb/where-go-developer-support Where to go for developer support]

  • HP Prime Syntax Error in Convert

    Hello,
    I have a new HP Prime Graph Calculator.  My old 48G was dying on me, so decided to make the switch.  It is so much different than what i am used to.
    First Off, this is my HP Prime info :
    Software Version : 2014 3 31 (6030)
    Hardware Version : A
    CAS Version : 1.1.0-46
    One function i use alot on my 48G was converting units.
    So I tried starting using Convert on my HP Prime and when i tried to convert i got a Syntax Error.  Looked around in forums and at some place it said to update firware, which I did.
    Now I get 2 errors.  First when I press "Convert" I get a new error : Bad Argument Count
    Then when I try to convert i get the same Syntax Error.
    I think I know where the problem resides for the Syntax Error, when converting it should put the units in ( )  I think.  But for some reason for lenght it does not, for other units it does (km2).
    I tried the function on the Virtual Calculator on windows and on the virtual one everything works, but on my physical one, I still get the same 2 errors (even when the units are in ( ), without any results.
    Can anyone help please ?
    Thank you
    This question was solved.
    View Solution.

    Please let us know some examples of expressions that you tried, what you expected, and what happened instead.  ALSO please let us know what modes your Prime is in (e.g. RPN Entry mode, or CAS view), because Prime behaves very differently depending on the Home Settings and CAS Settings.  Which app is the currently active app (shown in the display's title bar) can also alter Prime's behavior.  When you let us know these things, we'll be able to discern why you are getting syntax errors.
    If I were a betting man, I'd wager a nickel that the problem is due to your Prime being in RPN mode.  If so, you have to use RPN syntax, not algebraic syntax.  Example: 5_ft, Enter, 1_in, Enter, CONVERT --> 60_in (just like on your HP 48).  Do I win a nickel?
    Disclaimer: I do not work for HP. I'm just another happy HP calculator user.
    -Joe-

  • Method expression syntax error in jsp jsf 2.0 eclipse

    hi i made a simple bean jsp project, n ussed el to call methods in backing bean n show some text on the basis of method called....
    the project works perfectly fine, but theres a small issue, that eclipse jsp editor marks the expression as red n shows err.. the proj deploys fine on tomcat, n even works fine with expected results...
    wat should i do to fix that err show by eclipse...
    using eclipse helios with wtp 3.2, tomcat 7, jsf 2.0, el-api n el-impl 2.2 version jars in tomcat lib.... n latest jstl n standard jars...
    eg of jsp call -      <h:outputText value="#{myJsfBean.fetchCourseName(studentBean.courseId)}" />
    backing bean fn -
    public String fetchCourseName(Integer iCourseId){
              String theCourseName="";
              for(CourseBean aCourseBean:courseBeanList){
                   if(aCourseBean.getCourseId().equals(iCourseId)){
                        theCourseName=aCourseBean.getCourseName();
                        break;
              return theCourseName;
    jsp editor show err - Multiple annotations found at this line:
         - Syntax error in EL
         - Expression must be a value expression but is a method
         expression
    for "#{myJsfBean.fetchCourseName(studentBean.courseId)}" part of the expression
    its a trivial issue i think but annoying,, tried to search alot cudnt fix it....
    plz help

    my guess is that the project is not setup as being a JEE6 project and is being validated it as if it is a JEE5 application; the ability to be able to call methods with parameters through an EL expression is a new feature of JEE6 (or to be more precise: the el 2.2 API).
    Perhaps you can specify in your project properties that this is in fact a JEE6 project? Eclipse Helios should support JSF 2.0 out of the box.

  • Syntax Error while running step 34 (35) after unicode conversion

    Hello,
    We are converting our test system to Unicode to find out how to do it
    in our production system. We are at step 34/35 (Starting RFC job's) in
    the database installation so we are almost done but we have encounted a
    problem that we can't find a solution to. The error log in Sapinst give this
    information:
    ERROR      2008-11-09 11:19:19 [iaxxrfcimp.cpp:1103]           CAbRfcImpl::performFunctionCall FRF-00025  Unable to call function.
    Error message: ?`>?/?????????>??????/_???&<?(????????????????????????????????????????????????? .
    At the same time we can read the following text in dev_w1 (and dev_w0 and so on):
    A  *** ERROR => Syntax error in program SAPLBTCH                                 [abgen.c      1388]
    A  *** ERROR => > Include LBTCHF39                                 line 173 [abgen.c      1390]
    A  *** ERROR => > Statement "âu2018âu2018âu2018âu2018âu2018IF" is not defined. Check your spelling. spelling. [abgen.c      1393]
    The error don't always look the same, here is another example:
    A  *** ERROR => Syntax error in program SAPLSALC                                 [abgen.c      1388]
    A  *** ERROR => > Include LSALCU54                                 line 55 [abgen.c      1390]
    A  *** ERROR => > No component exists with the name "MTSYSIDâu2018MTMCNAMEâu2018MTNUMRANGEâu2018MTUIDâu2018". "MTSYSID [abgen.c      1393]
    A  *** ERROR => > âu2018MTMCNAMEâu2018MTNUMRANGEâu2018MTUIDâu2018". [abgen.c 1395]
    The common thing is Syntax error. If we try to log in to the system using SAP Gui we get this message: "Syntax error in program SAPMS380".
    In the file dev_disp we can read a lot of these:
    Tue Nov 11 14:06:32 2008
    *** WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    But we should have enough WP since noone has loggen on to the system.
    Facts:
    Tue Nov 11 14:06:07 2008
    kernel runs with dp version 138000(ext=102000) (@(#) DPLIB-INT-VERSION-138000-UC)
    length of sys_adm_ext is 524 bytes
    sysno      60
    sid        S01
    systemid   274 (HP (IA-64) with HP-UX)
    relno      6400
    patchlevel 0
    patchno    258
    intno      20020600
    make:      single threaded, Unicode, 64 bit
    pid        20538
    HPUX on Intel IA64 with Oracle 10.0.2.0.2
    SAP ERP Central Component 5.0
    SAP_ABA     640     0021     SAPKA64021
    SAP_BASIS640     0021     SAPKB64021
    Please let me know that there is some small setting that I can change to regenerate the programs or something like that...
    Br Linus Hellsing

    Hello Ralph
    Here they are:
    TOC files
    SAPAPPL0.TOC:
    vn: R6.40/V1.4
    id: 084ac0df0000003d
    cp: 4102
    data_with_checksum
    tab: [HEADER]
    fil: SAPAPPL0.001 1024
    SAPAPPL1.TOC:
    vn: R6.40/V1.4
    id: 084ac0df0000003d
    cp: 4102
    data_with_checksum
    tab: [HEADER]
    fil: SAPAPPL1.001 1024
    EXPORT log:
    SAPAPPL0.log
    /sapmnt/S01/exe/R3load: START OF LOG: 20081029110702
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4
    Compiled Aug 16 2008 18:01:48
    /sapmnt/S01/exe/R3load -ctf E /mnt/s01_exp_uni/DATA/SAPAPPL0.STR /mnt/s01_exp_uni/DB/DDLORA.TPL /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0.TSK ORA -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0.log
    /sapmnt/S01/exe/R3load: job completed
    /sapmnt/S01/exe/R3load: END OF LOG: 20081029110703
    /sapmnt/S01/exe/R3load: START OF LOG: 20081029110709
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4
    Compiled Aug 16 2008 18:01:48
    /sapmnt/S01/exe/R3load -datacodepage 4102 -e /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (EXP) INFO: check NameTab widths: Ok.
    (DB) INFO: Export without hintfile
    (RSCP) INFO: UMGCOMCHAR read check, OK.
    (RSCP) INFO: init SUMG interface; package name: "SAPAPPL0".
    (RSCP) INFO: "/mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0001.xml" created.
    (RSCP) INFO: environemnt variable "I18N_POOL_WIDTH" is not set. Checks are active.
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (RSCP) INFO: UMGSETTINGS nametab creation: ok.
    (RSCP) INFO: Global fallback code page = 9491
    (RSCP) INFO: Common character set is  not  7-bit-ASCII
    (RSCP) INFO: Collision resolution method is 'fine'
    (RSCP) INFO: R3trans code pages = Normal
    (RSCP) INFO: EXPORT TO ... code pages = Normal
    (RSCP) INFO: Check for invalid language keys: activated
    (RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
    (RSCP) INFO: I18N_NAMETAB_NORM_LOG   = 1000000002
    (RSCP) INFO: I18N_NAMETAB_ALT_ALLOW  = 10000
    (RSCP) INFO: I18N_NAMETAB_ALT_LOG    = 10003
    (RSCP) INFO: I18N_NAMETAB_OLD_ALLOW  = 0
    (RSCP) INFO: I18N_NAMETAB_OLD_LOG    = 500
    (GSI) INFO: dbname   = "S0120081016081020                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "scar                                                            "
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "scar"
    (GSI) INFO: release  = "B.11.23"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "ia64"
    (GSI) INFO: instno   = "1220008646"
    (EXP) TABLE: "/BDL/LOCK"
    (EXP) TABLE: "/BEV1/BO_CONT"
    (EXP) TABLE: "/BEV1/BO_ENQUEUE"
    (EXP) TABLE: "/BEV1/CLCONT1"
    (EXP) TABLE: "/BEV1/CLDEB"
    and so on
    (EXP) TABLE: "ADR9S2"
    (CNV) WARNING: code page conversion problem
                   Number of substitutions: 4
          (row 30 of current buffer, table ADRC)
    CLIENT 30 30 30                                        |000             |
    ADDRNUMBER 30 30 30 30 30 31 34 38 36 39                   |0000014869      |
    DATE_FROM 30 30 30 31 30 31 30 31                         |00010101        |
    NATION 20                                              |                |
    (CNV) WARNING: code page conversion problem
                   Number of substitutions: 2
          (row 41 of current buffer, table ADRC)
    CLIENT 30 30 30                                        |000             |
    ADDRNUMBER 30 30 30 30 30 32 31 39 38 32                   |0000021982      |
    DATE_FROM 30 30 30 31 30 31 30 31                         |00010101        |
    NATION 20                                              |                |
    (RSCP) INFO: 51 lines written to /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0001.xml
    (EXP) TABLE: "ADRC"
    (RSCP) INFO: 3 lines written to /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0001.xml
    (EXP) TABLE: "ADRCOMC"
    and then its the same with table SETHEADERT and SKAT and SNAP and STXH.
    I will not include the whole file as it is 14213 lines long.
    SAPAPPL1.log
    /sapmnt/S01/exe/R3load: START OF LOG: 20081029110701
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4
    Compiled Aug 16 2008 18:01:48
    /sapmnt/S01/exe/R3load -ctf E /mnt/s01_exp_uni/DATA/SAPAPPL1.STR /mnt/s01_exp_uni/DB/DDLORA.TPL /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1.TSK ORA -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1.log
    /sapmnt/S01/exe/R3load: job completed
    /sapmnt/S01/exe/R3load: END OF LOG: 20081029110702
    /sapmnt/S01/exe/R3load: START OF LOG: 20081029110709
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4
    Compiled Aug 16 2008 18:01:48
    /sapmnt/S01/exe/R3load -datacodepage 4102 -e /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (EXP) INFO: check NameTab widths: Ok.
    (DB) INFO: Export without hintfile
    (RSCP) INFO: UMGCOMCHAR read check, OK.
    (RSCP) INFO: init SUMG interface; package name: "SAPAPPL1".
    (RSCP) INFO: "/mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1001.xml" created.
    (RSCP) INFO: environemnt variable "I18N_POOL_WIDTH" is not set. Checks are active.
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (RSCP) INFO: UMGSETTINGS nametab creation: ok.
    (RSCP) INFO: Global fallback code page = 9491
    (RSCP) INFO: Common character set is  not  7-bit-ASCII
    (RSCP) INFO: Collision resolution method is 'fine'
    (RSCP) INFO: R3trans code pages = Normal
    (RSCP) INFO: EXPORT TO ... code pages = Normal
    (RSCP) INFO: Check for invalid language keys: activated
    (RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
    (RSCP) INFO: I18N_NAMETAB_NORM_LOG   = 1000000002
    (RSCP) INFO: I18N_NAMETAB_ALT_ALLOW  = 10000
    (RSCP) INFO: I18N_NAMETAB_ALT_LOG    = 10003
    (RSCP) INFO: I18N_NAMETAB_OLD_ALLOW  = 0
    (RSCP) INFO: I18N_NAMETAB_OLD_LOG    = 500
    (GSI) INFO: dbname   = "S0120081016081020                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "scar                                                            "
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "scar"
    (GSI) INFO: release  = "B.11.23"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "ia64"
    (GSI) INFO: instno   = "1220008646"
    (EXP) TABLE: "/BDL/ADDONKEYS"
    (EXP) TABLE: "/BDL/BADHOST"
    and so on until
    (EXP) TABLE: "SEWADATCOL"
    (EXP) TABLE: "SFHX"
    (CNV) WARNING: code page conversion problem
                   Number of substitutions: 1
          (row 3519 of current buffer, table SFIWP)
    LANGU 4a                                              |J               |
    WORDF 82 41 45 82 a8 82 ad 95 4b 97 56 82 aa 82 a0 82 |.AE.¨..K.V.ª. .|
    WORDF c8 82 55 45 82 b7 81 42 20 20 20 20 20 20 20 20 |È.UE.·.B        |
    WORDF 20 20 20 20 20 20 20 20                         |                |
    and table STERM_TEXT. As before I will not include it all, the log file is 7775 lines long.
    IMPORT log
    SAPAPPL0.log
    /sapmnt/S01/exe/R3load: START OF LOG: 20081106102704
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 16 2008 18:23:56
    /sapmnt/S01/exe/R3load -ctf I /mnt/s01_exp_uni/DATA/SAPAPPL0.STR /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/DDLORA.TPL /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.TSK ORA -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.log
    /sapmnt/S01/exe/R3load: job completed
    /sapmnt/S01/exe/R3load: END OF LOG: 20081106102705
    /sapmnt/S01/exe/R3load: START OF LOG: 20081106103529
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 16 2008 18:23:56
    /sapmnt/S01/exe/R3load -dbcodepage 4102 -i /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.log -stop_on_error -k 54FB9C39DB
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "S0120081106091135                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "scar                                                            "
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "scar"
    (GSI) INFO: release  = "B.11.23"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "ia64"
    (DB) INFO: /BDL/LOCK created #20081106103642
    (IMP) INFO: import of /BDL/LOCK completed (0 rows) #20081106103642
    (DB) INFO: /BDL/LOCK~0 created #20081106103642
    (DB) INFO: /BEV1/BO_CONT created #20081106103642
    and so on until the end:
    (DB) INFO: ZWF_STATUSCHANGE created #20081106173307
    (IMP) INFO: import of ZWF_STATUSCHANGE completed (0 rows) #20081106173307
    (DB) INFO: ZWF_STATUSCHANGE~0 created #20081106173307
    (DB) INFO: disconnected from DB
    /sapmnt/S01/exe/R3load: job completed
    /sapmnt/S01/exe/R3load: END OF LOG: 20081106173307
    /sapmnt/S01/exe/R3load: START OF LOG: 20081107092517
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 16 2008 18:23:56
    /sapmnt/S01/exe/R3load -dbcodepage 4102 -i /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.log -stop_on_error -k 54FB9C39DB
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "S0120081106091135                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "scar                                                            "
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "scar"
    (GSI) INFO: release  = "B.11.23"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "ia64"
    (DB) INFO: disconnected from DB
    /sapmnt/S01/exe/R3load: job completed
    /sapmnt/S01/exe/R3load: END OF LOG: 20081107092541
    /sapmnt/S01/exe/R3load: START OF LOG: 20081107111014
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 16 2008 18:23:56
    /sapmnt/S01/exe/R3load -dbcodepage 4102 -i /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.log -stop_on_error -k 54FB9C39DB
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "S0120081106091135                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "scar                                                            "
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "scar"
    (GSI) INFO: release  = "B.11.23"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "ia64"
    (DB) INFO: disconnected from DB
    /sapmnt/S01/exe/R3load: job completed
    /sapmnt/S01/exe/R3load: END OF LOG: 20081107111041
    The log file is 81163 lines long.
    SAPAPPL1.log
    /sapmnt/S01/exe/R3load: START OF LOG: 20081106102702
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 16 2008 18:23:56
    /sapmnt/S01/exe/R3load -ctf I /mnt/s01_exp_uni/DATA/SAPAPPL1.STR /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/DDLORA.TPL /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL1.TSK ORA -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL1.log
    /sapmnt/S01/exe/R3load: job completed
    /sapmnt/S01/exe/R3load: END OF LOG: 20081106102703
    /sapmnt/S01/exe/R3load: START OF LOG: 20081106103529
    /sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
    /sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 16 2008 18:23:56
    /sapmnt/S01/exe/R3load -dbcodepage 4102 -i /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL1.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL1.log -stop_on_error -k 54FB9C39DB
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "S0120081106091135                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "scar                                                            "
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "scar"
    (GSI) INFO: release  = "B.11.23"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "ia64"
    (DB) INFO: /BDL/ADDONKEYS created #20081106103603
    (IMP) INFO: import of /BDL/ADDONKEYS completed (0 rows) #20081106103603
    (DB) INFO: /BDL/ADDONKEYS~0 created #20081106103603
    (DB) INFO: /BDL/BADHOST created #20081106103603
    (IMP) INFO: import of /BDL/BADHOST completed (0 rows) #20081106103603
    (DB) INFO: /BDL/BADHOST~0 created #20081106103603
    And so on until the end:
    (DB) INFO: ZWF_INVH created #20081107211801
    (IMP) INFO: import of ZWF_INVH completed (116640 rows) #20081107211817
    (DB) INFO: ZWF_INVH~0 created #20081107211818
    (DB) INFO: ZWF_INVI created #20081107211818
    (IMP) INFO: import of ZWF_INVI completed (20557 rows) #20081107211820
    (DB) INFO: ZWF_INVI~0 created #20081107211820
    (DB) INFO: disconnected from DB
    /sapmnt/S01/exe/R3load: job completed
    /sapmnt/S01/exe/R3load: END OF LOG: 20081107211820
    The log file is 52583 lines long.
    There are 55 import log files and 28 export log files.
    I hope some of this information is helpful for you and thank you again for your assistance!
    Br Linus Hellsing

  • IDOC Syntax Error E0072 with status 26 after upgrade to ECC6.0

    Hi
    We have upgraded SAP R/3 from 4.6C to ECC6.0. After upgrade, when we create PO and output EDI, we are seeing this IDOC syntax error E0072 for Mandatory Segment E1EDK01. In 4.6C it was working fine with no issues, only after upgrade this problem started. It says E1EDK01 is missing which is mandatory. We are using basic type ORDERS01 with no extensions. When we see WE30 it looks fine, WE20 settings looks fine.
    Order of the segments got scrambled in upgraded version. First segment is E1EDP19001, this is supposed to be under E1EDP01 segment. There are two E1EDP19001 segments created but there were no sub segments to E1EDP01.
    Any help in this regard is highly appreciated.
    Thanks
    Pandiri

    User Exit activation and fixing the issue in user exit fixed this issue.

  • Syntax error in programme

    Please check this programme this gives syntax error...
    *& Report  YTEST12                                                     *
    REPORT  YTEST12                                 .
    tables:mara.
    data: begin of itab occurs 10,
          matnr like mara-matnr,
          mbrsh like mara-mbrsh,
          mtart like mara-mtart,
          meins like mara-meins,
          end of itab.
    DATA: ITAB1 like itab occurs 10 with header line.
    DATA gt_fieldcat TYPE lvc_t_fcat WITH HEADER LINE.
    data: ok-code like sy-ucomm.
    DATA gs_layout TYPE lvc_s_layo.
    DATA: go_grid             TYPE REF TO cl_gui_alv_grid,
         go_custom_container TYPE REF TO cl_gui_custom_container.
    start-of-selection.
    CALL screen 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    CREATE OBJECT go_custom_container
             EXPORTING container_name = 'ALV_CONTAINER'.
           CREATE OBJECT go_grid
             EXPORTING
               i_parent = go_custom_container.
    PERFORM prepare_field_catalog CHANGING gt_fieldcat[].
    PERFORM LAYOUT.
    perform load_data.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  load_data
          text
    -->  p1        text
    <--  p2        text
    FORM load_data .
    select matnr mbrsh mtart meins from mara into table itab1.
    CALL METHOD go_grid->set_table_for_first_display
    IMPORTING
    *container_name = 'ALV_CONTAINER'.
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME =
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    is_layout = gs_layout.
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    *it_toolbar_excluding = pt_exclude "excluding toolbar functions
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    IR_SALV_ADAPTER =
    CHANGING
    it_outtab = itab1[]
    it_fieldcatalog = gt_fieldcat[]
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM.                    " load_data
    *&      Form  prepare_field_catalog
          text
         <--P_GT_FIELDCAT[]  text
    FORM prepare_field_catalog CHANGING gt_fieldcat TYPE lvc_t_fcat.
    DATA ls_fieldcat TYPE lvc_s_fcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-fieldname = 'MATNR'.
    ls_fieldcat-scrtext_m = 'MATERIAL'.
    ls_fieldcat-col_pos = 1.
    ls_fieldcat-outputlen = 10.
    ls_fieldcat-emphasize = 'C400'.
    ls_fieldcat-key = 'X'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 2.
    ls_fieldcat-fieldname = 'MBRSH'.
    ls_fieldcat-scrtext_m = 'INDUSTRY'.
    ls_fieldcat-emphasize = 'C900'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 3.
    ls_fieldcat-fieldname = 'MTART'.
    ls_fieldcat-scrtext_m = 'TYPE'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 4.
    ls_fieldcat-fieldname = 'MEINS'.
    ls_fieldcat-scrtext_m = 'UNIT'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ENDFORM.                    " prepare_field_catalog
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE sy-ucomm.
           WHEN 'EXIT'.
             LEAVE TO SCREEN 0.
         ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
    gs_layout-stylefname = 'FIELD_STYLE'.
    gs_layout-zebra = 'X'.
    gs_layout-grid_title = 'MATERIAL'.
    gs_layout-sel_mode = 'A'.
    gs_layout-ctab_fname = 'COLORS'.
    ENDFORM.                    " LAYOUT

    recode like this..Reward if useful..please find the code i have changed(in bold)
    REPORT YTEST12 .
    tables:mara.
    data: begin of itab occurs 10,
    matnr like mara-matnr,
    mbrsh like mara-mbrsh,
    mtart like mara-mtart,
    meins like mara-meins,
    end of itab.
    DATA: ITAB1 like itab occurs 10 with header line.
    DATA gt_fieldcat TYPE lvc_t_fcat WITH HEADER LINE.
    data: ok-code like sy-ucomm.
    DATA gs_layout TYPE lvc_s_layo.
    DATA: go_grid TYPE REF TO cl_gui_alv_grid,
    go_custom_container TYPE REF TO cl_gui_custom_container.
    start-of-selection.
    CALL screen 100.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    CREATE OBJECT go_custom_container
    EXPORTING container_name = 'ALV_CONTAINER'.
    CREATE OBJECT go_grid
    EXPORTING
    i_parent = go_custom_container.
    PERFORM prepare_field_catalog CHANGING gt_fieldcat[].
    PERFORM LAYOUT.
    perform load_data.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Form load_data
    text
    --> p1 text
    <-- p2 text
    FORM load_data .
    select matnr mbrsh mtart meins from mara into table itab1.
    <b>
    CALL METHOD go_grid->set_table_for_first_display
    EXPORTING
    *container_name = 'ALV_CONTAINER'.
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME =
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    is_layout = gs_layout
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    *it_toolbar_excluding = pt_exclude "excluding toolbar functions
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    IR_SALV_ADAPTER =
    CHANGING
    it_outtab = itab1[]
    it_fieldcatalog = gt_fieldcat[]
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4
    </b>IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " load_data
    *& Form prepare_field_catalog
    text
    <--P_GT_FIELDCAT[] text
    FORM prepare_field_catalog CHANGING gt_fieldcat TYPE lvc_t_fcat.
    DATA ls_fieldcat TYPE lvc_s_fcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-fieldname = 'MATNR'.
    ls_fieldcat-scrtext_m = 'MATERIAL'.
    ls_fieldcat-col_pos = 1.
    ls_fieldcat-outputlen = 10.
    ls_fieldcat-emphasize = 'C400'.
    ls_fieldcat-key = 'X'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 2.
    ls_fieldcat-fieldname = 'MBRSH'.
    ls_fieldcat-scrtext_m = 'INDUSTRY'.
    ls_fieldcat-emphasize = 'C900'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 3.
    ls_fieldcat-fieldname = 'MTART'.
    ls_fieldcat-scrtext_m = 'TYPE'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 4.
    ls_fieldcat-fieldname = 'MEINS'.
    ls_fieldcat-scrtext_m = 'UNIT'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ENDFORM. " prepare_field_catalog
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    CASE sy-ucomm.
    WHEN 'EXIT'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Form LAYOUT
    text
    --> p1 text
    <-- p2 text
    FORM LAYOUT .
    gs_layout-stylefname = 'FIELD_STYLE'.
    gs_layout-zebra = 'X'.
    gs_layout-grid_title = 'MATERIAL'.
    gs_layout-sel_mode = 'A'.
    gs_layout-ctab_fname = 'COLORS'.
    ENDFORM. " LAYOUT
    Message was edited by:
            Arjun Puthuruthy
    Message was edited by:
            Arjun Puthuruthy

  • Syntax error in my code and I can't figure out the problem

    When I try to compile a program, I get this message:
    Syntax error on token "(", "Identifier" expected
    This is the part of the code that is giving me trouble:
    JTextPane textPane = createTextPane();
              JScrollPane paneScrollPane = new JScrollPane(textPane);
              paneScrollPane.setVerticalScrollBarPolicy(
                                  JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
              paneScrollPane.setPreferredSize(new Dimension(250, 155));
              paneScrollPane.setMinimumSize(new Dimension(10, 10));Can you see what's wrong?
    Thanks

    The code's syntax is perfectly fine. The compiler is not falgging an error message in this part of your code. One silly thing you can do:
    Try out this silly change...I don't think it will make any difference but still.
    paneScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);That is, put it all in a single line.
    If it is already in a single line then you can be sure that the problem is being flagged from elsewhere in your code and this portion.
    Vijay :-)

  • "Syntax error loading filters - operation cancelled"

    Hi all,
    Version 9.2.0.2
    I am experiencing an error that has been documented before. When I logged into an application, I get this popup "Syntax error loading filters - operation cancelled" from the Excel add in which won't let me log in. I tried all most of the reccomendations (restarting application/server) with the exception of changing ports.
    My application doesn't have filters. I think it might be something to do with an unable ip address or something. Any ideas?
    Thanks

    Is the IP address of the server configured as static or dynamic? I used to get this error all the time on my laptop when I returned from 'suspend' mode. If I put in a static IP address, the problem would go away.
    Tim Tow
    Applied OLAP, Inc

  • Derby - Syntax error, why?

    Hello,
    I'm stumped as to why this doesn't work (the commented part works fine)
        try { String connn = "jdbc:derby:test;create=true"; Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); Connection connect = DriverManager.getConnection( connn ); //     Statement stat; // stat = connect.createStatement(); // stat.executeUpdate( "CREATE TABLE City ( NAME VARCHAR(35) NOT NULL )" ); // // Statement st; // st = connect.createStatement(); // st.executeUpdate("INSERT INTO City( Name ) " + // "VALUES( 'Amsterdam' )" ); // // PreparedStatement statement = connect.prepareStatement("SELECT Name FROM City"); // ResultSet resultSet = statement.executeQuery(); // while (resultSet.next()) { // System.out.println( resultSet.getString("Name") ); // }     Statement stat; stat = connect.createStatement(); stat.executeUpdate( "CREATE TABLE  weerstations ( "+ "stationsnummer VARCHAR(5) NOT NULL,  "+ "voortzetting  VARCHAR(5),"+ "naam          String NOT NULL,  "+ "positie        string NOT NULL,  "+ "terreinhoogte  DOUBLE(2, 1),  "+ "karakteristiek string NOT NULL,  "+ "grondsoort    string NOT NULL,  "+ "barometer      DOUBLE(3, 1),  "+ "windmeetmast  INT(2)" ); }     catch( Exception e ) {     e.printStackTrace();     }     finally{     System.exit( 1);     }
    The error it throws is
    java.sql.SQLSyntaxErrorException: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown Source) at Database.<init>(Database.java:49) at DatumSelectiePanel.<init>(DatumSelectiePanel.java:25) at WeerApp.<init>(WeerApp.java:88) at Test.createAndShowGUI(Test.java:32) at Test.access$0(Test.java:25) at Test$1.run(Test.java:49) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Caused by: java.sql.SQLException: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ... 22 more Caused by: ERROR 42X01: Syntax error: Encountered "String" at line 1, column 110. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) at org.apache.derby.impl.sql.compile.ParserImpl.parseStatement(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source) at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source) ... 16 more
    (line 49 is stat.executeUpdate()

    Ah yes, cut off the parenthesis by accident while removing an extra line that was in there while it was still intended for sqlite.
    Which is also why the datatypes are a mess, which I really need to fix as this is supposed to run on postgresql and mysql as well.
    Anyhow.. it looks like this now stat.executeUpdate(
         "CREATE TABLE    weerstations ( "+
         " stationsnummer VARCHAR(5) NOT NULL,"+
         " voortzetting   VARCHAR(5),"+
         " naam           VARCHAR(255) NOT NULL,"+
         " positie        VARCHAR(255) NOT NULL,"+
         " terreinhoogte  DOUBLE(2, 1), "+
         " karakteristiek VARCHAR(255) NOT NULL,"+
         " grondsoort     VARCHAR(255) NOT NULL,"+
         " barometer      DOUBLE(3, 1),"+
         " windmeetmast   INT(2)" +
    );Which looks correct to me, but it's throwing
    java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at line 1, column 194.[edit]:
    Thinking "I need this working" more than "I need this working properly" I also attempted                stat.executeUpdate(
                        "CREATE TABLE    weerstations ( "+
                        " stationsnummer VARCHAR NOT NULL,"+
                        " voortzetting   VARCHAR,"+
                        " naam           VARCHAR NOT NULL,"+
                        " positie        VARCHAR NOT NULL,"+
                        " terreinhoogte  DOUBLE(2, 1), "+
                        " karakteristiek VARCHAR NOT NULL,"+
                        " grondsoort     VARCHAR NOT NULL,"+
                        " barometer      DOUBLE(3, 1),"+
                        " windmeetmast   INT" +
                   );Which gets me a java.sql.SQLSyntaxErrorException: Syntax error: Encountered "NOT" at line 1, column 56.Edited by: Axeia on May 21, 2009 12:28 PM

  • Flash is complaining about XML? Im using AS3 why are there XML errors? Unknown syntax errors.

    Sorry to keep spamming these forums with my stupid errors, but I am trying really hard to learn Flash/AS3 and when I have got to grips with it, I will return the love.
    I am a flash rookie trying to make a simple calculation device and I am getting a whole world of errors I have never seen before.
    My Code (I apologise but it may be my bad syntax):
    import flash.ui.Mouse;
    var Hnum:String;
    var PCnum:String;
    var calc:Number = 25;
    var Total:Number;
    num1.restrict = "0-9";
    num2.restrict = "0-9";
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function PartCount(event:MouseEvent):void{
        PCnum = num2.text;
        if (PCnum > 0 && < 10){
            parseInt(PCnum) * 10;
        or if (PCnum > 11 && < 20){
            parseInt(PCnum) * 5;
        or if (PCnum > 21){
            parseInt(PCnum) * 1;
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function calculate(event:MouseEvent):void{
        Hnum = num1.text;
        PCnum = num2.text;
        Total = parseInt(Hnum) * calc + parseInt(PCnum);
        Total.toString();
        Total_txt.text = String(Total);
    I had everything working when I was only calculating Hnum by 25. But when I try to intergrate  the if or statement everything goes wrong and I get these 5 errors.
    Scene 1, Layer 'Actions', Frame 1, Line 15
    1104: invalid xml name
    Scene 1, Layer 'Actions', Frame 1
    1084: Syntax error: expecting xmltagendend before end of program.
    Scene 1, Layer 'Actions', Frame 1
    1084: Syntax error: expecting rightparen before end of program.
    Scene 1, Layer 'Actions', Frame 1
    1084: Syntax error: expecting identifier before end of program.
    Scene 1, Layer 'Actions', Frame 1
    1084: Syntax error: expecting rightbrace before end of program.
    I dont understand what these errors are pointing out? Why XML? is it my variable names?
    Here is the code I had before the second function that worked fine:
    var Hnum:String;
    var PCnum:String;
    var calc:Number = 25;
    var Total:Number;
    num1.restrict = "0-9";
    num2.restrict = "0-9";
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function calculate(event:MouseEvent):void{
         Hnum = num1.text;
         PCnum = num2.text;
         Total = parseInt(Hnum) * calc;
         Total.toString();
         Total_txt.text = String(Total);
    Any help would be greatly appreciated! I will get the hang of this!
    MrB

    Thanks guys you were right it was parse problem with the var type.
    I have changed the code adding parseInt where necessary.
    I have also added the other functions. But now after it was working fine with just the one function it is doing the strangest thing.
    There are no errors, it is running fine but it is outputting the letter "a" instead of any numbers? Is this something to do with the strings? It is most odd.
    Any help would be greatly appreciated.
    Here is the new code:
    import flash.ui.Mouse;
    var Hnum:String;
    var PCnum:String;
    var PCcalc:Number;
    var Pmath:Number;
    var calc:Number = 25;
    var Total:Number;
    num1.restrict = "0-9";
    num2.restrict = "0-9";
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function PartCount(event:MouseEvent):void{
        if (parseInt(PCnum) > 0 && parseInt(PCnum)< 10){
            PCcalc == 1;
        if (parseInt(PCnum) > 11 && parseInt(PCnum)< 20){
            PCcalc == 2;
        if (parseInt(PCnum) > 21 && parseInt(PCnum)<200){
            PCcalc == 3;
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function PartCalc(event:MouseEvent):void{
        if (PCcalc == 1){
            Pmath * 10;
        if (PCcalc == 2){
            Pmath * 5;
        if (PCcalc == 3){
            Pmath * 1;
    Est_btn.addEventListener(MouseEvent.CLICK, calculate);
    function calculate(event:MouseEvent):void{
        Hnum = num1.text;
        PCnum = num2.text;
        Total = parseInt(Hnum) * calc + Pmath;
        Total.toString();
        Total_txt.text = String(Total);
    Thanks
    MrB

  • I keep getting this message when I open my outlook mail - syntax error in arguments.  What is it and how do I fix it?

    I keep getting the message - syntax error in arguments when I open Outlook.  Why? And how do I correct it? 

    Hi,
    I don't know the exact fix for your problem, but there is a thread on the Microsoft answers page that talks about this error message being related to a particular key.
    And if you remove that key, you can fix Windows update. See below for the detailed information and scroll to the bottom to see where someone found the fix:
    http://answers.microsoft.com/en-us/windows/forum/windows_other-windows_update/windows-update-error-code-80072ee2/fb87f203-69d9-4cd5-bbb1-ba8d0781be3e
    Thanks,
    Michelle

Maybe you are looking for

  • Performance of XSL Mapping in the ABAP Engine

    Hi All, Is the performance of XSL Mapping in the ABAP Engine better than java and graphical mapping. XSLT on the java stack has performance issue handling large documents.I want to know how far XSL Mapping in the ABAP Engine performs when compared to

  • Table name in which function module and function group store

    Hai, Any one help me, What is the table name, the function modules and fouction groups are stored. Thanks, Elamaran

  • Email notification in a trigger

    I am trying to create a simple trigger for a table that has only one row. This is for a 10g database. I can't figure out how to send e-mail. I believe there is some kind of package that i have to include. Any help would be appreciated. Thanks. Shawn

  • RMAN copies of archived logs view

    When I backup the archivelogs with this statement: backup as copy archivelog all; Why are these copies not shown in the RC_BACKUP_ARCHIVELOG_DETAILS view? The Description says: BTYPE      CHAR(9)      The backup type container, which can be BACKUPSET

  • Can Cloud Control 12c connect to existing 12c agent?

    Can Cloud Control 12c connect to the existing 12c agent? Can't find any information about the subject. Everywhere explained how I can deploy agent from OEM...