Inconsistant Aggregation Behaviour - Activation Terminated

Dear team,
Iam facing DSO activation failure in daily process chains.
Error Msg:Inconsistant Aggregation Behaviour - Activation Terminated.
data is coming from 2 data sources into one DSO.
I deleted the failed requests from DSO & again upload it from PSA and activate it individuallu...
But in the next day load....activation fails again & I observe that yesterdays requests are also in red.
why does this happen ?
in dso settings --> Activate Data Automatically is checked.
please reply if u need any further info, for better understanding of the issue.
regards
kv

Hi,
Delete the yesterdays requests as well (which are uploaded from both the data source).
Rerun the delta loads and acttivate them manually.
You probably for got to activate the request yesterday. the step failled in activation so all the requests which are being activated will turn red.
try the above way it might help you.
If we check that option, i guess the data will be activated soon after the load is done.
Not pretty sure about this point. never tried.
Cheers,
Srinath.
Edited by: Srinath Singamsetti on Aug 3, 2009 10:24 AM

Similar Messages

  • Inconsistent aggregation behavior activation will be terminated 0PUR_DS03

    Hi All,
    Iam getting the following error while activating ODS 0PUR_DS03 delta request
    Inconsistent aggregation behavior activation will be terminated.
    The Initiales request for it went smoothly but giving error while activating Delta request only.
    I found one sap note 1081423 but it is applicable before 16 and Iam already on support package 16 .
    Thanks and Regards .
    Akash

    Hi,
    But the correction are already been done for SP16.
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/spat/index.htm?sp1=SAPKW70016
    Have you checked the Notes, 1074388 1074236 and 875986.
    Edited by: Aduri on Dec 11, 2008 12:55 PM

  • Inconsistent aggregation behavior - activation will be terminated

    Hi BW Gurus
    DSO activation is failing with the error message : "Inconsistent aggregation behavior - activation will be terminated"
    Can any one please suggest on the above issue like how it will be caused and resolved
    Thanks in advance
    Venkat

    Hi....
    If u r getting error in data activation, try the below procedure
    If u want to activate the DSO the status of all the requests must be green.
    If all requests are not in green then this eeror will come.
    Right click on the DSO-> Administrator data target.
    Thaere check whrther the status of any request is yellow or red.
    May be that load going on in some other chain......just click on the Monitor icon.
    Then in the IP monitor .
    Go to the Details tab.
    Expand the Process chain node->right click ->Display messages.
    If you are loading through DTP.
    Then it will take u to the DTP monitor.......
    If PC node is not there,then go to the header tab->click on the IP->it will take u to the IP scheduler
    ->there in the Schedule tab->a Where used list icon is there,it will show u all the chains.
    If that is also not there...then that IP is not a part of any chain,may be it is an Adhoc run,
    wait until the load get completed, then repeat the DSO activation.
    If there is any red request,then first check why it failed, try to rectify the error and repeating the load.if it is not required just delete the request
    then repeat the DSO activation
    Hope this helps.......
    Regards,
    BRS

  • Closing active terminal window with applescript

    I made a very basic script to lock my screen, and I like how it works. Some of my co-workers would also like it but it has one problem.
    When the script runs, a terminal box pops up at the end saying [process complete]. I can click through this and I don't care, they do.
    I can't just killall terminal because we use terminal and that could kill our work.
    We sometimes need to see output from a script and like the process complete, so don't want to reconfigure our systems to never display it.
    I'm trying to find a way to use applescript or something to kill the active terminal window, or the window with the title of LockScreen or something.
    Anyone have an idea?
    I was hoping something like this would exist but it doesn't seem to: tell application "Terminal" to close window

    Here is an easy approach.  Start Applications -> Automator
    Select Application
    In Automator search for "Start Screen Saver".  This should be under Library->Utilities
    Drag "Start Screen Saver" to the right side panel.
    Save the Automator app.
    If the user has System Preferencs -> Security -> Require Password ... set, then one the screen saver has started running, it will require the user to enter their password before getting control back.
    This Automator app can be double clicked, it will not require the terminal.
    With respect to your script.  If this is a shell script, AND if you wish to continue using it, then you could create an Automator app that uses "Run Shell Script" under Automator Library->Utilities.  This will also NOT require the use of Terminal, however, be aware that when Automator runs a shell script it DOES NOT have the same environment as when you are running a shell script at your Terminal prompt.  There are very few environment variables set, and for example the USER, HOME, current working directory, PATH, etc... may not be the same.  If you have dependencies on specific environment information, you may want to write a simple automator script the using "Run Shell Script" to output various environment information into a file so you can see what you have to work with
    (id -a
    pwd
    echo "$#"
    echo "$@"
    printenv
    ) >/tmp/automator.environment.txt

  • Proxy Activity terminated because errors occurred during package checks

    Hi,
    When i am activating the client proxy class in ECC system after assigning it to the package,i am getting the below error.With local object($TMP) its working fine. I tried creating package using se80 as well as from sm30 using view V_TDEVC also and the package is created with no restrictions also .Kindly suggest what needs to be done to fix the issue.
    Activity terminated because errors occurred during package checks
    Message no. EU839
    Diagnosis
    Dictionary objects can only be activated if the package check is swithch ed on - provided they do not contain any package check errors.
    You will receive a list of the package check errors if you execute the package check within the appropriate dictionary tool. To do this, use the respective menu entry in the first menu of theen; corresponding dictionary tool.
    Procedure
    Keep note of the setting for the package check (system-wide property) in your SAP System; this setting defines in which form the package concept is to be applied.
    In particular, check whether the package in which the incorrect dictionary object is located has sufficient usage applications. Then, if necessary, create the missing usage applications.
    As soon as the package check errors have been removed, you must again activate the dictionary object.
    Thnx,
    Goutham

    Hi Bhuvan,
       Check Rashmi's response in this thread:
    Re: Error in package dictionary objects (Proxy activation)
    Regards,
    Ravi Kanth Talagana

  • Activity terminated because errors occurred during package checks

    Hi Experts,
    i am working on File to Proxy scenario.while i am trying to activate genarated proxy objects i am getting below eror.
    Activity terminated because errors occurred during package checks   .
    anybody pls resolve the issue.
    regards,
    bhuvan.

    Hi Bhuvan,
       Check Rashmi's response in this thread:
    Re: Error in package dictionary objects (Proxy activation)
    Regards,
    Ravi Kanth Talagana

  • Aggregation level activation problem

    Hello experts.
    I have a problem with activation of aggregation level with abap program. When I debug the program i saw error like 'BWTK907074 BEX report is unavailable.' . Its a request code. Now i dont know how to pass this step and activate aggregation level.
    Best Regards
    Bilal
    "If it is Nescessary my code is:
    REPORT  z_activate_obj.
    DATA stat TYPE rsobjstat.
    DATA cube TYPE rsinfocube.
    TYPE-POOLS rsds.
    DATA  :  rspar_tab  TYPE TABLE OF rsparams ,
             rspar_line LIKE LINE OF rspar_tab.
    DATA zaglevel LIKE STANDARD TABLE OF rspls_alvl.
    DATA wa1 LIKE LINE OF  zaglevel .
    ZFI_M01
    SELECT SINGLE infocube objstat
    INTO (cube,stat)
    FROM rsdcube
    WHERE objvers  EQ 'A'.
    IF stat NE 'ACT'.
      PERFORM act_mpro USING cube.
    ENDIF.
    SELECT *
    INTO TABLE zaglevel
    FROM rspls_alvl
    WHERE objvers  EQ 'A'
      AND objstat  EQ 'INA'.
    LOOP AT zaglevel INTO wa1.
      PERFORM act_agglevel USING wa1-aggrlevel.
    ENDLOOP.
    *&      Form  ACT_mpro
    FORM act_mpro  USING    p_cube.
      rspar_line-selname = 'P_AREA'.
      rspar_line-kind    = 'P'.
      rspar_line-sign    = 'I'.
      rspar_line-option  = 'EQ'.
      rspar_line-low     = 'X'.
      APPEND rspar_line TO rspar_tab.
      rspar_line-selname = 'SO_MPRO'.
      rspar_line-kind    = 'S'.
      rspar_line-sign    = 'I'.
      rspar_line-option  = 'EQ'.
      rspar_line-low     = p_cube.
      APPEND rspar_line TO rspar_tab.
      DATA: number           TYPE tbtcjob-jobcount,
            name             TYPE tbtcjob-jobname ,
            print_parameters TYPE pri_params.
      CONCATENATE 'Activate' p_cube INTO name SEPARATED BY space.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = name
        IMPORTING
          jobcount         = number
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      SUBMIT rsdg_mpro_activate WITH SELECTION-TABLE rspar_tab
                                VIA JOB name NUMBER number
                                AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
      ENDIF.
    ENDFORM.                    " ACT
    *&      Form  ACT_AGGLEVEL
    FORM act_agglevel  USING    p_agglevel.
      DATA: l_t_return TYPE STANDARD TABLE OF bapiret2,
            l_s_return TYPE bapiret2,
            l_subrc TYPE sysubrc,
    l_t_alvl TYPE STANDARD TABLE OF rspls_alvl,
    l_s_alvl TYPE rspls_alvl,
      l_t_alvl_iobj TYPE STANDARD TABLE OF rspls_s_rfc_alvl_iobj.
      data zreturn like LINE OF l_t_return.
      CALL FUNCTION 'RSPLS_ALVL_CHANGE'
        EXPORTING
          i_aggrlevel    = p_agglevel
        IMPORTING
          e_subrc        = l_subrc
        TABLES
          i_tk_alvl_iobj = l_t_alvl_iobj
          e_tk_return    = l_t_return.
      CHECK l_subrc = 0.
      CALL FUNCTION 'RSPLS_ALVL_CHECK'
        EXPORTING
          i_aggrlevel = p_agglevel
          i_objvers   = 'A'
        IMPORTING
          e_subrc     = l_subrc
        TABLES
          e_tk_return = l_t_return.
      CHECK l_subrc = 0.
      CALL FUNCTION 'RSPLS_ALVL_ACTIVATE'
        EXPORTING
          i_aggrlevel = p_agglevel
        IMPORTING
          e_subrc     = l_subrc
        TABLES
          e_tk_return = l_t_return.
    loop at l_t_return into zreturn.
      WRITE zreturn-message.
    ENDLOOP.
    ENDFORM.                    " ACT_AGGLEVEL

    Hi,
    Check the link and manupulate your code accordingly..
    [Activate all the Aggregation level of underlying multi provider;
    Thanks
    Pratyush

  • Query to pull Active, terminated and new hire

    Hi, I have the below query which is causing the issue
    select employee_number ,to_char(creation_date,'DD-MON-YYYY') creation_date, person_id,object_version_number, person_type_id,
    to_char(effective_start_date,'DD-MON-YYYY') emp_start_date, to_char(effective_end_date, 'DD-MON-YYYY') emp_end_date,
    CASE WHEN trunc(sysdate) = trunc(creation_date) and sysdate between effective_start_date and effective_end_date then 'New Hire'
    when sysdate between effective_start_date and effective_end_date then 'Active'
    when trunc(sysdate)> trunc(effective_start_date) then 'Terminate'
    end status
    from per_all_people_f where employee_number like '%test%' and person_type_id=1120
    --AND SYSDATE BETWEEN effective_start_date and effective_end_date
    order by employee_number
    The query returns the below data
    employee_number creation_date person_id object_version_number, person_type_id, emp_start_date, emp_end_date, status
    test_01     28-MAR-2013     2342     5     1120     27-MAR-2011     19-APR-2013     Terminate
    test_02     29-MAR-2013     2345     7     1120     27-MAR-2011     31-DEC-4712     Active
    test_03     29-MAR-2013     2346     12     1120     30-JUN-2011     31-DEC-4712     Active
    test_03     29-MAR-2013     2346     9     1120     29-JUN-2011     29-JUN-2011     Terminate
    test_03     29-MAR-2013     2346     7     1120     27-MAR-2011     28-JUN-2011     Terminate
    test_05     19-APR-2013     2443     10     1120     27-MAR-2011     24-APR-2013     Terminate
    test_07     24-APR-2013     2461     8     1120     27-MAR-2011     31-DEC-4712     New Hire
    test_08     24-APR-2013     2462     4     1120     27-MAR-2011     24-APR-2013     Terminate
    But I need in my output only the record with employee number test_03 only once because it is current object_version_number is 12
    If I put the condition SYSDATE BETWEEN effective_start_date and effective_end_date it will not show me terminated records.
    My output should look like
    employee_number creation_date person_id object_version_number, person_type_id, emp_start_date, emp_end_date, status
    test_01     28-MAR-2013     2342     5     1120     27-MAR-2011     19-APR-2013     Terminate
    test_02     29-MAR-2013     2345     7     1120     27-MAR-2011     31-DEC-4712     Active
    test_03     29-MAR-2013     2346     12     1120     30-JUN-2011     31-DEC-4712     Active
    test_05     19-APR-2013     2443     10     1120     27-MAR-2011     24-APR-2013     Terminate
    test_07     24-APR-2013     2461     8     1120     27-MAR-2011     31-DEC-4712     New Hire
    test_08     24-APR-2013     2462     4     1120     27-MAR-2011     24-APR-2013     Terminate
    Can some one help me what I am missing.
    Thanks
    Edited by: 885022 on Apr 24, 2013 3:33 AM

    Hi,
    It is always recommended that you fetch the Active employee details and ex-employee details in separate query and make a union of the two to give you the combined output. Thsi approach will ensure that you will only get one record for employee (an active record if S/He is an active employee or an ex-employee record). Try this out
    Sample - select papf.employee_number, papf.full_name
    from per_all_people_f papf,
    per_person_type_usages_f pptu,
    per_person_types ppt
    where papf.person_id = pptu.person_id
    and pptu.person_type_id = ppt.person_type_id
    and ppt.system_person_type in ('EMP', 'CWK')
    and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date
    and trunc(sysdate) between pptu.effective_start_date and pptu.effective_end_date
    UNION
    select papf.employee_number, papf.full_name
    from per_all_people_f papf,
    per_person_type_usages_f pptu,
    per_person_types ppt
    where papf.person_id = pptu.person_id
    and pptu.person_type_id = ppt.person_type_id
    and ppt.system_person_type in ('EX_EMP', 'EX_CWK')
    and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date
    and trunc(sysdate) between pptu.effective_start_date and pptu.effective_end_date
    Thanks,
    Sanjay

  • Inconsistent trackpad behaviour compared to iOS

    A few days ago I purchased a MacBook Pro, which works perfectly. The only problem I found so far is the trackpad behaviour, which is inconsistent with our iPad and iPhone.
    On iOS, when you *swipe down*, you *scroll up* the information you're viewing. It is as if you're putting your finger on the information and literally drag it to the bottom of the window, thus exposing the information above it.
    With OSX, when you *swipe down* (using the two finger gesture), you *scroll down* the displayed information. The swipe motion mimics the movement of the scroll bar.
    I think the iOS approach is more intuitive and I would like my MBP to behave in the same way. Alas there is no option in the trackpad system preferences to accomplish this ("Inverse gestures").
    Any thoughts on this

    Alas there is no option in the trackpad system preferences to accomplish this ("Inverse gestures").
    True. You'll get used to the way it works.
    I have an iPhone and a MBP, and though you're absolutely correct about the difference, I had never even noticed it until you brought it up.

  • Inconsistency Excel Launch via terminal server

    Dear All,
    Currently, we are running on BPC NW 10 SP 14 and encounter an error launching Excel via terminal server.
    The result is not consistent as sometimes Excel was able to launch.
    Step:
    Portal -> Terminal -> Portal (SSO) -> BPC Web (via terminal)
    Error Message:
    Error Launching Office Client: Object reference not set to an instance of an object
    There are couple of notes which have been checked and does not seems to help.
    https://support.wdf.sap.corp/sap/support/notes/1922019
    https://support.wdf.sap.corp/sap/support/notes/1990386
    https://support.wdf.sap.corp/sap/support/notes/1922056
    https://support.wdf.sap.corp/sap/support/notes/1702693
    Please advise if there could be any other possibility that could lead to the inconsistency in launching EPM excel via terminal server.
    At the same time, is looking if upgrading the service pack to either SP15/SP16 would help.
    Would appreciate if anyone could share some information(known issue,bug) in both service pack.
    Thanks in advance.
    Regards,
    Michael Lim

    Hi,
    It Might be permission issue.
    Try to give rights to folder where reports are kept.
    Also give rights to windows\TEMP folder.
    Regards,
    Shweta

  • Aggregation Behaviour in BEX Analyzer

    Hi Experts,
    using an Info-Set I combine information from to Info-Provider.
    One Info-Provider contains key-figure "amount" while the other Info-Provider contains key-figure "factor".
    Within a Query based on my Info-Set I multiply "amount" with "key-figure". This works fine for the smallest granularity.
    The Problem appears when I start aggregation in BEX.
    Now the cumulated "amount" is multiplied with the cumulated "factor". The results are wrong.
    What can I do?
    Exception aggregation is in my point of view not an answer, since "amount" has to be weighted with "factor".
    BR,
    Thorsten

    Hi Thorsten,
    how umulated "amount" is multiplied with the cumulated "factor". in query, in calulated key figure you have options.
    right on Calculted keyfigure which useing for mutiplication -> proprties -> botttom of properties you have option before aggregation. check this option.
    hope this helps
    Regards
    Daya Sagar

  • Would there be any reason for logs to show up in the activity terminal while a computer is not in use?

    I have an activity log on my mac from Dec. 7th, at 12:48pm-12:49pm...no one was anywhere near the mac at the time, as we were all downstairs having tea with family. Is it possible for the log to happen without anyone accessing the computer? it was the admin account only...the other two accounts show nothing on the log. The other thing of concern, is that this popped up with it: device_generate_desktop_screenshot.
    Is something taking screenshots of my mac? I would paste the full code, but I freaked myself out already, so the mac is off for the night and the wifi is turned off on the mac, as well. Last thing, is that my fully charged mac was so dead it wouldn't boot on Sunday evening, and I hadn't touched it since Friday...is that related?
    thanks.

    But when I do this, none of the express units show up in the utility anymore.  Should I just take it as a blessing that it seems to be working, and not mess with it?
    Did you power cycle the entire network to get things in proper sequence?
    If not, power off everything....all devices....order is not important
    Wait a few minutes
    Power up the modem first and let it run a moment or two
    Power up the Time Capsule the same way
    Power up the powerline devices
    Power up each Express one at a time
    Power up other devices one at at time
    What should the internet setting be on the time capsule and airport expresses.
    The setting on the Time Capsule will depend on the type of modem that you have connected. It sounds like the "Share a public IP address" would be correct for the Time Capsule. Everything else must be in "Bridge Mode"
    Each of the AirPort Express devices must be configured to "Create a wireless network" using the same wireless network name, security setting and password as the Time Capsule network. Set the Channels as "Automatic" and double check as the last configuration step to make sure that they are set for Bridge Mode.
    Then restart the entire network as outlined above and you are in business.
    The Express devices should definitely show up in AirPort Utility when you have everything set up.

  • Inconsistent FileReader behaviour during heavy load

    I am using a StreamTokenizer / FileReader to parse the contents of files and have noticed inconsistent results similar to the ones we get during concurrency problems. Only in my case its a single single Thread calling the parser method.
    I have run the parser 672 times over the same file and I have a counter that counts the parsed words. Though I would expect the counter to always show the same number, suprisingly it sometimes shows a smaller number !
    ---1---[227]
    ---1---[227]
    ---1---[227]
    ---1---[227]
    ---1---[190] <====
    ---1---[227]
    ---1---[227]
    ---1---[227]
    ---1---[227]
    ---1---[227]
    ---1---[227]
    ---1---[227]
    I have the feeling StreamTokenizer.TT_EOL may return EOF prematurely. Then again I need a deterministic way of processing the contents of as many files as needed. How can I make sure my code will always process the same number of tokens for the same file at any given time?
    Here the method that produces the inconsistent counts:
        public HashMap<String,ArrayList<Long>> parseDocument( Reader       _reader
                                                            , int          _pivDocID
                                                            , yxStopList   _yxStpLst
                                                            , String       _filename )
                throws   FileNotFoundException
                       , IOException
            HashMap<String,ArrayList<Long>> _postingLists = new HashMap<String,ArrayList<Long>>(HASHMAP_INITIAL_SIZE);
            ArrayList<Long>                 _offsets      = null;
            int                             _currOffset   = 0;
            int                             _numericTokens= 0;
            String                          _token        = null;
            BufferedReader                  _buffReader   = new BufferedReader(_reader);
            StreamTokenizer                 _st           = new StreamTokenizer(_buffReader);
            _st.resetSyntax();
            _st.ordinaryChars(0,255);
            _st.eolIsSignificant(true);
            _st.lowerCaseMode(true);
            _st.whitespaceChars(',', ',' ); // COMMA
            _st.whitespaceChars(' ', ' ' ); // SPACE
            _st.whitespaceChars('.', '.' ); // PERIOD
            _st.whitespaceChars('\t','\t'); // TAB
            _st.whitespaceChars('\n','\n'); // EOL
            _st.whitespaceChars('\r','\r'); // EOL
            _st.wordChars('a','z');
            _st.wordChars('A','Z');
            _st.wordChars('0','9');
            _st.wordChars('_','_');
    scan:
            while(true)
                try
                    switch(_st.nextToken())
                            case StreamTokenizer.TT_WORD  :
                                 _token = _st.sval;
                                 if (_token.length() < MINIMUM_ACCEPTABLE_TOKEN_LENGTH) break;
                                 if (_token.length() > MAXIMUM_ACCEPTABLE_TOKEN_LENGTH) break;
                                 if (_token.matches(".*[^a-zA-Z0-9_].*")) break;
                                 if (_token.indexOf("__") > -1) break;
                                 if (_token.matches(".*[0-9].*") && _token.matches(".*[a-zA-Z_].*")) break;
                                 if (!_token.matches("[a-zA-Z_]+"))
                                     if ( !_token.startsWith("0" ) )               break;    //only numbers like: 069 456456 or 004916099113815
                                     if (  _token.startsWith("000") )              break;
                                     if (    _token.length() == 4
                                          && !(    _token.startsWith("19")
                                                || _token.startsWith("20")
                                                || _token.startsWith("21")) )      break;
                                     if (_token.length() > 20)                     break;
                                     _numericTokens++;
                                     if (_numericTokens > MAXIMUM_NUMBERS_PER_DOC) break;    //do not allow too many numeric tokens per document
                                 }//end of [IF]
                                 if ( _yxStpLst.isStopWord(_token) )
                                     yxL.log(6,"[yxParser  --  parseDocument(2)]","","WARNING","REJECTING STOPWORD ["+_token+"] !");
                                     break;
                                 _currOffset++;
                                 if ( !_postingLists.containsKey(_token) )
                                    _offsets = new ArrayList<Long>();
                                    _offsets.add(0,(long)_pivDocID);
                                    _offsets.add(1,(long)_currOffset);
                                    try {
                                       _postingLists.put(_token,_offsets);
                                    }catch(OutOfMemoryError e001){
                                       e001.printStackTrace();
                                       yxL.log(2,"[yxParser  --  parseDocument(2)]","","ERROR","OutOfMemory while parsing ["+_filename+"]");
                                       break scan;
                                 }//end of [IF]
                                 else
                                    _offsets = _postingLists.get(_token);
                                    if (_offsets.size() == MAX_OFFSETS_PER_TOKEN) break;
                                    int _prevSumOfOffsets = 0;
                                    for ( int i1 = 1;                                                       // ignore i1=0 because i1=0 is the DOCID
                                          i1<_offsets.size();                                               // loop until end of encoded Offsets
                                          i1++ ) _prevSumOfOffsets += _offsets.get(i1);                     // sum all existing encoded offsets
                                    _offsets.add(_offsets.size(),(long)(_currOffset - _prevSumOfOffsets));
                                    try {
                                       _postingLists.put(_token,_offsets);              // put : replaces existing Key
                                    }catch(OutOfMemoryError e001){
                                       e001.printStackTrace();
                                       yxL.log(2,"[yxParser  --  parseDocument(2)]","","ERROR","02 [yxParser] OutOfMemory while parsing ["+_filename+"]");
                                       break scan;
                                    yxL.log(6,"[yxParser  --  parseDocument(2)]","","INFO"
                                             ,"02   Updating  ["+_token+"]["+Arrays.toString(_offsets.toArray())+"]");
                                 break;
                            case StreamTokenizer.TT_NUMBER: break;                  // Numbers will be treated as Strings
                            case StreamTokenizer.TT_EOL   : break;                  // EOL
                            case StreamTokenizer.TT_EOF   : break scan;             // EOF
                            default                       :
                                 break;                                             // individual 1-char tokens will be ignored
                    }//end of [SWITCH]
                }catch (Exception e){e.printStackTrace();}
            }//end of [WHILE]
            _buffReader.close();
            _reader.close();
            _token      = null;
            _st         = null;
            _buffReader = null;
            _offsets    = null;
            int _tokensFound = _postingLists.size();
            if (_tokensFound < 1)
                yxL.log(3,"[yxParser  --  parseDocument(2)]","","WARNING","Number of tokens found = ["+_postingLists.size()+"]["+_filename+"]");
                if (sh.isIndexable(_filename))
                    _offsets = new ArrayList<Long>();
                    _offsets.add(0,(long)_pivDocID);
                    _offsets.add(1,1L);
                    try {
                       _postingLists.put(sh.MANUAL_INDEX_FILE_START,_offsets);
                    }catch(OutOfMemoryError e001){
                       e001.printStackTrace();
                       yxL.log(2,"[yxParser  --  parseDocument(2)]","","ERROR","OutOfMemory2 while parsing ["+_filename+"]");
                }//end of [IF]
            else
                yxL.log(4,"[yxParser  --  parseDocument(2)]","","INFO","Number of tokens found = ["+_postingLists.size()+"]");
            COUNT_TOTAL_WORDS += _postingLists.size();
    System.out.println("---1---["+_postingLists.size()+"]");
            yxL.log(6,"[yxParser  --  parseDocument(2)]","END");
            return _postingLists;
        }

    Yes. there is a GUI involved. The Gui participated in this only by triggering the parsing process through the click of a button. The parser receives its input from a Vector which contains fully qualified filenames.
    Each filename is used to instantiate a FileReader Object. This in turn is passed on to the parser method shown above. The inconsistency is located in the method above. I have already searched for days to reach to this conclusion. I was taking for granded that the stream would be read till EOF is reached, but this is not always the case. The method shown above is re-run over 600 times and 2% of the time it return 10-20 words less. !!

  • Inconsistent Response Behaviour

    Hi Everyone,
    We have a very weird problem here. Our application is a servlet based app using iPlanet Enterprise 4.0 application server. The servlet response acts very inconsistent when we try to change the response type from text/html to something else in the application(to res.setContentType("application/vnd.ms-excel") for example). Sometimes it works but most of the time instead of opening results in MS Excel, output is being rendered as an HTML.
    Does anyone have any suggestions?
    Any help will be greatly appreciated.
    Thanks,
    YM

    In order to change the MIME Handling on IE you need to edit the Registry. (Ah the little tool we all love - regedit, and regedit32).
    Anyway, just try to figure out where they burried it.
    I have found some vary weird things that IE does to HTML and HTTP.
    Microsoft does not abide by true HTTP POST rules regarding simple transactions based on the content-encoding of 'x/www-form-urlencoded'
    When trying to get the data, IE never sends it. When I changed the type to 'text/plain' it worked!
    That's MS for you.

  • Inconsistent font behaviour between reflow and chrome

    Having seen previous threads regarding inconsistent font behavior caused by copied and pasted text containing hidden styling tags, I tried to find a way of quickly stripping out the tags.
    Copied client text from word.
    Used paste special - text only - to drop text into Dreamweaver CC design view. Entered code view and deleted invisible tags. Copied text from code view and pasted into Edge Reflow.
    Styled text in Reflow - paragraph breaks, shift returns and emboldened headings. Saved and previewed in Chrome - still not showing bold headings (arial).
    So, deleted text box in reflow, and redrew. Switched to Dreamweaver and copied text from code view with <p> and <br> tags as needed.
    Returned to reflow and pasted into text box. Immediately black screen and no way to do anything. Had to force quit and restart from saved reflow project file.
    Same thing happens upon repeating.
    What can I do to get the reflow typography to preview properly in chrome? Really frustrated by this issue.
    Many thanks in advance for any suggestions...

    Thanks very much for this bug. I can reproduce it on my end. I've filed it for our team to take a look at.
    I'll try and update if we find a fix.

Maybe you are looking for