Jaxb strange (de)serialization problem

Hi!
I have strange a problem in which deserialization of xml to an object generated by jaxb in some cases results in a classcastexception.
Please bare with me...
The problem occurs when I generate code for two schema's which both have an imported common schema which contain common data types and elements. Now I use 2 ant xjc task to generate the sources (to the same target folder). Whichever schema is created LAST works. That is, the sample xml for that schema can be deserialized. Now if I swap the order of generation the service for which the deserialization worked now fails and the other one works.
If I add both schema's into a single call to xjc then it works but then I have a problem that I can't add any custom serialization because the additional of multiple binding files result in "not part of the compilation.." errors.
This problem has been bugging me for days now and I wonder if anyone had the same problem? Or better, has a solution....
Cheers,
Robin

sorry for the question already asked here. Actually I found the answer here
http://forum.java.sun.com/thread.jspa?forumID=62&threadID=793180
the problem was in the header, each time appended to the file. Anyhow, thanks to arnaud63 and ejp.

Similar Messages

  • I have a strange 3g data problem.

    I have a strange 3g data problem.  At home I have zero 3G connectivity even though all bars are showing and says "3G" and wifi is "Off" ... unless I am on the phone and then magically the 3G data connection works perfectly!!  Does anyone have any idea what is happening?  Also when I bring my phone to my dad's or my friends house the problem disappears!! Is this a hardware or a AT&T network problem? os is 4.3.3
    Also called ATT and they said there was no problem with the network and that it was a hardware issue.  Also restored the phone several times but the problem did not go away.

    OK, no trouble shooting. The first thing I'd attempt is restarting in Safe Mode. If you still don't have luck try doing both a SMC and PRAM reset, it wouldn't hurt to do the SMC reset a couple of times. If still no luck let us know.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Serialization problem with FlashPlayer 10.1

    Hi,
    here is a message that I have post in the AS3 section (http://forums.adobe.com/message/2938096), but someone gave the hint that this section should be more appropriate.
    A call in remote method, using amf/BlazeDS, is failing for the following reason :
    "The expected argument types are  (int, myPackage.MyClassVO[])  but the supplied types were (java.lang.Double, java.lang.Object[]) and converted to (java.lang.Integer, null).
    Cannot convert typeflex.messaging.io.amf.ASObject with remote type specified as 'null' toan instance of class myPackage.MyClassVO"
    So the serialization is failing.
    MyClassVO have only int variables, so nothing fancy.
    The point is that it works perfectly with previous versions of Flash, except 10.1
    So the definitions of the VOs are not the problem.
    Does any change have been done in the new flash player, with the serialization ? Does someone have also experience serialization problems with this new flash player ?
    Thanks for any help.
    M.
    Environment : Windows 32bits (but happens on Mac OS as well)
    Flash version : WIN 10,1,53,64
    Browser : Firefox, Opera, IE... they all have the problem

    Hi,
    by digging more and more, it appears that the problem is really on flash side.
    This error appears on java side :
    "Cannot convert type flex.messaging.io.amf.ASObject with remote type specified as 'null' to an instance of class myPackage.MyClassVO
    flex.messaging.io.amf.translator.decoder.DecoderFactory.invalidType(DecoderFact ory.java:369)"
    So after a look on the function invalidType in DecoderFactory, it apprears that
    object.getClass().getName();
    returns "flex.messaging.io.amf.ASObject" instead of "myPackage.MyClassVO"
    So Java don't recieve the correct type MyClassVO, but ASObject.
    And that only in FlashPlayer 10.1, but not FlashPayer 9 or FlashPlayer 10, where Java recieve the correct type, MyClassVO.
    Any help will be gladly appreciated, I'm running out of idea !
    Thanks !
    M.

  • Very strange serialization problem(in what should be a simple solution)

    I'm trying to serialize a hashTable. And i'm trying to do it the same way that I serialized my binaryTree(which had no problems)
    But, for some reason it isn't working. I'm getting a SER file of only 3kb, and when I try to read the file after writing it my hashTable is coming out null.
    Here is a few code snippets:
    public class DictionaryController implements Serializable
         private static final long serialVersionUID = 1L;
         private HashTable hash;
         private Input inputer;
         private RandomAccessFile raf;
         public DictionaryController()
              if(checkDictionary() == true)
                   try
                        FileInputStream inFile = new FileInputStream("res/dictionaryHash.ser");
                        ObjectInputStream inStream = new ObjectInputStream(inFile);
                        hash = (HashTable) inStream.readObject();
                        inStream.close();
                   catch(IOException ioe)
                   catch(ClassNotFoundException cnfe)
              else
                   hash = new HashTable(50000, 0.8);
                   createRandomDictionary();
         }This is where I try to open it. when I say hash = new HashTable, hash is coming as null when I debug it.
         public void save()
              try
                   FileOutputStream outFile = new FileOutputStream("res/dictionaryHash.ser");
                   ObjectOutputStream outStream = new ObjectOutputStream(outFile);
                   outStream.writeObject(hash);
                   outStream.close();
              catch(IOException ioe)
         }That is the save. It only writes the file to the hard drive when I close the GUI.
    I've got all of my other classes implementing serializable, so I really can't figure out what is wrong.
    Anyone have any ideas? I have long values being stored in my hashTable, but all primitives are already Serializable right??
    argg. this seems like it should be such a simple problem but it just won't work. And its almost exactly the same as what I did before...

    Yeah, my fault for leaving the catch statements empty.
    Anyway, it is the output stream IO that is throwing the exception
    What do you mean by: You're probably hiding an instance variable with a member variable, but it's impossible to tell from the little bit of code you've shown.
    I can print out more code just need to know what stuff to post.
    Here is what i get from the printstacktrace:
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: hashTable.HashTable$TableEntry
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1603)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
         at dictionary.DictionaryController.<init>(DictionaryController.java:50)
         at dictionary.MainClass.main(MainClass.java:11)
    Caused by: java.io.NotSerializableException: hashTable.HashTable$TableEntry
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
         at dictionary.DictionaryController.save(DictionaryController.java:157)
         at dictionary.DictionaryGUI$ButtonHandler.actionPerformed(DictionaryGUI.java:91)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • [WL6.1 SP2] RMI and Serialization problems

    Greetings. I've got a strange question.
    I have a rather large object graph that's produced by an EJB. This
    object graph is then serialized and sent across the network to a waiting
    client, or is passed to the web tier.
    The object graph is of variable size, but huge in any case - some
    examples are 10 megs in size when serialized to disk.
    The big problem is that it takes a lot of ram to serialize this object
    to push it over the network. Now, this wouldn't be a big problem (because
    objects are not requested very often), but for the fact that weblogic
    doesn't seem to release the memory for these objects after the serialization
    takes place.
    Is there some way to make sure that the object stream is closed after
    the object is sent, so the memory can be GC'd for other processes? We're
    currently giving the server about 600 Megs of ram max for the heap (the
    server is a ES40 dual), and the server can die in a matter of hours.
    Would SP3 help things at all?
    Is there some way to force memory cleanup?
    Thanks!
    -Jim Nemesh

    "Jim Nemesh" <[email protected]> writes:
    The big problem is that it takes a lot of ram to serialize this object
    to push it over the network. Now, this wouldn't be a big problem (because
    objects are not requested very often), but for the fact that weblogic
    doesn't seem to release the memory for these objects after the serialization
    takes place.This sounds like a bug, although if you leave any reference to the
    object it will not get GC'd. Are nulling out all your references after
    you are done with the object?
    Is there some way to make sure that the object stream is closed after
    the object is sent, so the memory can be GC'd for other processes? We're
    currently giving the server about 600 Megs of ram max for the heap (the
    server is a ES40 dual), and the server can die in a matter of hours.If the stream is not being closed then its a bug.
    Would SP3 help things at all?
    Is there some way to force memory cleanup?Garbage collection should do this.
    andy

  • Help Needed: Serialization Problem

    I've got a problem with serialization, which is better illustrated with an example (slightly modified version of example in Tech Tips, February 29, 2000, Serialization in the Real World. The problem is that comparing serialized static final fields doesn't return correct result. Any help on how to fix this problem would be greatly appreciated. Thanks in advance. Here is the code:
    ====================
    import java.io.*;
    class Gender implements Serializable {
    String val;
    private Gender(String v) {
    val = v;
    public static final Gender male = new Gender("male");
    public static final Gender female = new Gender("female");
    public String toString() {
    return val;
    public class Person implements Serializable {
    public String firstName;
    public String lastName;
    private String password;
    transient Thread worker;
    public Gender gender;
    public Person(String firstName,
    String lastName,
    String password,
    Gender gender) {
    this.firstName = firstName;
    this.lastName = lastName;
    this.password = password;
    this.gender = gender;
    public boolean isMale() {
    return gender == Gender.male;
    public boolean isFemale() {
    return gender == Gender.female;
    public String toString() {
    return new String(firstName + " " + lastName);
    public static void main(String [] args) {
    Person p = new Person("Fred", "Wesley", "cantguessthis", Gender.male);
    //-NOTE: there ia no problem with this check
    if (p.isMale()) {
    System.out.println("a male: " + p);
    } else if (p.isFemale()) {
    System.out.println("a female: " + p);
    } else System.out.println("strange");
    class WritePerson {
    public static void main(String [] args) {
    Person p = new Person("Fred", "Wesley", "cantguessthis", Gender.male);
    ObjectOutputStream oos = null;
    try {
    oos = new ObjectOutputStream(
    new FileOutputStream(
    "Person.ser"));
    oos.writeObject(p);
    catch (Exception e) {
    e.printStackTrace();
    finally {
    if (oos != null) {
    try {oos.flush();}
    catch (IOException ioe) {}
    try {oos.close();}
    catch (IOException ioe) {}
    class ReadPerson {
    public static void main(String [] args) {
    ObjectInputStream ois = null;
    try {
    ois = new ObjectInputStream(
    new FileInputStream(
    "Person.ser"));
    Person p = (Person)ois.readObject();
    //-NOTE: this is the problem: the check returns false
    if (p.isMale()) {
    System.out.println("a male: " + p);
    } else if (p.isFemale()) {
    System.out.println("a female " + p);
    } else System.out.println("strange");
    catch (Exception e) {
    e.printStackTrace();
    finally {
    if (ois != null) {
    try {ois.close();}
    catch (IOException ioe) {}
    }

    The Gender class implements a type-safe enumeration, but its implementation needs to be improved to ensure that re-creating a Gender object via deserialization doesn't create new objects but uses the existing objects. See this article for details on how that's done:
    http://developer.java.sun.com/developer/Books/shiftintojava/page1.html

  • Upgrading to JAXB/JWSDP1.3 from JAXB/JWSDP 1.2 -- problems

    I am seeing 2 problems after upgrading to the JAXB found in WSDP 1.3 (from 1.2)
    We are using JAXB in a client/server style app where the server is accessed via a web interface and the client is delivered via Java Web Start (JWS). Both the server and client use JAXB-generated classes.
    We have an ant build.xml file that invokes xjc and this was working for us as expected.
    For the JWS piece, we need to sign the jars we use and for testing purposes we were self-signing them, including the jar files needed for JAXB also self-signed. This is also coordinated through an ant task.
    After replacing the jar files in our lib area with the ones from my recent download of the 1.3 version of JAXB the following happens.
    1. I am seeing compiler deprecation warnings for the generated code -- this did not happen in our use of JAXB from 1.2. For example:
    [javac] /Users/jjs/Projects/SGS-Install-Fixed/sgs/src/com/gestalt/sgs/uobdif/impl/runtime/SAXMarshaller.java:259: warning: ERR_MISSING_OBJECT in com.sun.xml.bind.marshaller.Messages has been deprecated
    [javac] Messages.format(Messages.ERR_MISSING_OBJECT), null,
    [javac] ^
    I am using Java 1.4.1 on Max OS X (I know... not supported but this doesn't seem like a platform dependency) and these warnings go away if I revert back to the JAXB jars from the 1.2 release of WSDP.
    2. These are only warnings, so my build proceeds with ant. But, when I get to the jar signing step I see:
    [signjar] Signing Jar : /Users/jjs/Projects/SGS-Install-Fixed/sgs/lib/jaxb-libs.jar
    [signjar] jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 63854 but got 19845 bytes)
    I looked at the jar file using the jar command and there are entries there:
    4038 Wed Dec 03 22:16:20 EST 2003 META-INF/MANIFEST.MF
    3303 Wed Dec 03 22:16:20 EST 2003 META-INF/SUN_MICR.RSA
    3780 Wed Dec 03 22:16:20 EST 2003 META-INF/SUN_MICR.SF
    0 Wed Dec 03 22:16:20 EST 2003 META-INF/pack.properties
    that suggest to me that perhaps the jar is now sigend by Sun and therefore can't be signed again. If I look at the corresponding jar from the JAXB/1.2, these SUN_MICR entries do not appear.
    Is this assumption correct? Can I deliver my app through web start with my apps own jars self-signed and the JAXB jars signed by Sun? I suppose I can un-jar the JAXB jars, remove the manifest material and then re-jar the files and sign those. I expect this might work.
    I am looking to share migration experiences (1.2 to 1.3) and to see what work-arounds there might be.
    Thanks
    Jim

    Replying to my own post.
    It seems that with the JWSDP 1.3 release, most (if not all) of the included jars are signed by Sun. You can NOT include jars with different signatures in the same web start application -- that's the error I get when I tried to do this.
    This means that if I want to package my jars using a self-signed certificate, I have to first un-jar all of the JAXB lib jars I want to include, get rid of the parts of the manifest that deal with signing, re-jar them and then sign all of the jars in my web start app using my own cert. More work for me, but not a show-stopper.
    I still am not sure why I am getting deprecated warnings from javac though.
    Jim

  • Web Service From Java class, serialization problem

    Hi,
    I want to create Web Service from Java class, I made java project, generated web service from it, create web service archive project and deployed it to WAS 6.40.
    My class have 2 methods,
    public int add(int a, int b);
    public MyResponse doSomthing(MyRequest req);
    I can succesfully call add method from Web Service Navigator, it works fine but when I call doSomthing methods I get the following error:
    <b>
    Deserializing fails. Nested message: XML Deserialization Error. Result class [com.mycomp.sap_tech.ws.MyRequest] does not have property [Amount] of type [java.lang.String]. It is required to load XML..
    </b>
    Any ideas how to resolve it?
    P.S. MyRequest class is exposed throw VI, has default constractor and public getters and setters for all properties. It implements Serializable as well. Any guesses?
    Thanks in advance,
    Victor.

    Hi Bhavik, thanks for response.
    as I already mentioned it implements Serializable, so it is not the problem.
    Thanks Avi but it didn't helps iether
    Victor

  • A Very Strange Post Update Problem

    Hi guys, new to the forum here, wondering if I could get some help with a most disturbing problem...
    Off the bat, I use a ppc Mac G5 running 10.4.11. I use this for Music production, and general music listening in my studio. For Audio I use pro tools HD 7.3 (as well as logic 8), with a digidesign 192 IO interface, and run most ofmy audio thru that. Now that we have that out the way... I normally dont agree to updates, as I would not like to upset a balance thats been working perfectly for me for some time, but 2 days ago, one of my assistants was using the computer and agreed to the latest update for Itunes, quicktime, and logic (but not the security update). Immedietly after the update finished (during which he said the quicktime update crashed), the system started going haywire, pro tools was shutting down, itunes wouldn't open, the like... Well after uninstalling and reinstalling itunes and quicktime, all order was restored, except for one AWFUL problem.. the sound coming out of any program BESIDES pro tools (itunes, logic, toast) is very strange, as if its coming thru very cheap speakers. I've run itunes through both the digi interface and the standard sound card (it has the same problem), and checked the EQ settings (flat), my sample and bit rates are straight... I have no idea! if anyone could offer some insight, It would be much appreciated! Thanks!!

    HI and Welcome to Apple Discussions...
    It's possible there's an underlying problem with your hard drive.
    Insert the installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger and later) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    *(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)*
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    Also, make sure you have sufficient drive space. Control or right click the MacintoshHD icon on your Desktop. Click "Get Info". Under the General tab you will see Capacity and Available. Make sure there is at least 10% available disk space, 15% is better.
    If the drive appears to be ok and you have enough available disk space, you could try the 10.4.11 combo update available here. http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx10411comboupdat eppc.html
    Make sure and run Disk Utility and repair disk permissions BEFORE and AFTER the installation.
    Quit any open applications/programs. Launch Disk Utility. Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac.
    Carolyn

  • Strange audi sync problem & different, stranger video sync issu in sequence

    I have two strange occurances with one particular set of media that was downloaded from the same original source mini-dv (recording in dvcam) tape. I have not found the same issue on any other footage.
    1) when the media is imported into FCP, the audio is out of sync. it is slightly out at the beginning and then gets progressively worse.
    2) when this footage is used in a sequence, the video that show in the sequence is not the same as the video that is exported when this sequence is exported as QT movie (or any other export option) Like the audio the video out of sync gets progressively worse.
    - The original media is perfectly in sync looking at the digitized source ie: in Quicktime. There is no audio out of sync problem.
    - the only difference I could see in the file was that this media is 3.5mb data rate whereas all the others are 3.6mb.
    - other tapes from the same camera do not have a problem
    - I do all my downloading from a firewire deck and not from the camera
    - I upgraded from 6.0.1 to 6.0.4 (as did the QT 7.5 upgrade also) to see if that fixed the problem but to no avail.
    Very perplexing. I managed to work around this problem in a sequence whos deadline was looming by manually slipping the footage in the sequence the required number of frames. This is where it also gets odd. I was able to do this by
    - double click the clip in the sequence which then loaded that into the viewer.
    - position the playhead at the beginning of the clip
    - from the canvas select the go to position in master clip option which then loaded the masterclip into the viewer. the position in the masterclip was always the correct frame (ie the frame I expected to see as per my edit). The frame showing in the canvas was also the correct frame (but this would not be the case when exported)
    - the next thing i did was to use the slip tool, as soon as i held the slip tool over the sequence clip, the frame in the canvas would be the wrong frame (the frame i would see when I exported).
    - then i would just carefully slip the sequence clip back to the matching correct frame. So watching in the viewer, I would align the frame that showed in the viewer to the frame in the canvas.
    When done the frame showing in my sequence would be a completely different frame but when exported, the frame that I expected to see would be the exported frame.
    I could find no logic to the amount I needed to slip each time (I am sure there is logic but I couldnt figure out what that was). the clip at the end of the footage needed to be slipped -10:09, and this got progressively smaller to the clip at the beginning of footage needing to be slipped -:16
    Hopefully that wasnt too confusing.

    btw, i have tried recapturing the footage and i have offlined it, copied it to another location and onlined it in the new location to no avail. still have the sync and video in sequence issues.

  • Strange system font problem

    Hello,
    I have the following problem for 2 days now:
    http://img154.imageshack.us/img154/1462/bild1.png
    I did not install anything. I tried to delete font caches but it did not help.
    I re-installed the system but that did not change anything. After resetting the PRAM the problem was solved. At least for some hours, but now the problem appeared again.
    When I do a reboot, strange white lines appear over the grey background and the Apple Logo, then the screen turns blue, the cursor consists of white lines too and nothing more happens. After several tries to reboot the Mac is running again, but the font problem still exists.
    First I thought of a graphic card problem, but it seems that this font problem only concerns system prefernces and system applications.
    I have no idea what to do now, so please help me.

    Hi "Apfelkrautsalami"
    Font caching information is stored on a per-user basis in
    /private/var/folders
    I have no idea if it'll help, but you could try this:
    - Open a Terminal and do
    *sudo rm -rf -- /private/var/folders/??*
    - Restart your machine
    (Note 1: The '--' prevents rm to think that folders like '-5' are options)
    (Note 2: The '??' will match any two-letter directory. I didn't want to say '*')

  • Bussiness object serialization problem

    Hi, I have a little problem with serialization, when I want to create xml from Business object. Example:
    MyBoObject obj = new MyBoObject ();
    obj.atr1 = "aaa";
    obj.atr2 = "bbb";
    String xml = DynamicXml.createXmlTextFor(object : obj, topLevelTag : "something");
    display(xml);
    And displayed result is:
    <something>
    <atr2>bbb</atr2>
    </something>
    atr1 is attribute, which is inherited from db table.
    atr2 is atribute, which I created (it is not inherited from db table)
    Whole problem is, that it only serialize atr2 - from some reason it completely ignores atr1 and his value.
    Like I can't serialize attributes, which are inherited from db table.
    But when I created new attribute atr2 in my Business Object (which is not inherited from db table), everything work ok. Where's the problem? I read docs, but found nothing...
    Edited by: user12189610 on Nov 9, 2009 2:42 AM
    Edited by: user12189610 on Nov 9, 2009 2:46 AM

    If you need a simple project that duplicates this problem for customer support, here's where I put one: http://www.4shared.com/file/181611971/d21e9444/_2__DynamicXMLBug.html.
    Have them import the project, start Studio's Engine, login as "test" and start the Workspace. Create a work item instance and then run the work item when it reaches the "Test" activity. When you run the logic, you'll see this displayed:
    <?xml version="1.0" encoding="UTF-8"?>
    <poHeir xmlns="http://bea.com/albpm/DynamicXml/version/2.0">
        <nameForPO>Dan</nameForPO>
    </poHeir>They should note that only the "nameForPO" tag is created by the DynamicXml.createXmlTextFor() method. "nameForPO" is an attribute I manually added to the XML Heir BPM Object. The attributes of the inherited heir (e.g. "poHeir.orderDate" and "poHeir.billTo") are not included as tags in the generated XML even though these attributes have been set in the logic.

  • Strange freezing/display problem

    Hi,
    I've recently started having some strange problems with my 24" iMac 2.16GHz.
    What happens is the screen freezes, not just the application I'm working in, but the entire screen. If I move the mouse it looks like the screen tries to redraw itself so I might get a browser window half-duplicated and then other windows look like they leave a trail if you try to move them. I can't click on anything, I can move the mouse for about 10 seconds, then I get the coloured beachball and I have to restart from the back.
    A couple of times when I've restarted there has been a high pitched tone before the start-up chime.
    I can't say exactly what I was doing when the crashes happened but a couple of times I've been looking at videos on YouTube. It may be related, I'm not 100% sure though.
    I can't really explain it any better than that, sorry it's not as clear as it might be. I can't take a screenshot or anything when it happens.
    I've run Disk Utility from the OS CD to repair the disk and it didn't find any problems. I haven't installed any new hardware or anything like that.
    If anyone had any idea what I might try to find out what's going on I'd really appreciate it.
    Thanks.

    Sorry to bump this but this issue is still ongoing with me.
    I'm nearly positive it is caused by watching videos on YouTube, Googlevideo etc. It just happened again while on YouTube. Screenshot - http://img220.imageshack.us/img220/342/screeniu8.jpg
    After about 20 seconds I can click around and the screen goes back to normal when I move the windows. It's almost like using the eraser tool in Photoshop or something, you can 'wipe out' the bits that are not where they're supposed to be.
    Yesterday I reinstalled the OS, I did an erase and install as well. Does this mean my graphics card is the problem?
    Any advice on this would be a great help because I've got a huge amount of work at the moment and this is proving really disruptive (and before you say it I was taking a break when watching that YouTube thing!).
    thanks

  • Applet-servlet communication, object serialization, problem

    hi,
    I encountered a problem with tomcat 5.5. Grazing the whole web i didn't find any solution (some guys are having the same problem but they also got no useful hint up to now). The problem is as follows:
    I try to build an applet-servlet communication using serialized objects. In my test scenario i write a serialized standard java object (e.g. a String object) onto the ObjectOutputStream of the applet/test-application (it doesn't matters wheter to use the first or the latter one for test cases) and the doPost method of the servlet reads the object from the ObjectInputStream. That works fine. But if i use customized objects (which should also work fine) the same code produces an classnotfound exception. When i try to read and cast the object:
    TestMessage e = (TestMessage)objin.readObject();
    java.lang.ClassNotFoundException: TestMessage
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ...That seems strange to me, because if i instantiate an object of the same customized class (TestMessage) in the servlet code, the webappclassloader doesn't have any problems loading and handling the class and the code works fine!
    The class is located in the web-inf/classes directory of the application. I've already tried to put the class (with and without the package structure) into the common/classes and server/classes directory, but the exception stays the same (I've also tried to build a jar and put it in the appropriate lib directories).
    I've also tried to catch a Throwable object in order to get information on the cause. But i get a "null" value (the docu says, that this will may be caused by an unknown error).
    I've also inspected the log files intensively. But they gave me no hint. Until now I've spend a lot of time on searching and messing around but i always get this classnotfound exception.
    I hope this is the right place to post this problem and i hope that there is anyone out there who can give me some hint on solving this problem.
    Kindly regards,
    Daniel

    hi, thanks for the reply,
    all my classes are in the web-inf/classes of the web-app and have an appropriate package structure. thus the TestMessage class is inside a package.
    i tried some names for the testclass but it didn't matter. the exception stays the same. I also tried to put the jar in the common/lib but the problem stays.
    Well the problem with loaded classes: As i mentioned in the post above i can instantiate an object of TestMessage in the code without any problems (so the classloader of my webapp should know the class!!)
    only when reading from the objectinputstream the classloader doesn't seem to know the class?? maybe theres a parent classloader resposible for that and doesn't know the class?
    strange behaviour...
    p.s. sending the same object from the servlet to the client works well
    regards
    daniel
    Message was edited by:
    theazazel

  • STRANGE mail.app problems - Help!

    A client's mail is severely screwed. here's a (brief) summary:
    OS 10.3.9
    Client had mail hang & spin while having 3 replies open. Stuck in a loop, tried numerous Disk Warrior, repairs, permissions, etc etc etc... Client's Mail folder in ~/Library/Mail is huge, over 9GB (many mailboxes).
    *Oddest thing: THAT mail folder cannot be copied over to external FW Hard drives (tried 2) hangs after 806mb. Got a strange error about "Incoming mail cannot be read or written" - words to that effect. I've never seen such a thing. I can't even backup that mail folder to simply wipe the drive to update to Tiger.
    ANY help appreciated!!
    Chotty

    Finally I've figured out what happened for not syncing anymore what I did on the Mail.app mailbox of my Professional Exchange account.
    So, the problem was the MailTags plugin: http://www.indev.ca/MailTags.html
    I don't know if it was after the Trial Period that went rogue, or this has happen since the install, but when I've uninstalled it, it worked just fine.
    Hope this help someone with the same problem.

Maybe you are looking for

  • Mac mini running very slow after downloading yosemite

    Why is my mac mini (mid 2011) 2.5GHz Intel Core i5 now running very slow in all aspects after upgrading to OS X yosemite 10.10.1? Here is a recent EtreCheck Report Problem description: Mac mini running very slow after upgrading to yosemite EtreCheck

  • How to save JPEG files in PSE5.0 ?

    OK. newby Q again.  how the heck does one know what to choose when it comes to saving an image as a JPEG?  the following three boxes pop up: IMAGE OPTIONS: QUALITY> FORMAT OPTIONS: BASELINE> PROGRESSIVE> SIZE: up to 2 MBps?

  • Unusable apple ID

    Dear apple, please help me to solve my issue, yesterday i was changing my email adress name birthdate and all of details because i bought ur new product and wanted to give this one to my wife. i made mistake in email adress and probably date as well

  • Incorrect DNS when using DHCP. DNS server is considered to be a Virus??

    Running 10.5.5. Noticed extreme slow down in resolving domains in safari, firefox. I currently use Verizon FIOS. When looking in network settings it shows a DNS server as 85.255.115.30. This is not verizon's DNS server. When I delete that server out

  • Find file by name in Dreamweaver

    Hi, Is there a way to search for a file by its name in Dreamweaver?  For example, I am looking to open a particular file.  I know the file name (and I might even know its full path), but I just don't feel like browsing through multiple trees of file