Why does appimp fail with "id already exists?"

After upgrading to a recent release of Portal on 8i, we have to use the appexp utility to export Portal objects. We exported an entire application and then dropped it. When we try to run appimp to put it back we get errors that objects will fail because "ID already exists". We found note 168309.1 on Metalink but it didn't give us a fix. Has anybody else encountered this and maybe found a solution?
Thanks in advance
Ron

This may be happenning due to some residual data in the wwv_modules$ table pertaining to the application you want to export. Delete the residual data and the try re-importing.

Similar Messages

  • Why Does AppleScript Fail With Google Earth?

    This simple script:
         tell application "Google Earth"
                GetCurrentVersion
         end tell
    fails with the following error:
         error "Google Earth got an error: Can’t continue GetCurrentVersion." number -1708
    and with the following Console message:
         3/2/13 5:24:42.505 PM Google Earth[53575]: +[NSDictionary scriptingRecordWithDescriptor:]: unrecognized selector sent to class 0xacdb248c
    Anyone know why?
    The GE AppleScript dictionary has the following entry:
    GetCurrentVersion v : Get the current version of the Google Earth client
          GetCurrentVersion record : record of major, minor and build numbers
    → list of integer : version fields
    AppleScript and Google Earth work fine for other users on this machine. It only fails on my account.
    I have tried deleting all vestiges of GE from the machine and reinstalling, but this hasn't worked.
    Any other ideas?

    tell application "System Events" to get has scripting terminology of application process "Google Earth"
    Result=true
    AFAIK, AS works with all other applications. It only fails with GE and only on my account.
    softwater, I apologize if my original post was not specific enough.
    I thought that the title "Why Does AppleScript Fail With Google Earth?" made it clear that the AS failure was with GE. I guess not.
    Message was edited by: Buadhai

  • Why the system create HU that already exists  in table VEKP when I use BAPI_HU_CREATE?

    Hi All,
    When I use the BAPI_HU_CREATE  to create HU, the system give me a HU and it inserts a line in Table VEKP, however when I search in table VEKP  with field HU EXIDV, I find  two entries with the same HU, one of them has VPOBJ 01 and the other has VPOBJ 12, So when I execute  transaction LM46  the system shows “The system could not find transfer order for execution” because the system search in table VEKP it find the first line with VPOBJKEY = delivery  and STATUS = 0020, however those delivery is not assigned to transfer order that I want to confirm transfer order.
    Why the system create HU that already exists  in table VEKP when I use BAPI_HU_CREATE?
    Thank you!
    Best regards

    Do you want to say that you got 2 HU from BAPI_HU_CREATE?
    I think you only got the one which has VPOBJ = 12 Non-Assigned Handling Unit
    which is exact what the BAPI is used for, see the docu in SE37. Didn't you yourself add this EXIDV in the IDoc?
    VPOBJ = 01 Outbound Delivery
    If you want to pack the Outbound delivery then you should use BAPI_HU_PACK.

  • Compression fails with Characteristic attribute exists twice

    Guys,
    I ran a compression on cube 0PP_C03 that failed with "Characteristic
    attribute exists twice"
    I see that "Note 859320 - Multiple reference points in InfoCubes with non-cumulative v" tells me to run that program to clear up any dups in the E Fact table.
    I currently have 4,060,118 rows in the E Fact table.
    I ran rsrv program "Multiple Entries in Dimensions of a (Basis) InfoCube" and there are NO dups in the F Fact table.
    Running "Note 859320 - Multiple reference points in InfoCubes with non-cumulative v" indicates that I have 42,627 dups. The note talks about running RSCDS_MERGE_DUPL_REF_POINTS and I ran it using no reference points in simulation mode. Maybe I need to specify some selection conditions?
    I'd like to make sure I am executing the correct procedure prior to running this pgm live. Additionally, all of a sudden I have this same condition on cubes 0PM_C03, 0SD_C03, and ZSM_C001 as well. This is the first time I have seen this ocurrence.
    Has anyone any experienve running this or having this compression error condition?
    Mike

    As I remember I got the error message:
    Characteristic attribute exists twice with DBMAN 231
    So I ran se38 pgm:
    RSCDS_MERGE_DUPL_REF_POINTS, putting in the cube like 0PM_C03 and pkg size 100
    and it fixed the problem.
    Hope that helps. I just saw this and we don't have BW anymore. We have moved to HANA and shutdown BW.
    Mike

  • HELP - hi with apple Configurator why does it show with a yellow triangle on the right side of the screen what am i doing wrong for the ipads not syncing or whatever and how do i fix that?

    HELP -- hi with apple Configurator why does it show with a yellow triangle on the right side of the screen what am i doing wrong for the ipads not syncing or whatever and how do i fix that? although i have looked online to try and figure it out and here is the website i found is this the stuff i need to do to fix this? is this site what i need to do to fix this? http://edtechstandish.wordpress.com/what-ive-learned-about-apple-configurator-so -far/  Thanks

    Sorry but I don't know anything about this.  But you might have better luck posting this question over ing the iPad in Business and Education forum here: https://discussions.apple.com/community/ipad/ipad_in_business_and_education?view =discussions.

  • Why does my 4s with ios7 wifi keep disconnecting/reconnecting?

    why does my 4s with ios7 wifi keep disconnecting/reconnecting?

    Same problem here. It just keeps connecting/disconnecting indefinitely. This does not started immediately after IO7 upgrade and it does not happen all the time. Sometimes it does it, sometimes not. Very frustrating. So far no solution found.

  • Why does my iMac (with Mountain Lion) no longer recognize my external hard drive I have used as a back up via Time Machine after the hard drive was accidentally unplugged?

    Why does my iMac (with Mountain Lion) no longer recognize my external hard drive I have used as a back up via Time Machine after the hard drive was accidentally unplugged?

    Do you mean the external hard drive is not mounted on the iMac desktop?
    Check if Disk Utility sees the drive. Applications / Utilities / Disk Utility. If the external shows up in the left column, select it and click on Mount.
    If it does show up this way, I recommend using DU to Repair Disk.

  • Why does mac mini with snow leopard download skype for windows instead of mac

    why does mac mini with snow leopard download skype for windows instead of mac ?

    Are you using this link?
    http://www.skype.com/en/download-skype/skype-for-mac/

  • Start VM failed: Domain CCCCCCCC already exists with ID NNN

    Hi,
    I try to start an Oracle VM (currently stopped), the job related to the start action fails and the VM is not started.
    The job log is:
    Message:  OVMAPI_6000E Internal Error: OVMAPI_5001E Job: 1427440127270/Start Vm: ora-aa-u004/Start Vm: ora-aa-u004, failed. Job Failure Event: 1427440128820/Server Async Command Failed/OVMEVT_00C014D_001 Async command failed on server: ovms-aa-us001.mgmt.mydom.com. Object: ora-aa-u004, PID: 32049, Server error: Command: ['xm', 'create', '/OVS/Repositories/0004fb0000030000b3397000b8916714/VirtualMachines/0004fb0000060000b17c866636533d63/vm.cfg'] failed (1): stderr: Error: Domain '0004fb0000060000b17c866636533d63' already exists with ID '199' stdout: Using config file "/OVS/Repositories/0004fb0000030000b3397000b8916714/VirtualMachines/0004fb0000060000b17c866636533d63/vm.cfg". , on server: ovms-aa-us001.mgmt.mydom.com, associated with object: 0004fb0000060000b17c866636533d63 [Fri Mar 27 08:08:48 CET 2015] [Fri Mar 27 08:08:59 CET 2015]
    Previously I tried to migrate it to another Server of the same pool, the migration Job was successful, the VM resulted running, but actually it was cycling rebooting itself every minutes, after a few steps of the booting process. So I killed it (stopped it) and migrate it back (while in a stopping state) to the original server. When I start it on the original Server, I get the error above.
    Please note that "xm list" on the Server doesn't show that this VM 0004fb0000060000b17c866636533d63 is running, nor that any VM with ID 199 is running.
    Any suggestion? Thanks
    Oscar

    I don't think that advsiing to change the UUID inside the vm.cfg file is too beneficial. It might solve the immediate problem, but it won't make the "ghost" dom go away, which will need a OVMS boot to get rid off.
    Further more it seems like Oracle has fixed this issue and will likely roll the patch out in an upcoming update to xen. Users who have OVM under CSI can request a patch mentioning this BUG: 20687187
    I just received that patch and I will try that out tonight.
    Cheers,
    budy

  • List data validation failed when creating a new list item but does not fail when editing an existing item

    Dear SharePoint Experts,
    Please help.
    Why does my simple formula work in Excel but not-work in SharePoint?
    Why does this formula...
    =IF([Request Type]="Review",(IF(ISBLANK([Request Date]),FALSE,TRUE)),TRUE)
    ...work in Excel but fail when I try to use it in SharePoint?
    The intent of this formula is the following...
    If the field "Request Type" has the value "Review" and the field "Request Data" is blank then show FALSE, otherwise show TRUE.
    SharePoint saves the formula, but when a list item is saved where the formula is implemented, (under List Settings, List Validation), SharePoint does not, say anything other than that the formula failed.
    Note that the "list data validation failed" error only happens when I am creating a new item-- the formula above works just fine when one is trying to Save on the edit form. 
    Can you help?
    Thanks.
    -- Mark Kamoski

    Dear Jason,
    I appreciate your efforts.
    However, it seems to me that this statement of yours is not correct...
    "If it meet the validation formula, then you can new or edit the item, otherwise, it will throw the 'list data validation failed' error, it is by design".
    I believe this is NOT the answer for the following reasons.
    When I create a new item and click Save, the validation error is "list data validation failed".
    When I edit an existing item and click Save, the validation error is "my custom error message" and this is, I believe, the way it needs to work each time.
    I think, at the core, the error my formula does not handle some condition of null or blank or other default value.
    I tried a forumla that casts the date back to a string, and then checked the string for a default value, but that did not work.
    I tried looking up the Correlation ID in the ULS when "list data validation failed" occurs, but that gave no useful information because, even though logging was set to Verbose, the stack trace in the error log was truncated and did not given any
    good details.
    However, it seems to me that SharePoint 2013 is not well-suited for complex validation rules, because...
    SharePoint 2013 list-level validation (NOT column-level validation) allows only 1 input for all the multi-field validation formulas in a given list-- so, if I had more than 1 multi-field validation rule to implement on a given list, it would need to be packed
    into that single-line-of-code forumla style, like Excel does. That is not practice to write, debug, or maintain.
    SharePoint 2013 list-level validation only allows 1 block of text for all such multi-field validation rules. So that will not work because I would have something like "Validation failed for one or more of the following reasons-- withdrawal cannot exceed
    available balance, date-of-birth cannot be after date-of-death,... etc". That will not work for me.
    The real and awesome solution would simply be enhancing SP 2013 so that column-level validation forumlas are able to reference other columns.
    But, for now, my workaround solution is to use JavaScript and jQuery, hook the onclick handler on the Save button, and that works good. The only problem, is that the jQuery validation rules run before any of the column-level rules created  with OOTB
    SP 2013. So, in some cases, there is an extra click for the enduser.
    Thanks,
    Mark Kamoski
    -- Mark Kamoski

  • Create table with name already existed

    Hello,
    I am trying to create a table which has the same table name that already exists in a different schema. The table already exist in another user's schema but why can't I create the same table in my own schema with the same name? Thank you.

    Check this out.
    SQL> create user testuser1 identified by testuser1 default tablespace user01;
    User created.
    SQL> create user testuser2 identified by testuser2 default tablespace user01;
    User created.
    SQL> grant create session, create table, create public synonym,
      2  unlimited tablespace to testuser1;
    Grant succeeded.
    SQL>  grant create session, create table, create public synonym,
      2   unlimited tablespace to testuser2;
    Grant succeeded.
    SQL> connect testuser1/testuser1
    Connected.
    SQL> create table mytable(col1 number);
    Table created.
    SQL> create public synonym mytable for testuser1.mytable;
    Synonym created.
    SQL> grant select on mytable to public;
    Grant succeeded.
    SQL> connect testuser2/testuser2
    Connected.
    SQL> create table mytable(col1 number);
    Table created.
    SQL> drop table mytable;
    Table dropped.
    SQL> desc mytable
    Name                                      Null?    Type
    COL1                                               NUMBER
    SQL> desc testuser1.mytable
    Name                                      Null?    Type
    COL1                                               NUMBER
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.3.0 - Production

  • Create a Playlist from external folder with tracks already existing in iTunes

    I was just wondering if its possible to create a playlist from an external folder (on my desktop) with tracks that already exist in iTunes.
    I basically have a folder on my desktop that i use with Serato, i was wondering if it'd be possible to sort a playlist in iTunes with the tracklist from the folder? I already have all the tracks on iTunes so i don't want to add them onto iTunes again just to put them into a playlist as i'd have to sort through all the duplicates to delete the non playlisted tracks (theres around 1500 so it wouldn't be a quick task).
    Would be much appreciated if anybody can help!

    Hi,
    I have an AppleScript that does this.
    This script need Spotlight metadata, all files in the folder that you use with Serato should be indexed.
    Works well if the tags (name and artist) are defined
    In this script :
    it will display a dialog to select your folder
    iTunes search track from the library playlist according to (artist, album and title in the Spotlight metadata of each file).
    If iTunes found a track, iTunes will add this track to the new playlist.
    The script takes 35 seconds for 1000 files on an old machine (PowerMac G5 2 X 1.8 GHz) .
    This should take less than 100 seconds for 3500 files on the new machine
    Here is the script :
    -- this script need Spotlight metadata, files in the folder should be indexed
    set folderPath to (choose folder with prompt "Select the  folder that you use with Serato")
    set f to quoted form of POSIX path of folderPath
    my makePlaylist(do shell script "/usr/bin/find " & f & " -type f \\! -name '.*' -print0 | /usr/bin/xargs -0 /usr/bin/mdls -name kMDItemTitle -name kMDItemAlbum -name kMDItemAuthors | /usr/bin/sed 'H;$!d;x;s/\\n[^k]//g'")
    on makePlaylist(t)
          script o
                property L : paragraphs of t
          end script
          set tc to (count o's L)
          tell application "iTunes"
                set newPlaylist to make new playlist with properties {name:"Serato"}
                set masterLibr to (get first playlist whose special kind is Music)
          end tell
          repeat with i from 2 to tc by 3
                set {tAlbum, tArtist, tTitle} to my getvalue(items i thru (i + 2) of o's L)
                tell application "iTunes" to try
                      set t to (get first track of masterLibr whose name is tTitle and artist is tArtist and album is tAlbum)
                      duplicate t to newPlaylist -- add founded track from the library playlist to the  new playlist
                end try
          end repeat
    end makePlaylist
    on getvalue(tList)
          set oTID to text item delimiters
          set text item delimiters to "\""
          set {alb, aut, title} to {"", "", ""}
          try
                repeat with i in tList -- if line does not contains a double quote then the tag is  empty -->  = (null)
                      if i starts with "kMDItemAlbum" then
                            tell i to if it contains "\"" then set alb to text item 2
                      else if i starts with "kMDItemAuthors" then
                            set text item delimiters to "(   "
                            -- if artist contains one word, it doesn't contains double quote
                            tell i to if it does not contain "(null)" then
                                  if last text item starts with "\"" then
                                        set aut to text 2 thru -2 of (last text item)
                                  else
                                        set aut to (last text item)
                                  end if
                            end if
                            set text item delimiters to "\""
                      else --kMDItemTitle
                            tell i to if it contains "\"" then set title to text item 2
                      end if
                end repeat
          end try
          set text item delimiters to oTID
          return {alb, aut, title}
    end getvalue

  • Comparing function values. Why does it fail ?

    Does anybody know why the comparison fails of two variables pointing to the very same function ?
    I'm keeping a list of function references in a sequence. At some point specific references have to be removed from the sequence. This is done by passing the function reference to a function doing this job. This won't work however as each usage of "observer.update" yields me a different reference.
    Comparing with '==' and 'FX.isSameObject' fails. Is there another way to check if these two objects are in fact equal ?
    TIA !!!
    Jan
    class Observer {
        public function update() :Void {
            println("updated");
    def observer = Observer{};
    def fVal     = observer.update;
    def fValToo  = observer.update;
    println("Comparing {fVal} and {fValToo}");
    // shouldn't at least one of the two checks succeed ???
    println("Are these the same functions ? {fVal == fValToo}");
    println("Maybe with the isSameObject  ? {FX.isSameObject(fVal, fValToo)}");

    Well... I didn't know Void was assignable. Thank you for that ! :-)
    Alas, there's a misunderstanding here : I'm comparing the references to the functions; not to their return values.
    It's not a typo when I write
    def fVal = observer.update;{code}
    Instead of
    {code:java}
    def fVal = observer.update();{code}
    The former is a reference to the +update+ function while the former is a reference to the return value of the +update+ function. The former will allow me to invoke the +update+ function by
    {code:java}
    // keep a reference to the update function
    def fVal = observer.update;
    // execute the update function
    fVal();{code}
    The question is really how to determine that two references to +a function+ are the same. Apparently every usage of +observer.update+ gives you a different object. Of which the +equals+ function unfortunately doesn't seem to work. Or maybe this by design ?

  • "execute aggregation process" fails if views already exist?

    After loading data with the following command...
    import database $5.$6 data
    from load_buffer with buffer_id 1
    add values create slice;
    I am attempting to generate aggregated views using the following command...
    execute aggregate process
    on database $app_name.$db_name
    stopping when total_size exceeds 1.5
    enable alternate_rollups;
    This command fails if I already have a set of views on the database. I was hoping that this command would be able to add to the existing set of aggregated views realizing that there were no views set up for the new slice that was just generated.
    Is there a way (with MAXL) to build aggregated views on a database that only creates views for a new slice without going through the process of defining my own views?
    Thanks...
    Bill

    The views are automatically updated when you create the new slice, no further processing is required.
    From the DBAG:
    You can incrementally commit the data load buffer to an aggregate storage database to create a slice. After loading the new slice into the database, Essbase creates all necessary views on the slice (such as aggregate views) before the new data is visible to queries.

  • Generics / Erasure, or why does it fail?

    Note that the post below is a cross-post. Main thread is in the generics forum
    Main thread: http://forum.java.sun.com/thread.jspa?threadID=769830
    Hi all,
    I've been reading the generics tutorial, http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf, and the chapter on generics in The Java Programming Language, Fourth Edition, and still I can't find anything which explains why the commented line, case 1, in this code fails to compile.
    Why doesn't it compile? Does it have anything to do with erasure? Why doesn't the compiler know that E is a subclass of Shape? I've been reading a bit about erasure and thought that E would be replaced with Shape during compilation. The output from javap does also indicate this.
    The complete java code:
    import java.awt.Rectangle;
    import java.awt.Shape;
    import java.util.ArrayList;
    public class Aggregator<E extends Shape> {
         private ArrayList<E> elements;
         public Aggregator() {
              this.elements = new ArrayList<E>();
         public void add(E e) {
              elements.add(e);
         public String toString() {
              return elements.toString();
         public void populateWithTestData() {
              //add(new Rectangle());          // ## case 1     
              add((E)new Rectangle());     // ## case 2     
         public static void main(String[] args) {
              Aggregator<Rectangle> aggregator = new Aggregator<Rectangle>();
              aggregator.add(new Rectangle());     // ## case 3 this works fine
    }Case 1 does not compile and gives:
    The method add(E) in the type Aggregator<E> is not applicable for
    the arguments (Rectangle)     
    Case 2 compiles with a warning, and gives:
    Type safety: The cast from Rectangle to E is actually checking
    against the erased type Shape
    Why does case 3 compile if case 1 doesn't?
    Output from javap (Removed output for constructor and toString to reduce the post):
    javap -c -classpath . -private -s Aggregator
    Compiled from "Aggregator.java"
    public class Aggregator extends java.lang.Object{
    private java.util.ArrayList elements;
      Signature: Ljava/util/ArrayList;
    public void add(java.awt.Shape);
      Signature: (Ljava/awt/Shape;)V
      Code:
       0:   aload_0
       1:   getfield        #17; //Field elements:Ljava/util/ArrayList;
       4:   aload_1
       5:   invokevirtual   #28; //Method java/util/ArrayList.add:(Ljava/lang/Object;)Z
       8:   pop
       9:   return
    public void populateWithTestData();
      Signature: ()V
      Code:
       0:   aload_0
       1:   new     #39; //class java/awt/Rectangle
       4:   dup
       5:   invokespecial   #41; //Method java/awt/Rectangle."<init>":()V
       8:   invokevirtual   #42; //Method add:(Ljava/awt/Shape;)V
       11:  return
    public static void main(java.lang.String[]);
      Signature: ([Ljava/lang/String;)V
      Code:
       0:   new     #1; //class Aggregator
       3:   dup
       4:   invokespecial   #46; //Method "<init>":()V
       7:   astore_1
       8:   aload_1
       9:   new     #39; //class java/awt/Rectangle
       12:  dup
       13:  invokespecial   #41; //Method java/awt/Rectangle."<init>":()V
       16:  invokevirtual   #42; //Method add:(Ljava/awt/Shape;)V
       19:  return
    }Does anyone know where I should look to find information on why case 1 doesn't compile? Can anyone explain the problem?
    Thanks
    Kaj

    I see only one difference: on case 3, the type is
    defined as Rectangle. Ok, I declaration to:
    Aggregator<Shape> aggregator = new Aggregator<Shape>();
    And that gives the same result.
    On case 1, there's no type
    definition yet: I can understand that, but doesn't this:
    <E extends Shape>
    Tell the compiler that E is undefined but it has to be something which at least is of type Shape?
    the argument has to be of type <E>,Why? When it's declared as <E extends Shape>?
    which could be anything - but you supply a Rectangle.
    Make that E a String, and the argument doesn't
    match.
    With the cast in case 2, you define the argument type
    to be E (<-- is that the "erasure"?) and thus it
    works again. No verifyable type safety in case 1.
    But who am I to talk about Generics, I have no idea.Your guesses are as good as mine. I haven't used generics that much.

Maybe you are looking for