DEFECT: Locks up on save of object being used elsewhere

When I try to save an object (such as a package body), Oracle (quite rightly) will not let me replace the object's code if some other process is using that object.
However, SQL Developer handles this situation in a very, very unpleasant manner.
Basically, the entire product locks up and waits until the object is no longer being used.
That means that all other worksheets that I was working in on are now completely inaccessible until that object is available.
If that object is being used by a long-running process, I could be locked out of my worksheets for a very long time.
That is unacceptable!
The product should protect the developer from this situation.
There is no reason why the ENTIRE product has to lock up while this task is taking place, at most just the worksheet in question should be locked up while waiting.
Not all worksheets using the same connection, just the worksheet in question.
Even better would be a warning to the developer that this has happened and an option for them to stop trying to save the object at this time.
The entire connection infrastructure needs to be re-thought and re-designed with the convenience of the user of the product in primary focus.

I would try a Safe Boot  OS X: What is Safe Boot, Safe Mode? - Apple Support be paitient it takes longer. When its booted up you can just restart normally.
Forcing shutdowns can cause disk corruption. Even though EtreCheck doesn't report any disk errors I would run Disk Utility from your recovery partition (Command-R restart) and repair the startup disk and repair permissions.
I also recommend removing the BlackBerry software, it's been known to cause problems.

Similar Messages

  • Can't add address to iMessage -" being used elsewhere?"

    I am trying to add am email address to iMessage but it notes it is being used elsewhere-how do I resolve this while maintains the choice of multiple email addresses on multiple devices?

    Not sure.
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Troubleshooting Messages http://support.apple.com/kb/TS2755
     Cheers, Tom

  • I am unable to sign in to icloud, verification code not sent to my email and message saying my account is being used elsewhere

    Please help. thank you all

    You have to sign out in System Preferences>iCloud and then sign back in with the new ID.

  • Looking up values from Map/HashMap  when Objects are used as keys

    I'm trying to understand why Map/HashMap don't test for equals() when looking up a key ( which is an Object that overrides equals() and hashCode()) in the Map.
    I've written this code, based on some code from the SCJP book, but it is not exactly the same, this code talks about a different issue not addressed in the book.
    I've added my questions inside the comments below, I think that is the best way I can ask it.
    import java.util.*;
    class Bird{
         public String name;
         public Bird(String name){
              this.name = name;
         //Override equals()
         public boolean equals(Object o){
              if(((Bird)o).name.equals(this.name)){
                   return true;
              }else{
                   return false;
            //Override hashCode
         public int hashCode(){
              return name.length();
    class TestMapLookup{
         static public void main(String[] args){
              Map<Object, Object> hashMap = new HashMap<Object, Object>();
              Bird b = new Bird("crow");
              hashMap.put(b, "somevalue");
              //according to the book, the map object calls the key's (Bird object's)
              //hashCode() first and then equals()
              //to find this key in the map
              System.out.println(hashMap.get(b));
              //Using the b reference to lookup value
              //ouputs - somevalue
              System.out.println(hashMap.get(new Bird("crow")));
              //Using a new Bird object to lookup value
              //outputs - somevalue
              //because Bird overrides equals and hashCode
              //otherwise we'd get null
              //Now change the name of the bird in the b reference
              b.name = "sparrow";
              //Notice that the crow's hashCode is 4
              //sparrow's hashCode is 7 , in the above implementation of hashCode
              System.out.println(hashMap.get(b));
              //Again using b reference to lookup value
              //ouputs - null
              //because the hashCode of b.name does not match
              //the hashCode of any of the keys stored in the map
              System.out.println(hashMap.get(new Bird("crow")));
              //This also outputs null
              //for the same reason that there's no key in the map
              //with a hashcode of 7
              //This is where it becomes strange......................
              //Change the name of the bird in the b reference
              //so that the new name has the same hashCode, as the key in the map
              b.name = "dove";
              System.out.println(hashMap.get(b));
              //In the above - the hashCode matches
              //but equals() fails
              //even though equals() fails, the key is still located and the value is output
              //output is "somevalue"
              //same here:
              b.name = "1234";
              System.out.println(hashMap.get(b));
              //output is "somevalue" instead of null
              b.name = "abcd";
              System.out.println(hashMap.get(b));
              //output is "somevalue" instead of null
              //why does it output "somevalue" instead of null , even though when the map
              //looks up the key , equals() returns false?     
              System.out.println(hashMap.get(new Bird("crow")));
              //In this case ( new Bird reference ) it prints null
    }I'm aware of best practices in coding and coding conventions but haven't used them here, because this is in preparation for SCJP - which tests on a lot of different things.
    I appreciate any info.

    It is correct that b is referring to the same object that the map's key is pointing to, but why does the following
    print null , instead of "somevalue"?
    at these lines in the code above.
    b.name = "sparrow";
    System.out.println(hashMap.get(b));Because the hashCode used when you stored b was 4, and now it's 7. You should read the Wikipedia article on Hashtable, but a simplistic explanation is that a HashMap has a bunch of "buckets," say 10, each indexed with a number 0-9. To decide which bucket to put a new key-value pair in, you take the hashcode (say 2112) and take the remainder of hashcode/number of buckets (in this case, 2112%10=2). So when you store the key-value, it gets "put" in this bucket.
    When you change the hashcode of b by changing its name attribute, it doesn't change the fact that the pair is in that bucket. But, it now looks in the wrong bucket and so can't find the pair.
    A hashtable gets its good efficiency by not having to look through all values to find the pair. It can jump directly to the correct bucket, which takes constant time instead of being dependent on the number of items in the collection.
    endasil wrote:
    You should never, ever change an object being used as a key in a map.I guess this is a best practice, I just wanted to try changing the key object to test a few things for SCJP, which does not test on coding best practices but tests on how the code behaves.Yep, and what you should take away is that this is WHY it's bad to change the key :).

  • Locking fields on save

    Hi there,
    I need to create a simple interactive form for my company. The form contains a few free-text fields and drop-down boxes. The only logic involved will be A) some fields being visible or invisible based on previous selections and B) once the form has been filled out, a button can be clicked to "lock down" and save the completed form.
    By lock-down I mean that each field will become read-only and non-editable (essentially want it to be a static PDF at that point) for distribution.
    My questions is how I can set the various object's value type attribute via javascipt? (the attribute I mean is the one that can have values of "User Entered - Optional", "Read Only" etc).
    I'm assuming this would be the standard way to do this, but to be honest I've only started using Lifecycle today so if there is an easier way to do this please let me know!
    FYI I'm using Lifecycle Designer 8
    Thanks in advance for any assistance.

    You set the access property to "readOnly". For example, in JavaScript for a field called 'firstName', form1.page1.firstName.access = "readOnly";
    Steve

  • Why is my Apple ID being locked out every time I go to use it?  I haven't even attempted to log in for about 4 or 5 days, but today on my first attempt to do so, it said my account had been locked for security reasons.  This is the third time.

    I only sign in to iTunes' store about once a week or so.  But during each of my last 3 attempts (on different days, several days apart) on my first attempt to enter my password and hit submit, I am immediately told that my Apple account has been locked for security reasons and it wants to take me to a page to reset my 'forgotten' password.  I am using the CORRECT password.
    Perhaps someone else is trying to break into my account or is mis-entering theirs but my account should not be getting locked like this.  It is very frustrating to have to go through the reset password procedure each and every time I want to go into the store.  It seems to me that Apple really doesn't want me to buy any more apps from them as they keep refusing me entry into my own account, each and every time I have tried to use it, for the past few weeks.  I am not their best customer, but they aren't giving me much of a welcome invitation to become one, if I'm going to be treated like this.
    I just bought my iPhone 4 less than 2 months ago.  I paid extra money to upgrade early, just to get this phone because it was so highly recommended by everyone I spoke with in different stores (BestBuy and Verizon).  I even bought the 2 year upgrade to my Apple services in case I needed to ever call them, and so far I haven't had to, yet.  But I definitely will call them if this isn't straightened out.
    It looks like this other user could be tracked and an email could be sent to them from Apple to let them know what they are doing - trying to sign into the wrong account, and are locking somebody else out of their own account because of their error....and to remind them of their correct information or how to get it and to write it down or save it somewhere so they don't keep on doing this.
    I have seen literally DOZENS of other people in these discussions with exactly the same issue that I'm having so it is NOT an isolated incident, and it seems to be a growing problem as Apple's sales and user base continues to grow, so this problem is seriously needing to be addressed in some way, and soon, before they start losing new customers because of it.  If I was still within my original 14 day return period with this phone, I would definitely be returning it and buying an Android model because of how frustrating this is to me.  If my bank was doing this to me, I'd have already switched banks by now if they hadn't fixed it - just to give an example of how I feel about this.

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • Error while saving activity - it was not possible to save all objects

    Hi
    We are on ECC6 EHP4 and having just started to config EIC ERP, we have done some configuration and have referred to various SAP notes, the main note being 1052082 to set up case management.  We have managed to create an activity but on saving we get the following messages:
    Error whilce saving activity (message class HREIC_APPL - message number 246)
    Activity was saved
    It was not possible to save all objects successfully (message class CRM_BOL - message number 010)
    We are not sure how to correct this, we have searched and cannot find anything relating to these messages, I hope someone can be of assistance.
    many thanks
    Julie

    Hi Julie
    There are list of items that dont transport or need to be updated via manual configuration such as number ranges, surveys, email addresses and several others.
    Glad you figured out this one.
    Jarret

  • Save different Objects in one file by two different streams

    Hi all,
    I have a issue to read two Objects from one file if I write those in two different streams.
    I open the ObjectOutputStream and save an Object to the file. Then I close this stream and file. Then I open the new ObjectOutputStream and save the second Object in the same file. It works Ok. Then I open the ObjectInputStream and try to read those two objects and get java.io.StreamCorruptedException.
    This exception happes only when app tryes to read the second Object.
    this is the code example:
    //Write part
    for (int i=0;i<2;i++)
    File file = new File("test.swp");
    FileOutputStream fileOut = new FileOutputStream(file,true);
    ObjectOutputStream objOut = new ObjectOutputStream(fileOut);
    JobObject jobObj = new JobObject();
    jobObj.setID(i);
    objOut.writeObject(jobObj);
    objOut.flush();
    objOut.close();
    fileOut.close();
    //Read part
    FileInputStream fileOut = new FileInputStream("test.swp");
    ObjectInputStream objOut = new ObjectInputStream(fileOut);
    for (int i=0;i<2;i++)
    JobObject jobObj = (JobObject)objOut.readObject();
    objOut.close();
    fileOut.close();
    Thank for any help.

    Maybe try closing the ObjectInputStream (and re-creating it as needed) within your for loop?
    - Saish
    "My karma ran over your dogma." - Anon

  • Is there a way to prevent all objects being responsive in a responsive project? (Max W doesn't do anything?)

    Hi
    I'm making a responsive Edge animate scene,  which has a Vimeo video embedded inside, and will have images animated in front of and behind the video player for added wow actors. So far so good...
    The problem is I would like the player to remain at a fixed scale (500 x 281) ... 
    Once that's working I'd like to also control over a few images in the scene as to whether they're responsive or not.
    I've tried setting a Min and Max width to my container in which the Vimeo Embed code is being run but they don't stop the rectangle scaling at all.
    Here's my example test project:
    Dropbox - Edge02.zip
    I'm adding the final code to Wordpress using the Wordpress plugin called 'Edge Suite' (Developer version)  which is mentioned in an Adobe tutorial.
    Also for reference.
    Here's a site who have achieved exactly what I looking to do... Notice how the boatson the foreground layer are on a fixed scale and position. The embedded vimeo video a fixed scale but always centered. The mountains fully responsive position.
    Any ideas on how they've implemented this are welcome...but obviously understand if that is beyond the scope of the Adobe forum.

    Ok I see we can't post weblink... handy...
    The website I referred to that has achieved this is Kasra Design.
    You don't need to look at it to help, just point in the right direction to stop an individual object being responsive.

  • Bought a Mac Mini.  at 18 day's old it started to lock up and not function.  Took it in and they wiped and reinstalled it.  Well at 24 day's old it's been sitting in the box not being used.  First and last Mac for me. But can I get something for the junk?

    I have pulled it out of the box and put 2 Mac approved mem sticks in it to boost it to 8 Gigs mem and it still locks up and freazes..  So many people told me Mac was the way to go...  1500 dollers could have bought me a great pc laptop.  Now I have a wirless mouse keyboard and a mac mini (aka Brick) that allowed me to donate money to a cause that is helping buildings and companies out side of the US.  While I have junk..  It's still under warranty and I reinstalled the os after the new mem sticks.  Again.. locks up and does nothing.  What can I do with this?  Toss it in the trash?  Any info on what I might do with it.. Please help!

    It would be most helpful if you updated your system information:
    Please reconcile the following
    at 18 day's old it started to lock up and not function. Took it in and they wiped and reinstalled it. Well at 24 day's old it's been sitting in the box not being used.
    ... I reinstalled the os after the new mem sticks.
    If your Mini is anything less than six months old it would be running Lion, not 10.6.1, nor would it have been necessary to "reinstall the OS". Any help that anyone can provide is predicated on your system configuration so it's important.
    If you are running Lion then boot your Mini while holding the D key. This will load Apple Hardware Test which will enable you to test your memory. "Mac approved" memory is sort of vague, and even memory that is allegedly designed to meet your Mini's specification may fail. There few reputable memory vendors.
    "Apple installed" memory is more meaningful, and indicates Apple has tested it and guarantees its function. Otherwise all bets are off with a claim of "Mac approved". You will have to verify that yourself with Apple Hardware Test.
    If your Mini was running, or ever ran OS 10.6.1 for that matter, it is close to three years old.
    You must clear up these uncertainties before anyone can help.

  • How to save an "Object" in a selected file ?

    Hi,
    I would like to save an object with for example a PlanarImage object type in a selected file from JFileChooser
    Do you know how to do it ?
    I tried this but it didn't work :
    File fChoosen = chooser.getSelectedFile();
    ObjectOutputStream os = new ObjectOutputStream(new FileOutputStream(fChoosen));
    os.flush();
    os.writeObject(planImage); //write the planarImage
    os.close();
    Thanks a lot !

    Is "PlanarImage" one of your classes? If so, it has to implement the Serializable interface if you want to write it like that.

  • Firefox will randomly try to save pages without being prompted too

    I'll be browsing the web and left-click on a link then firefox will bring up the "save box" without being prompted too. It happens most often in Facebook, Escapist Magazine and Youtube, but will happen when I use Google.

    Most links are to web pages that Firefox handles itself. Some are to other kinds of files and if the server tells Firefox to handle it as a download, it will display the Open/Save or Save/Cancel dialog. If this happens with files that clearly are supposed to display in Firefox, then there could be an issue with your settings for that kind of page or file in: Tools > Options > Applications.
    I realize that's a very general answer, so if you can post a couple URLs to pages and indicate which links have the problem, people can take a look and make more specific suggestions.
    By the way, the Skype add-on can make changes to pages that cause them to behave differently, so you might try disabling it except when you need it.

  • Memory being used by which pl/sql objects

    Hello
    Does anyone know if it is possible to run a query to see which objects are using what memory in a given session? I'm getting:
    ORA-04030: out of process memory when trying to allocate 28 bytes
    (kxs-heap-w,kxsclb in kxscfreg)when I'm doing a bulk collect that results in, at most, 120k of data. So there's a package or something contained within the process I'm calling that is using up a considerable amount of memory - and I need to find out which one it is.
    Any ideas will be highly appreciated.
    Thanks
    David

    This is very strange.
    The problem is arising from a select from a view inside a procedure. If I select from that view in SQL*plus, it returns all the rows in a couple of minutes. If I execute the exact same select inside the procedure, it just hangs. Using:
    select  
         sid,
         name,
         value / 1024 /1024
    from  
         v$statname n,
         v$sesstat s
    where  
         n.STATISTIC# = s.STATISTIC#
    and  
         name like 'session%memory%'
    order by
         3 asc;For the two sessions, you can see that the memory usage for the one being called from the package is massive in comparisson:
    SQL> /
           SID NAME                           VALUE/1024/1024
           427 session uga memory                  .524459839
           427 session pga memory                  1.17162323
           427 session uga memory max              2.46628571
           427 session pga memory max              8.35912323
           419 session uga memory                   1941.7644
           419 session uga memory max               1941.7644
           419 session pga memory                  1944.23412
           419 session pga memory max              1944.23412
    8 rows selected.427 is the one run through SQL*Plus and 419 is the one running in the package.
    It doesn't seem to matter if I use a straight cursor loop or use bulk collect, the result is the same in the package.
    Any ideas? Is this a support job?
    David
    Also, I tried executing the select in an anonymous PL/SQL block, and it worked fine and allocated slightly more memory than the straight select.
    david_tyler

  • SAP System is not the original system of the object being edited

    Hi All,
    We recently built a new system which is Copy of another system.We decomission our old system.Now when ABAPer is trying to edit Z/Y programs in se38 they are getting message "SAP System is not the original system of the object being edited".We already completed all post process after system copy.Client is open and status in Golbal modifiable in se06.
    How we can resolve this situation.

    Hello Guys,
    Thks for your input.
    @Vinod,
    We rebuild new development system from the exsisting devlopment system and scrap old one.And yes thats true that new system is not the original system where object was created,its  a replica of old dev to nev dev with SID change.
    @Arjun,
    I already check TADIR table and and its pointing to new SID.
    @Ashok,
    As i said earlier,post intallation is already completed.
    Its a problem for developer who's getting some different format of screen when they editing development object ,like, when we perform manaul corretion in abap code through snote.They can see buttons to insert code line,delete line.
    Thx,Nilesh

  • Save binary object via API 2

    How do I save a file via the API 2?
    Any exsample will help me alot!
    I'm trying to save a object to the table Binary_Objects, but I get the error: "com.sap.mdm.internal.protocol.manual.ServerException: Server error (0xffaab000)"

    I assume you are trying to create a BinaryBlobRecord in the Binary_Object Table.
    Here is some code that works:
    BinaryBlobRecord record = RecordFactory.createEmptyBinaryObjectRecord(tableId);
    record.setBinary(new BinaryValue(bytes));
    record.setDataSize(new IntegerValue(size));
    record.setHasOriginal(new BooleanValue(true));
    record.setDataGroupId(node.getId()); // get the node using RetrieveGroupTreeCommand command.
    record.setSource(new LookupValue(new RecordId(1))); // see below
    record.setCode(name); // The code has to be unique, so you can add a random number to the name.
    record.setName(new StringValue(name))
    CreateRecordCommand createRecordCommand = new CreateRecordCommand(connection);
    createRecordCommand.setSession(authenticatedUserSession);
    createRecordCommand.setRecord(record);
    createRecordCommand.execute();
    If you don't set the source properly , you will get that error. For setSource method, you need to set a Location ID. With API 5.5 SP5, most likely there is no way to create a new location ID and we have to use one of the existing Location IDs. Just to make the code work, I used "new LookupValue(new RecordId(1)) ", which requires having at least one file uploaded to the table via MDM Data manager and use the first part of its location ID.
    For setDataGroupID, first create the group node in the MDM Data Manager and find the node in the GroupTree with API. To get the GroupTree, use RetrieveGroupTreeCommand.

Maybe you are looking for