ReadRemainder() on PofReader nested get "mark/reset not supported" IOException

Hello experts... I use Nested readers to implement the serialization of objects Evolvable.  My PoC uses a SimplePofContext to serialize and deserialize a hierarchy of objects in a file. Whenever I try to evolve from v2 to v1, I get a 'mark/reset not supported"IOException using readRemainder() when reading future data.

Binary FutureData = reader.readRemainder) <-exception here
If {(isEvolvable)
evolvable.setFutureData (typeId, futureData);
}

java.io.IOException: Mark/reset not supported

at java.io.InputStream.reset(InputStream.java:347)

at java.io.FilterInputStream.reset(FilterInputStream.java:226)

at com.tangosol.io.WrapperBufferInput.reset(WrapperBufferInput.java:276)

to com.tangosol.io.pof.PofBufferReader$ UserTypeReader.readRemainder (PofBufferReader.java:3745)

at EvolutionPiro.EvolvableSerializerHelper.deserialize (EvolvableSerializerHelper.java:86)

to EvolutionPiro.EvolutionSerializer_v1$ FruitFlySerializer.deserialize (EvolutionSerializer_v1.java:41)

at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3316)

at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2604)

at com.tangosol.io.pof.SimplePofContext.deserialize(SimplePofContext.java:83)

at EvolutionPiro.EvolutionTest_v1_in.main (EvolutionTest_v1_in.java:39)

at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

Any ideas?

Thank you

-Louis

I found the problem.

My prototype was serialize objects to/from a FileInputStream and FileOutputStream.  These streams support not "mark and reset. so read the remains of pof nested wasn't working properly.  Once I changed the prototype to serialize a NamedCache... everything worked as expected.

-Louis

Tags: Fusion Middleware

Similar Questions

  • First timer, 6 year, iMac, 10.8.6 w/4 GB Dungeon get a browser not support Gmail and our Netflix account home page extended graphics. Do we need a type of update or new machine?

    First timer, 6 year, iMac, 10.8.6 w/4 GB Dungeon get a browser not support Gmail and our Netflix account home page extended graphics. Do we need a type of update or new machine? We are novice and probably most bought when receive this machine. Help or direction would be appreciated.

    Safari on OSx! 0.6.8 Snow Leopard is now not supported on many sites.  If your Mac can support it, you can update a newer operating system, which will have a new version of Safari.

    Go to the Apple Menu-> about this Mac and tell us what Mac model you have so we can give you options.

  • 64-bit nested comments ESXi 5 not supported

    I get an error on "Longmode is not supported" when trying to install windows 2012 server on a virtual machine to a nested instance of ESXi 5 reviews.

    I tried all the proposed resolutions, that I could find on the forums.  Someone knows how to fix this?

    On physical and nested instances of ESXi, I confirmed vhv.allow TRUE config,

    ~ # cat/etc/vmware/config

    LIBDIR = ' / usr/lib/vmware. "

    Authd.proxy.vim = ' vmware - hostd:hostd - vmdb.

    authd.proxy.NFC = ' vmware - pass: ha - nfc ".

    Authd.proxy.nfcssl = ' vmware - pass: ha-nfcssl. "

    Authd.proxy.vpxa - nfcssl = ' vmware - vpxa:vpxa - nfcssl.

    Authd.proxy.vpxa - nfc = "vmware - vpxa:vpxa - nfc.

    Authd. FullPath = ' / sbin/authd '.

    authd.soapServer = 'TRUE '.

    vmauthd.server.alwaysProxy = 'TRUE '.

    VHV.allow = 'TRUE '.

    but HV still shows no VT capable?

    ~ # esxcfg-info | grep "HV".

    |----HV Support............................................ 0

    | - HV Replay Capable... fake

    \==+HV replay off the reasons:

    | - World Command Line... grep HV

    I started in the nested ESXi bios which is a PhoenixBios, but there is no option for setting VT

    In the graphical interface of vCenter, I checked "on" box below,

    CPU/MMU virtualization

    Use Intel VT-x/AMD-v for virtualization and IVR EPT/AMD INtel MMU virtualization nec training

    CPUID mask

    Expose the NX/XD flag for comments

    I also improved virtual hardware and the vm said vmx-09

    Saved and reloaded everything

    How can I get the 64-bit on the ESXi customer nested to work?

    The physical server is a Dell PE310 with Intel Xeon processors and I turn on VT in the bios that seemed to work correctly because I installed ESXi on it, more nested ESXi.

    References to the posts I've read solutions,

    http://www.vcritical.com/2011/07/VMware-vSphere-can-VIRTUALIZE-itself/

    http://KB.VMware.com/selfservice/microsites/search.do?cmd=displayKC & docType = kc & docTypeID = DT_KB_1_1 & externalId = 1011712

    http://www.VMware.com/files/PDF/software_hardware_tech_x86_virt.PDF

    http://pubs.VMware.com/vSphere-4-ESX-vCenter/index.jsp?topic=/com.VMware.vSphere.vmadmin.doc_41/vsp_vm_guide/configuring_virtual_machines/t_change_cpuid_mask_virtual_machine_settings.html

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1008170

    http://www.virtuallyghetto.com/2011/07/how-to-enable-support-for-nested-64bit.html

    http://www.VI-tips.com/2012/09/enabling-64-bit-VMs-on-nested-ESXi-51.html

    What version do you use? Please take a look at Re: unable to boot x 64 VMs on nested ESXi host where jmattson explained the difference between ESXi 5.0 and 5.1.

    André

    Post edited by: a.p. - displaced nested virtualization VMware ESXi 5 Discussion

  • Cannot display a .avi file in Premiere Pro CS6. We get an error "not supported format or corrupted file.

    I am trying to bring three distinct animations in Premiere Pro, but it won't shoot them in the Source window or timeline of the sequence. The three files are uncompressed .avi files that were returned on in Autodesk Inventor. They are 15 second clips, around 2 GB and 40 fps. I can play them in Windows Media Player without problem. Any ideas on where to start troubleshooting? I can't imagine it's a codec issue, if the files are unzipped?

    Edit: I used MediaInfo to get the info on the video.

    General

    Full name: E:\Videos\13-1011 LAGCOE LED Billboard Video\1250 Drill Pipe elevator Video.avi

    Format                                   : AVI

    Format/Info: Audio Video Interleave

    File size: 2.06 GiB

    Duration: 15s 25ms

    Overall bit rate: 1 180 Mbps

    Video

    ID                                       : 0

    Format                                   : RGB

    Codec ID: 0x00000000

    Identifier of the codec/Info: Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples

    Duration: 15s 25ms

    Bit rate: 1 133 Mbps

    Width: 1 280 pixels

    Height: 960 pixels

    Display aspect ratio: 4:3

    Rate: 40,000 fps

    Color depth: 8 bit

    /(pixel*Frame) bits: 23.050

    Stream size: 1.98 Gio (96%)

    > can't imagine it's a codec problem

    Imagine still once your screen printing said they are bitmap files... IE a string of images, not 'really' a video that the Organization recognizes... and a rate of 40 FPS is also "weird".

    Autodesk has other options... to create a file with a 'true' video output codec?

    Because the Assembly is not the same thing as play, you may need to find a codec to be installed to be able to edit (NOT a codec pack!)

    Autodesk has a place where you can download and install 'their' codec to edit files?

  • transfer DVD video to windows for my portable archos 504 media can only windows music get nessage does not support this format of cd - r

    I downloaded windows 11 needed for my camera

    Hi croeso,.
    first thing is to make sure that the file is supported on your Archos.  You cannot move a DVD, it must be converted then. Your Archos supports these file types:

    What types of video formats Archos 504/604 supports?

    MPEG-4 (ASP@L5 AVI, up to DVD resolution) with plug-ins Optional:

    -H.264 up to DVD resolution and AAC sound.

    -MPEG-2 on up to 10 Mbps (up to DVD resolution) and AC3 stereo sound.

    -VOB

    For more information, see the Archos support page:
    http://www.ARCHOS.com/support/support_tech/FAQs/en/faq_Archos_504-604.html?country=us&lang=en
    hope this helps,
    B Eddie

  • iPhone is sim not supported

    Hello

    My girlfriend and I bought one to the iPhone in the United States a few weeks ago. We live in the Netherlands, so we asked for the correct model (A1723) and a sim phone so it should work on our carriers. We did not have a simcard nano of our carriers at the time so they have unlocked the phone with a card of sprint (without contract). Now, we're back in the Netherlands and we have tried our new SIM card and we get the "Sim not supported" error. It's almost as if the phone isn't sim for free. We called apple support in the United States and we talked for over an hour, and he could not understand the problem. According to him, the phone has been unlocked.

    We also called our subsidiary of KPN (simyo) carrier and they said everything was ok on their end, the problem is with apple. If we are really stuck here and I don't know what the problem is. Can someone me the phone is unlocked, because I'm still not convinced. And in this case, what should I do because the lady who helped us said it was free sim...

    Thanks in advance.

    Ruud

    Where did you buy this phone. It seems that if activation with the Sprint card has caused your question. But knowing where you bought it.

  • Tecra A10 - 12Z BIOS 1.6 wanted to move to 3, but 'not supported' - W7H32

    There are many problems with this Tecra A10.

    As Windows Xp is disabled, I tried Windows 7, which is too awkward, so I wanted to try the eSATA operating systems. Although I could install Lubuntu on eSATA it would not start (no hard drive inside most) to eSATA, but booted from USB.

    Read in the forum and put the Windows 7 Home 32 disk inside again and downloaded the BIOS update only to get a response "not supported".

    The A10 has a Windows Vista professional sticker slot, is the only OS where this Tecra can get BIOS updated?

    We have no records of Windows Vista.

    Installation of Windows 2000 or XP, it's really a lot of time, even for 9 x.

    The last beta demoCD with eComStation, todays OS/2Warp, works fine on the Tecra, it has Windows integrated 3.11, is that not? Windows 3.11 on a SD card installation must be as fast and as possible. If there are drivers available?

    ReactOS (freeWindowsXP) is usually able to boot, but it is still in the alpha stage!

    As for flat BACK? There are the LiveCD with BACK.

    You can also find Vista LiveCD socalled VistaPE CDs on the net, but their origin is unknown.

    What is the best option? Is there only one option?

    Hello

    > Although I could install Lubuntu on eSATA it would not start (no hard drive inside most) to eSATA, but booted from USB
    I guess that the BIOS does not support booting eSATA port but just the USB port.
    But it's just an idea... that should be checked once more in the BIOS settings.
    Maybe a BIOS update would also help.

    > Read in the forum and put the Windows 7 Home 32 disk inside again and downloaded the BIOS update only to get a response "not supported".

    BIOS update may be run from under Windows system only. But the BIOS update also requires some software additional Toshiba which depends on the system.

    In the case of Windows 7 or Vista, the value of added Toshiba package must be installed. In the case of Win XP, you must install the package of common Modules.

    To be honest I don t understand what you want to do
    Tecra A10 is a great unit. I have the successor called Tecra A11. I use Win 7 and its really awesome OS. Much better than the beginning of Win XP

  • Format not supported

    This has been discussed in many other positions, but none of the solutions worked for me. It's on my machine of mothers and it is 2 years old. (ca dv7-1027)

    No Blu-rays will no longer play. Downloaded the latest version of Quick Play of Cyberlink and it stops for prompting me to down load the latest version. It simply doesn't get it.

    Tried to download the many versions specific for this laptop and others, old and new. All I get is FORMAT NOT supported. Tried to run CC Cleaner and then reinstalling Media Smart DVD, tried to reinstall the CD/DVD drive in Device Manager (this is a suggestion of HP employees) nothing works!

    There always the original on her Vista operating system as well as my mother wants in this way. Should not make a difference however. So I tried to install Windows 7, went through the entire process, still nothing. I even tried to launch a programme to repair CODEC.

    I don't know what to do, except to install a retail version and forget the unstable HP software?

    Why is it so difficult for HP to work with Cyberlink to actually get to some software that will play Blu - ray movies.

    I just tried to install a trial version of Cyberlinks Power DVD 9 and it works perfectly, so this isn't the hardware in the laptop. Another thing that is strange is when I installed an HP Media Smart version to play Blu - ray, that he was not as choice in 'Auto Play' in the Panel?

    Some reading which would affect the Media smart program does not recognize the drive Blu - ray real and judged the pilot only there to update the BIOS (basic system) did see attachment:

    http://www.wisegeek.com/what-is-BIOS.htm

    The BIOS also affects the DVD/CD/Blu-ray optical drive. Update the Bios actually worked. It was a difficulty very, almost obvious. I'm surprised that no one else here figured this out. The other thing that has also helped other people is that they have temporarily disable their anti-virus and Windows Firewall so that the Smart Media software is able to download all the registry files correctly. This made no difference to me, but I thought I should talk about.

    Update of the BIOS can be finicky, so rather then let the update load into a temporary file, I recorded everything first on the desktop, everything closed and then ran the update. I'm not saying you have to do it this way, it is more likely to install with fewer problems. You can also check if the file for the update downloaded correctly before you run it.

    I'll also see if the latest version of the software for the Quick Play workforce works too, as she just kept prompting me that was missing an essential element, but I am convinced, however, that the Media Smart software works.

    See this post for more information:

    http://h30434.www3.HP.com/T5/operating-systems-and-software/QuickPlay-in-Windows-7/m-p/241844#M34901

  • How do you get a message that has been marked "do not show this message again" to reappear?

    How do you get a message that has been marked "do not show this message again" to reappear?

    Preferences > General > reset all warnings.

  • I can not eject a dvd from my drive iPhoto super-cannot see the drive open up Adobe Photo Elements and organizer and then apps get hung up "not responding" and cannot do anything - I've fixed dozens of times w msg success drive.  Help

    I can not eject a dvd from my drive iPhoto super-cannot see the drive open up Adobe Photo Elements and organizer and then apps get hung up "not responding" and cannot do anything - I've fixed dozens of times w msg success drive.  Help, please.  Thank you!

    Hello golden2,.

    I understand that you have a DVD picture in your SuperDrive drive, but it is not mount on the desktop and will not eject.

    Please, try the procedure described in this article using the disc is ejected.

    Get help with the SuperDrive slot on your Mac - Apple Support loading

    Do not eject discs or discs eject slowly

    1. If the drive ejects discs slowly or appears to have difficulty, insert and eject a disc several times. Check the disc to see if it has a label or other material stuck to the disc which increases the thickness. Remove the label if possible.
    2. If the disc does not eject, try pressing the eject on the keyboard button. Some older keyboards may use the F12 key to eject the disc.
    3. If the disc does not eject, try dragging the icon of the disk to the trash.
    4. If the disc will still not eject, try to hold down the mouse or trackpad button after you restart the computer. The Superdrive should attempt to eject the disc.
    5. If the disc still does not eject, reset the System Management Controller (SMC) and repeat steps 1 to 4.
    6. If the disc still does not eject, Contact Apple or an provider of services authorized Apple, or make an appointment with a Store Apple Store for further assistance.

    Take care.

  • When I connect to the Internet, I get a message error "object does not support this property or method". Unable to do anything from there.

    original title: error messages
    As soon as I get on Explorer and on internet I get an error message "object does not support this property or method' am unable to navigate due to this message to appear on each movement.  Someone help?  Thank you

    Hello

    (1) do you have made no changes before this problem?
    (2) is this problem limited only with a particular website or any websites?

    (3) when exactly, you receive an error message when you use Internet Explorer or when the Internet connection?
     
     
    Method 1: If you receive script errors, you can read the following article and check if that helps.
     How to fix script errors in Internet Explorer on Windows computers?
    http://support.Microsoft.com/kb/308260

    Method 2: You can also read the following article and check if it helps.

    Can't access some Web sites in Internet Explorer
    http://support.Microsoft.com/kb/967897

    Warning: Please note that reset the settings of Internet Explorer running resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet files, cookies.

    Method 3: Networking in Mode safe
    Follow the link below and check if the problem persists in safe mode with network.
    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    Hope this information helps.

  • I tried to update my windows Explorer, but I get a message saying "Service Pack is not supported". When I try the link to get an update, it fails.

    My e-mail link has a s aying of message that the system is no longer supported with a link to get an update. When I try the link, I get a message saying "Service Pack is not supported" with a link to get an update. When I try the link, it fails.

    Hello

    1 did you change on your computer before this problem?

    2. update you are trying to install?

    3 are. what email link you referring?

    4. you receive an error message?

    Follow the suggestions and see if it helps.

    Method 1

    Run the system update readiness tool, and then check.

    Description of the preparation tool system update for Windows Vista for Windows Server 2008, for Windows 7 and for Windows Server 2008 R2

    http://support.Microsoft.com/kb/947821

    Method 2

    You can reset the Windows Update components.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    See also:

    Problems with installing updates

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

  • How to get rid of "Web Page Message" indicating the object does not support this property or method.

    After I log on my computer, I get the following pop up message "Message on the Web Page" - "object does not support this property or method." He continues to pop everytime I try to do something

    Hello

    I suggest you to follow these steps and check if that helps:

    Method 1:
    Start the computer in safe mode and check if the same problem occurs:
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Method 2:
    Try to perform the clean boot and check if it helps:
    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that you reset the computer in start mode normal such as suggested in step 7 of the above article.

    It will be useful.

  • How to open .zip files in windows media player? I get the msg file type not supported. MP3 files are in the folder.

    Hi I downloaded audio files that you want to create a playlist on windows media player to download to my mp3 player so I can be more mobile to study. When I tried to play on windows media player I get error msg-file type is not supported or the codec is not compatible with the player. They are .zip files. inside are the mp3 files that I need to listen to. can someone help me.

     

    Hello

    You need to open ZIP files, which are compressed to make it smaller, then use the content
    in the application appropriate - so if the audio or video content can use WMP.

    Compress and uncompress files (zip files)
    http://Windows.Microsoft.com/en-us/Windows-Vista/compress-and-uncompress-files-ZIP-files

    Although Windows has integrated ZIP, you might be more comfortable using a program
    with more features (and works with different types of compressed files).

    7ZIP - free
    http://www.7-zip.org/

    --------------------------------------

    More information:

    Using Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows/help/Windows-Media-Player/using

    Getting started with Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows-Vista/getting-started-with-Windows-Media-Player

    I hope this helps and happy holidays!

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How do you get or reset your password for Hotmail when you only have one account email & this is the account you can't access?

    It's a good thing I have my password to post this question. My question is for anyone who tries to reset their password to a Hotmail account, only to find the link for the reset will be sent to the same e-mail Hotmail account, they are unable to access because the password does not work or they forgot!  How can someone get the reset link if it is the only email address, you have?  What other options are there or are there any? Thank you!

    You can have a TEXT message sent to a mobile phone that you have nominated.

    You can designate an approved computer that can be used to reset your password.

    You can add security questions.

    Go to account.live.com and manage security information

Maybe you are looking for

  • C850-1JV Windows XP satellite card its not in Device Manager?

    Hello However, I done a workaround for my laptop and installed a dual boot system with windows xp and 7 - xp for my audio productive work and 7 for the rest. XP was a bit problematic, because there is only some drivers only offered by Toshiba.So I se

  • which laptop brand is the best?

    I want to buy a laptop, but I don't know which laptop is the best choose, can anyone help? {deleted}

  • Try to upgrade to SP3 SP 2 happens with c:\windows\system32\ntdll.dll

    original title; Try to upgrade to SP3 SP 2 happens with c:\windows\system32\ntdll.dll I closed all programs including Avast and always happens with this note. What can I do else? Install Windows XP on the partition, BootCamp by Apple. Initial install

  • How can I get rid of fader sys

    My computer fades when it starts, and when I restart to try to solve it, it says waiting for sys fader close. I have no idea how it well on my system, it comes to show one day and I can't get rid of it. My computer performance is extremely poor and s

  • My hard drive is bad?

    Recently, I want in my BIOS and moved to the high 'boot from USB' first priority. But when I turn on my computer, it does not read my USB key, it just says: i/o error replace the disk, and then press any key. When I remove the USB, my computer says "