Please this is an urgent question !!!

hi ,
I'm trying to serialize let's say a pig part of a gui application
but but when I make the target class serializable and try to save it to hard disk it just found a reference in the class that points to a non serialized Class and then I move to this class and make it serilizable
and it just blocks and throws Exception on another reference
the question is
is there any way to make the whole chain of objects serializable and save it to hard disk
I will appreciate any help
duke

They all need to implement Serializable.
If you have a reference to something and you want that something to serialize as part of the object graph then make it implement Serializable. If you don't want it to serialize then declare the reference transient. E.g.:
public class MyGuiComponent extends JPanel implements Serializable{
  private MyGuiComponent sibling; // will serialize as well
  private transient MyUnserializableComponent child; // will not serialize
// ...

Similar Messages

  • Please this is rather Urgent!!!

    A little problem accessing SQL+ the error I recieve is
    ora-12560: TNS:Protocol Adapter error.
    any help would be greatly appreciated.
    Thanks in advance. I heard I may have to do something to
    tnsname.org or something. I don't know.

    Hello,
    First Of all Find TNSNAMES.ORA file from \net80\ADMIN. It
    creates entries for various protocols. E.g
    Tcp-loopback.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = 127.0.0.1)
    (Port = 1521)
    (CONNECT_DATA = (SID = ORCL)
    Copy any entry block like as above.Modify it as follows.
    <specify connect string here > =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = 127.0.0.1) -- Oracle server IP add.
    (Port = 1521)
    (CONNECT_DATA = (SID = <Your database Name will go here>)
    you can call database by any name that name will be used while
    connecing to database,but SID must be your database Name.
    Hope it will help..
    Adi

  • Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

    Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

    Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

  • Please help me! I'm sure this is a stupid questions, but I can't figure out how to name a blank documents...

    Please help me! I'm sure this is a stupid questions, but I can't figure out how to name a blank document...thanks

    Lynn
    Had me stumped for a while too ...
    On the screen that presents all your "Blank" documents, simply touch the word "Blank" under the preview (not the actual preview) and you'll get a dialogue to name your document.
    Simon

  • HT201363 Help me please, to regain the security questions please, please, this my email

    Help me please, to regain the security questions please, please
    <Email Edited by Host>

    Hi psadnes!
    It seems like maybe you need to reset your security questions. This can be done by following the instructions in this article:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/ht5312
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • This is a common question, and i apologize, but I have yet to see an answer.  I'm in the UK.  I have bought an Airport Extreme.  I need to buy a moden (not a combined router/modem, presumably.)  I cannot find one in stores or on the web.  Please help.

    I need a modem to go with my new Airport Extreme.  I assume I cannot connect with my existing Router/Modem.  I can't find a product either in stores or on the net.  I know this is a common question, but I have yet to find a suitable answer.  Any advice for a fairly low tech guy?
    David

    I'm glad you're able to use your current router. Sorry I can't help with your new issue, but I just wanted to add for the benefit of anyone else reading this thread - the X-Modem M3 still seems to be available from the manufacturers, this is the site I originally got it from and it's still for sale there:
    http://www.adslnation.com/phpapps/catalog/index.php?cPath=29
    Thought I'd mention, as when I got my Airport I spent ages looking for a really small neat modem to use with it and this was the best I could find so other people might be interested too.

  • Urgent question:can you replace source video and automatically have AE swap clips in timeline?

    Hi there
    Have an urgent question. I have finished editing a project that has been edited from pre-exported videos, but the problem is that i have been notified last minute if it is possible to change parts of it!
    Is is possible to change and re-render the pre-exported clips at same length that are affected and then replace the 'source footage' in after effects to have it automatically swap the clips that I've edited and cut up already? As it would take a very messy and extremely long time to manually change all the trimmed parts!
    It is only a small section of the source clip I need to change, but the overall composition edits are fine so I don't really need to touch that, it's just really to replace the footage but have everything to stay the exact same.
    Please advise!
    Appreciate this if anyone can! fairly urgent
    Thanks

    Yes, just right-click on a source in the Project bin and choose Replace Footage.

  • Hi there!! this issue is urgent

    My question in english:
    Hi there!! this issue is urgent,
    I get an error on this page www.kinogonzalez.com in the comercials section.
    Doesn´t work When i want to make an scroll of the thumbnails with the wheel of the mouse.
    If you look in other browsers such as Firefox, explorer, this error does not happen, which may be wrong??
    Thank you so much.
    Mi duda en español:
    Que tal me urge mucho este tema, me da un error en esta página al querer hacer un scroll de los thumbnails con la ruedita del mouse.
    Si se fijan en otros navegadores, como firefox, explorer, este error no sucede, que podra ser?
    Muchisimas Gracias.
    Agustin
    <Edited by Moderator>

    Hello a:
    Some web developers do not write code to standards or, worse yet, write to IE specifications.
    Contact the web site technical people for further information.
    Barry

  • Kindly advice me, I have iphone 5s and I forgot the log-in password (passcode), I tried to open it but my phone give 60 min. to let me try after I fail for first one. I dont sync. with icloud or itunes. Please I NEED YOUR URGENT HELP!!

    Kindly advice me, I have iphone 5s and I forgot the log-in password (passcode), I tried to open it but my phone give 60 min. to let me try after I fail for the first one. I dont sync. with icloud or itunes. Please I NEED YOUR URGENT HELP!! MY IPHONE IS STILL STUCK.

    I can't, look at this image

  • Urgent Question about System Center Server Names and Dashes

    Hey guys I have a quick Urgent question that would be awesome if it happens to get answered quickly :). 
    So in the past we had problems with different server names in components of System Center when setting up different servers.... I never myself saw the errors or what it did, but an absentee colleague did. For example is anything wrong with a name setup like
    xx-scom-01 / xx-scom-02  as compared to the standard scom01 scom02? We have a certain naming convention we are moving to and I wanted to see if this was fixed. I wanted to say it had something to do with the hyphens... anyways any foresight anyone can
    provide would be awesome. Thanks!

    Dashes in the name will work fine.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • This is not a forum question. This is a direct question to Adobe!

    This is not a forum question. This is a direct question to Adobe!

    If you have a direct question to Adobe then please contact our support team.  You can find the appropriate option available for your region by going to http://www.adobe.com/ and selecting Help and Contact Us.
    Alternately what country/region are you in and I would be happy to look up the support number for you.  It should also be noted that if you need technical support then that department is open on Monday.

  • Event OnInputProcessing not triggered ..... please help, it's urgent

    hi all,
    i have a problem in my bsp page.
    in my bsp page, there is a button which is clicked, a new pop up window will appear. after the pop up window closed the caller window will be submitted.
    after submitted, the server side script ( ABAP Code in event OnInputProcessing & OnInitiallization will be run ).
    in order to be able to do this, i used java script. and it's already works well.
    the problem is : there is 1 record that the ABAP code in event OnInputProcessing is not run. I have set break points on one of code in event OnInputProcessing, but it seems event OnInputProcessing is not triggered. if i also put the break point in event OnInitialization, it will stop in the break point in event OnInitialization.
    is there any clue why this happened ?
    please help, it's urgent because it's happened in my production system
    many thanks in advance
    regards
    eddhie

    hi Raja,
    thanks for the respond.
    the code is already works for 2 years and just 1 record of ... perhaps thousands record that used the same code.
    for other record, it go to event OnInputProcessing
    but just this 1 record it won't go to event OnInputProcessing.
    any clue ?
    please help
    regards

  • URGENT - Question on HD versus Solid State Drive.

    Dear all:
    This is an important question and also a little urgent.
    I am about to purchase a new MacBook Pro 17" and am faced with the choice of either a conventional hard disk or a solid state drive. My understanding is that SSD's are faster and more reliable while less likely to experiencing a crash or other mechanical failure. However, the difference in price between a conventional 500 GB HD and the same size SSD is $ 1,250 which is half the price of the computer itself (a 50% increase in cost compared to the baseline system with the conventional HD).
    Is this really a good choice ? Is the SSD that much faster and that much safer than a typical HD that it would make this additional expense worthwhile ? Or is the difference only really marginal and not worth this huge cost difference ?
    Any input you can offer will be very appreciated.
    Thanks,
    Joseph

    Dear all:
    First I wish to thank you for the answers and thoughtful replies you have all posted in response to my original post.
    It seems to be a general consensus that the speed difference between SSD's and conventional HD's isn't just marginal but measurable and orders of magnitude greater. This is good and certainly something I can benefit from. In my case I need the largest hard disk available so going for the 128 GB SSD drive to save money just isn't an option. I would prefer to go with a conventional 500 GB HD instead of a 128 GB SSD just because I need to carry a lot in my computer and my notebook (despite the fact that I also own a desktop) is often used as my main and/or only computer.
    The questions now are:
    1. All responses focused on performance but nothing has been said about reliability. I've read somewhere (although I can't remember the source) that SSD's can also "crash". It is not the same type of mechanical crash one would experience with a conventional HD but they can also fail. How exactly is it that SSD's can fail and compared to HD's what is the likelihood of one experiencing a failure with a SSD ? Have any of you experienced failures with a SSD ?
    2. Is the upgrade from a 500 GB HD to a 500 GB SSD worth the $ 1,250 price tag ? This question is more difficult to answer and I know that part of the answer has to do with me (my own willingness to pay this amount and just how much the speed and/or safety of a SSD can be of benefit to my personal needs and workflow) but I would still like to hear your input.
    Thank you again for all your helpful and detailed replies.
    Best regards,
    Joseph

  • Hi all please i want reset security questions but not send email from apple to my email

    please help me hi all please i want reset security questions but not send email from apple to my email

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • Refactoring URGENT question

    Hello all. My very 1st post...
    Hope you guys can help me out...
    My question is the following:
    Where I work, we have a final public class SomeClass, which has hundreds of private static methods inside.
    I need to find a way to re-factor that class, to divide it into smaller classes, and to divide the methods of SomeClass between the new smaller classes.
    I don't want to change any of the code that is calling methods from SomeClass, because that will be huge amount of work.
    Do any of you guys can think of a way to do that? I thought about "implements", but that will not do for methods, I believe.
    Thanks for any help, really appreciated.

    Please don't mark your questions urgent, as it's not urgent for us.
    Where I work, we have a final public class SomeClass,
    which has hundreds of private static methods inside.
    I need to find a way to re-factor that class, to
    divide it into smaller classes, and to divide the
    methods of SomeClass between the new smaller
    classes.
    I don't want to change any of the code that is
    calling methods from SomeClass, because that will be
    huge amount of work.If they're private methods, then they are presumably called only from inside the class. You can refactor them and move them wherever you wish without having to change anything that is outside that class.

Maybe you are looking for