Find the error in non-preemptive scheduling

package test.nonpreemptive;
public class NonPreemptiveScheduling
     public int[] getWaitingList(int[] process, int[] arrival, int[] burst)
          if(arrival[0]!=0)
               return new int[]{0};
               if(process.length!=arrival.length & process.length!=burst.length & arrival.length!=burst.length)
                    return new int[]{0};
          for(int i=0;i<burst.length;i++)
                    if(burst>=10 | burst[i]<=0)
                         return new int[]{0};
               for(int i=0;i<arrival.length;i++)
                    for(int j=i;j<arrival.length;j++)
                         if(arrival[i]>arrival[j])
                         return new int []{0};
               for(int i=0;i<arrival.length;i++)
                    for(int j=i+1;j<arrival.length;j++)
                         if(arrival[i]==arrival[j])
                              return new int []{0};
          int sum[] = new int[process.length];
          for(int i=0;i<process.length;i++)
               sum[i] = arrival[i]+burst[i];
          int temp1,temp2,temp3;     
          for(int i=1;i<process.length;i++)
               for(int j=i;j<process.length;j++)
                    if(sum[i]>sum[j])
                         temp1 = process[i];
                         process[i] = process[j];
                         process[j] = temp1;
                         temp2 = arrival[i];
                         arrival[i] = arrival[j];
                         arrival[j] = temp2;
                         temp3 = burst[i];
                         burst[i] = burst[j];
                         burst[j] = temp3;
          int starttime[] = new int[process.length];
          int finaltime[] = new int[process.length];
          starttime[0] = arrival[0];
          finaltime[0] = burst[0];
          for(int i=1;i<process.length;i++)
               starttime[i] = finaltime[i-1];
               finaltime[i] = starttime[i]+burst[i];
          int waitingtime[] = new int[process.length];
          for(int i=1;i<process.length;i++)
               waitingtime[i] = finaltime[i] - (arrival[i]+burst[i]);
          int temp4,temp5;
          for(int i=0;i<process.length;i++)
               for(int j=i;j<process.length;j++)
                    if(process[i]>process[j])
                         temp4 = process[i];
                         process[i] = process[j];
                         process[j] = temp4;
                         temp5 = waitingtime[i];
                         waitingtime[i] = waitingtime[j];
                         waitingtime[j] = temp5;
          return waitingtime;
     // You could use this sample code to test your functions
     // Following main fucntion contains 3 representative test cases
     public static void main(String args[])
          //testcase 1:
          try
               int process[] = {1, 2, 3, 4};
               int arrival[] = {0, 2, 4, 5};
               int burst[] = {7, 4, 1, 4};
               int[] output = new NonPreemptiveScheduling().getWaitingList(process, arrival, burst);
               if(output!=null && output.length>0)
               for (int i = 0; i < output.length; i++)
                    System.out.print(output[i]+", ");
               System.out.println();
          catch (Exception e)
               e.printStackTrace();
          //testcase 2:
          try
               int process[] = {1, 2, 3};
               int arrival[] = {0, 4, 8};
               int burst[] = {6, 2, 1};
               int[] output = new NonPreemptiveScheduling().getWaitingList(process, arrival, burst);
               if(output!=null && output.length>0)
               for (int i = 0; i < output.length; i++)
                    System.out.print(output[i]+", ");
               System.out.println();
          catch (Exception e)
               e.printStackTrace();
          //testcase 3:
          try
               int process[] = {1, 2, 3, 4};
               int arrival[] = {2, 0, 4, 5};
               int burst[] = {7, 4, 1, 4};
               int[] output = new NonPreemptiveScheduling().getWaitingList(process, arrival, burst);
               if(output!=null && output.length>0)
               for (int i = 0; i < output.length; i++)
                    System.out.print(output[i]+", ");
               System.out.println();
          catch (Exception e)
               e.printStackTrace();
     //     testcase 4:
          try
               int process[] = {1, 2, 3, 4, 5, 6, 7};
               int arrival[] = {0, 2, 4, 5, 6, 7, 8};
               int burst[] = {7, 4, 1, 4, 6, 7, 2};
               int[] output = new NonPreemptiveScheduling().getWaitingList(process, arrival, burst);
               if(output!=null && output.length>0)
               for (int i = 0; i < output.length; i++)
                    System.out.print(output[i]+", ");
               System.out.println();
          catch (Exception e)
               e.printStackTrace();
I have been told that this code of non-preemeetive sheduling does not work for all the test cases... can u please help me out... if there is any problem regarding the code ?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

anshul_bhandari wrote:
i am getting the correct output as desired...
but the person to whom i have to submit this code is refusing to accept it .. he says this code won't work for all the possible inputs...
what else can be the possible inputs for which this code won't work..Those statements contradict each other in terms of your other posts in this thread.
You have a set of test cases. Do you in fact know what the results of those cases should be? Or are you assuming that because you got some output that it is correct?
Or is there another set of test cases which you do not have access to?

Similar Messages

  • I upgraded from Dreamweaver CS4 to CS6. but now "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?

    I upgraded from Dreamweaver CS4 to CS6. but now when I want to upload I get "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?
    Mac OS 10.8.5
    None of these issues are causing the error in DW CS6. We have double checked all of them and we have everything exactly right. Also I have exactly the same SiteSetup in DW CS4 and that works perfectly well. Could there must be factor in 6 that didn't exist in 4? Something that isnt in the SiteSetup but in some hidden dialog box ?
    I can also upload to my host using Fetch, a third party FTP. And as I said DW CS4 works fine. So the problem is not with my host, its with DW CS6 in particular.

    Thank you Jon, that fixed it perfectly. You have saved me from going crazy. The only difference I see now is in "Server Name" it changed what I had entered (my ftp address) to "Remote Server"; which seems odd -- but it works!   Although I know there maybe also some other dialog box I have never seen
    Of course I saw that menu item "Import"  and but I thought thats obviously not for me: "Why would I want to import an entire website?". I did not however see "Export the selected site" for thats only a tiny icon in the footer. However I would have thought the same:  "Why would I want to export my entire website?".
    An observation: I've seen this problem in a lot of Adobe software, the menu-names of items are  obscure, non descriptive. What would be better would be for the menu names or popups to say "Export Site Setup settings" and "Import Site Setup settings"

  • Not able to find the Error in code !

    please help me to find the error in my code. When I Added x1~kondm its not giving anything i.e
    *join t178t as x1
    *on   p1kondm = x1kondm
    in the SQL part !
    REPORT YINTERACTIVEPROGRAM01.
    TABLES:VBAP,
           VBPA,
           VBRP,
           VBRK,
           KNA1,
           ADRC,
           TPAR,
           TVKGG,
           TVM1T,
           TVM2T,
           TVM3T,
           TVM4T,
           VBKD,
           SZA1_D0100,
           T178T.
    TYPES:BEGIN OF TY_TAB,
             VBELN LIKE VBAK-VBELN,
             VKORG LIKE VBAK-VKORG,
             ERDAT LIKE VBAK-ERDAT,
             AUGRU LIKE VBAK-AUGRU,
             BSTDK LIKE VBKD-BSTDK,
             BSTDK_E LIKE VBKD-BSTDK_E,
             spart like vbap-spart,
             kondm like vbap-kondm,
             waerk like vbap-waerk,
             netwr like vbap-netwr,
             kwmeng like vbap-kwmeng,
             vkaus like vbap-vkaus,
             land1 like vbpa-land1,
             nrart like tpar-nrart,
           vtext like tpar-vtext,
             parvw like tpar-parvw,
             name1 like adrc-name1,
             name2 like adrc-name2,
             name3 like adrc-name3,
             name4 like adrc-name4,
             ort01 like kna1-ort01,
             pstlz like kna1-pstlz,
             vtext like t178t-vtext,
          END  OF TY_TAB.
    DATA: ITAB TYPE STANDARD TABLE OF TY_TAB WITH HEADER LINE.
    parameters:salesno like itab-vbeln.
    select s1~vbeln
           s1~vkorg
           s1~erdat
           s1~augru
           k1~BSTDK
           k1~BSTDK_E
           p1~spart
           p1~kondm
           p1~waerk
           p1~netwr
           p1~kwmeng
           p1~vkaus
           r1~land1
           t1~nrart
          t1~vtext
           t1~parvw
           n1~name1
           n1~name2
           n1~name3
           n1~name4
           c1~ort01
           c1~pstlz
           x1~vtext
    into corresponding fields of table itab
    from  vbak as s1
    join  VBKD as k1
    on   s1vbeln = k1VBELN
    join vbap as p1
    on   k1vbeln = p1vbeln
    *join t178t as x1
    *on   p1kondm = x1kondm
    join vbpa as r1
    on   p1vbeln = r1vbeln
    join tpar as t1
    on   r1parvw = t1parvw
    join ADRC as n1
    on   r1adrnr = n1addrnumber
    join kna1 as c1
    on   r1land1 = c1land1
    where k1vbeln = salesno and  s1vbeln = salesno and p1~vbeln = salesno
    and  r1~vbeln = salesno.
    loop AT ITAB.
      WRITE : /(30)'VBELN: ',  ITAB-VBELN,
              /(30)'VKORG: ',  ITAB-VKORG,
              /(30)'ERDAT: ',  ITAB-ERDAT,
              /(30)'AUGRU: ',  ITAB-AUGRU,
              /(30)'BSTDK: ',  ITAB-BSTDK,
              /(30)'BSTDK_E:', ITAB-BSTDK_E,
              /(30)'SPART: ',  itab-spart,
              /(30)'KONDM: ',  itab-kondm,
              /(30)'WAERK: ',  itab-waerk,
              /(18)'NETWR: ' , itab-netwr,
              /(18)'KWMENG: ', itab-kwmeng,
              /(10)'VKAUS:',   itab-vkaus,
              /(30)'LAND1:',   itab-land1,
              /(30)'NRART:',   itab-nrart,
              /(30)'PARVW:',   itab-parvw,
              /(30)'ADDR1:',   itab-name1,
              /(30)'ADDR2:',   itab-name2,
              /(30)'ADDR3:',   itab-name3,
              /(30)'ADDR4:',   itab-name4,
              /(30)'PSTLZ:',   itab-pstlz,
              /(30)'ORT01:',   itab-ort01,
              /(30)'Compiler desc:',   itab-vtext.
               uline.
    ENDLOOP.
                if sy-subrc <> 0.
                write : / 'No data found'.
                endif.

    hi,
      u failed to check relationship between tables and as well as mandatory fields need to be checked, i noticed following
    from vbak as s1
    join VBKD as k1
    on s1vbeln = k1VBELN
    join vbap as p1
    on k1vbeln = p1vbeln and k1posnr = p1posnr
    *join t178t as x1
    *on p1kondm = x1kondm
    join vbpa as r1
    on p1vbeln = r1vbeln   <b>and p1posnt = r1posnr </b> join tpar as t1
    on r1parvw = t1parvw
    join ADRC as n1
    on r1adrnr = n1addrnumber     <b> * No relation between these two tables/b]     
    join kna1 as c1
    on r1land1 = c1land1 <b>and r1kunnr = c1kunnr</b> <i>'here u need to check mandatory fields also</i>
    where k1vbeln = salesno and s1vbeln = salesno and p1~vbeln = salesno
    and r1~vbeln = salesno.
    anyway, in performance point of view, writeing code with this much joins is not acceptable.
    comeback if you need any further help
    regards,
    pavan
    Message was edited by:
            pavan kumar pisipati

  • Jdbc scenario .. where to find the error msg

    Hi,
    I am working on a scenario,
    abap proxy->jdbc adapter->MsSql server.
    Whle testing,
    i sent the payload xml from the sproxy test sceen.
    After that, i checked the "Monitor for processed xml messages" screen (SXI_MONITOR).
    There it shows the status "Processed successfully" for the message that i sent.
    But when i checked the sqlserver database, the record is not inserted.
    Where can i find, if anything gone wrong at Jdbc adapter, or there after.
    Thanks in advance,
    Ganesh

    Hi
    apart from this communication channel you can see the message in adapter engine
    to do this take the id of the message fromSXI_MONITOR
    then go to transaction sxmb_ifr
    inside this go to message  Monitoring
    under drop down select adapter engine and inside the window give the iD of your message which you have taken from MONI
    if you are not getting the filter for message ID then click on additional filter and give the iD
    after this you can see your message
    select the radio butten inside your message and click on details
    here you will get the log of each and every step which have been followed in processing the message and you can find the error exactly
    regards
    sandeep
    If helpful reward points

  • Fast way to find the number of non-zero terms in an array or image

    I am trying to use the Standard Deviation PtbyPt Vi.  It takes in a series of points, can be reset when beginning the calculation.  There is also an input for sample size.  I am calculating some statistics on an array...and would only  to include like the non-zero elements that are  in the sample. 
    Is there a quick way to look at an array and find the number of non-zero elements?
    Thanks.
    Solved!
    Go to Solution.

    GerdW wrote:
    - for big arrays this may lead to "out of memory" problems because of creation of data copies
    Here's a quick rundown on memory allocations based on the algorithm.
    (case 1&3)
    If you do the "!=0, ?1:0, I32, sum" shuffle, each step needs to allocate a new array, so if the input array is DBL and uses N amount of memory, we need 7N/8 more memory.
    (Total of 15N/8, or 13N/8 if we don't need the I32, but in this case the array are too small to worry about anything )
    The nice thing is that it works for any array dimensionality (1D, 2D, 5D, etc...)
    (Case 2&5)
    If you do the summing in a shift register, No additional array memory is needed. Unfortunately, the code needs to be changed by adding an extra FOR loop for each dimension (see case 5 for 2D inputs).
    (Case 4)
    If we reshape the N-D array to a 1D array, we need to create a second copy, so the memory usage is about twice. This also works for any dimension.
    In real life, and if memory is a potential issue, you should always do some benchmarks.
    Often, the issues are more complex, so this is just a quick summary.
    Message Edited by altenbach on 10-23-2008 11:59 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    CountNonZero.PNG ‏29 KB

  • Any option is there to find the error record in loop for huge amount of rec

    Hi Guru's,
    In our production system we got a error. While debugging we found one of our loop getting 1 lakh records. One of the record from the internal table having some wrong values because of that its giving a error message. But we are not getting any proper message.
    Now our problem is its very difficult to debug all the records one by one. Even its not possible to give Watchpoint. bze in what situations its giving this error that also not predictable. So how to find the error record?
    Kindly suggest.
    Ananadhan

    Need a lot more info.
    To start with is this CR Designer or some other product?
    I suspect it's classic SAP products like Business One etc., if so please mark as answered and post your question int the correct forum.
    Thank you
    Don

  • Finding the number of Non-Blank Line in a File

    Does anyone know the command or how to find the number of non-blank lines in a text file? I have the program already reading characters, words, and total lines.
              BufferedReader FileIn = new BufferedReader( new FileReader( selectedFile ) );
                   Scanner scanWords = new Scanner (selectedFile);
                             String thisToken = "";
                             int numWords = 0;
                             while (scanWords.hasNext())
                             thisToken = scanWords.next();
                             numWords++;
         System.out.println("Total number of words: " + numWords);
         Scanner scanLines = new Scanner (selectedFile).useDelimiter("\n");
                             String thisToken2 = "";
                             int numLines = 0;
                             while (scanLines.hasNext())
                             thisToken2 = scanLines.next();
                             numLines++;
         System.out.println("Total number of lines: " + numLines);
         Scanner scanChars = new Scanner (selectedFile).useDelimiter("");
                             String thisToken3 = "";
                             int numChars = 0;
                             while (scanChars.hasNext())
                             thisToken2 = scanChars.next();
                             numChars++;
         System.out.println("Total number of characters: " + numChars);
                   FileIn.close();
              }

    Use BufferedReader#readLine() instead. Read the file once and process each line once.

  • Please help in finding the error in this code

    Dear Friends,
    I am trying to make the value of 'Shift' on the basis of  BLDAT CPUDT & CPUTM of MKPF but I am doing something wrong. Kindly have a look at the following code, especially the IF..ELSEIF section and help me in finding the error.
    Regards,
    Alok.
    SELECT MBLNR MJAHR BKTXT BUDAT BLDAT CPUDT CPUTM USNAM
    INTO CORRESPONDING FIELDS OF TABLE I_MKPF1
    FROM MKPF
    WHERE
    BUDAT EQ S_BUDAT AND
    TCODE2 EQ 'MFBF'.
    ********************************************************ALOK 01.02.07
    LOOP AT I_MKPF1.
           I_MKPF-MBLNR = I_MKPF1-MBLNR.
           I_MKPF-MJAHR = I_MKPF1-MJAHR.
           I_MKPF-BKTXT = I_MKPF1-BKTXT.
           I_MKPF-BUDAT = I_MKPF1-BUDAT.
           I_MKPF-BLDAT = I_MKPF1-BLDAT.
           I_MKPF-CPUDT = I_MKPF1-CPUDT.
           I_MKPF-CPUTM = I_MKPF1-CPUTM.
           I_MKPF-USNAM = I_MKPF1-USNAM.
    IF   ( ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM < '160000' )
    AND   ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) ).
    I_MKPF-SHIFT = 'A'.
    ELSEIF ( ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM <= '110000' )
       AND  ( I_MKPF1-BLDAT <>  I_MKPF1-CPUDT ) ).
    I_MKPF-SHIFT = 'C'.
    ELSEIF ( ( I_MKPF1-CPUTM >= '160000' AND I_MKPF1-CPUTM < '000000' )
      AND  ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) ).
    I_MKPF-SHIFT = 'B'.
    ENDIF.
    APPEND I_MKPF.
    CLEAR I_MKPF.
    ENDLOOP.

    Hi.
    IF (  I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM < '160000' )
           AND ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) .
    I_MKPF-SHIFT = 'A'.
    ELSEIF  ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM <= '110000' )
    AND ( I_MKPF1-BLDAT <> I_MKPF1-CPUDT ) .
    I_MKPF-SHIFT = 'C'.
    ELSEIF ( I_MKPF1-CPUTM >= '160000' AND I_MKPF1-CPUTM < '000000' )
    AND ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) .
    I_MKPF-SHIFT = 'B'.
    ENDIF.
    Try the above code ..
    Regards
    Sudheer

  • What table where i can find the errors in Sales Order

    hi,
    what table where i can find the errors in Sales Order. here's my situations, I need to create a abap report of CRM sales order not replicated to R/3 and show what's the error. I can't find the actual error in CRMD_ORDDERADM_H and CRMD_ORDERADM_I. I also tried calling program "CRM_ORDER_READ" but the program doesn't display/returns error's on header and item level.
    please help.
    earl g. faren

    hi,
    what i need is a table where i can find the sales transaction errors. I'm doing a abap report to list down sales transactions with error(s). I checked the table CRMD_ORDERADM_H and CRMD_ORDERADM_I but there's no field for transaction errors.
    please help me find a table where I can link the tables above to get the specific errors for a sales transactions.
    thanks alot.

  • Please help me find the error in the annex VI,access

    Hello, everyone, this is a program about ACCESS, please help me find the error in the annex VI, why do I always run time error. Thank you very much.
    Attachments:
    write access test.vi ‏22 KB

    Thank you for your reply, I have an attachment process map, could you help me change it, I just want to put my number in the array can continue to update the database. And I want to create a table.
    this is my msn :[email protected]
    Waiting for your reply on line
    谢谢你的回复,我的附件中有程序图,能不能帮我改一下,我只是希望,把我的数组中的数能够持续的更新在数据库中。并且创建一个我想要的表。

  • Ipad2 shut off after down the battery but when connect the charger my ipad2 is not storing the power in the battery and i also not finding the error code ???

    ipad2 shut off after down the battery but when i connect the charger with my ipad2,  its not storing the power in the battery and i also not finding the error code ???

    If you drained the battery, it may take a bit for it to come back. I'd plug it in and leave it for a few hours and see if it's charging.
    If not, you can try to do a reset. Hold down the sleep and home keys for about 20 seconds. When you see the white apple, let go and let it reset and see if it charges.
    It's also possible that your battery has reached the end of its life. THey can only handle a finite amount of recharge cycles. If you can't get it to hold a charge, then make an appointment at your local apple store and explore your other options.

  • How to find the error message populating for infotype 2001 iN pa30

    Hi ,
    I got a requirement that one of our end user a a error message is populating when he tries to enter the data in 2001 absences infotype.
    I check the documents ...it is written as a there is long back they modified the original T-code of 2001(report or userexit not sure) to allow only HR Department people , no one can enter the details apart from HR ,no-one else should be able to do that!!
    Now i need to find where the error message is getting .............i dont know what is the best approach,
    i debugged it(before savgin) but its too long to find......I put the break points for the user-exits available for the infotype(Total i found 16 Package PTIM) ......no user-exit is triggerring..i searching from morning....
    The main problem is  it is working fine for me.I am not getting error message...so unable to catch
    Please help me how to search...or need to search with 'AUTH ' field? if so in how many programs?
    or need to search using the 'MESSAGE' i just have the screen shot of the message..with the content how could i found that ??
    waiting for your valuable inputs....
    regards
    sas

    Hi Gautam,
    Thanks for reverting back, but my problem is i am not getting error message!!
    enduser is getting that!!
    Rgars
    sas

  • Where to find the error code in your language.

    For the DBA whose native language is not English, sometimes read the error code in your language can be helpful.
    I give you to know this website where you can find the oracle error codes in 15 languages: Spanish, French, German, Portuguese, Swedish, Norwegian, Danish, Turkish, Italian...
    Some examples:
    http://ora-01722.ora-code.net/ - ora-01722: invalid number
    http://ora-00936.ora-code.net/ - ora-00936: missing expression
    http://ora-12154.ora-code.net/ - ora-12154: TNS:could not resolve the connect identifier specified
    http://ora-12704.ora-code.net/ - ora-12704: character set mismatch
    http://ora-29532.ora-code.net/ - ora-29532: Java call terminated by uncaught Java exception: %s
    http://ora-00955.ora-code.net/ - ora-00955: name is already used by an existing object
    http://ora-00372.ora-code.net/ - ora-00372: file %s cannot be modified at this time
    http://ora-00600.ora-code.net/ - ora-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
    http://ora-04063.ora-code.net/ - ora-04063: %s has errors

    It wasn't a question.

  • How find the errors (sdo_geom.validate TRUE) in objects

    Hi, I've many layers of polygons with topologycal errors (loaded from Mapinfo 7.5 , the function sdo_geom.validate_geometry_with_context give error 13349, probably there are some ring, edge etc...
    But there is a metod, program, utility to find where the errors are to correct them?

    Fabio,
    Error 13349 indicates that the polygons intersect with themselves.
    You need to fix these errors. There are tools in MapInfo Professional 7.5 to check and automatically fix them. There are other tools commercially available which also fix geometry errors.
    If you know MapInfo I would fix these errors there.
    Ivan

  • VPD / ora-28112 during sql execution / where to find the error

    I got a ora-28112 after i activated a simple policy on a synonym. I would like to understand what the error is to correct it but i don't know where to search for a trace. I didn't find anything in alert log or in other trace files on the server. Does somebody know where the error logged ? Thanks a lot.

    not every error will generate a trace, but you can set tracing to catch every error.
    Try alter system set events '28112 trace name errorstack level 3'

Maybe you are looking for