Error exporting NamedCache to file via PofWriter

I'd like to dump some NamedCaches with a large number of entries (> 200,000) to files, and then be able to re-load the NamedCaches from those files. I realize that there may be a feature in an upcoming version of Coherence to do this sort of thing, but I'm using 3.5 for now and need to roll my own for the time being.
I already have working code that takes the entire NamedCache and writes it as one single Map to a file using the writeMap method of a PofBufferWriter (a variation of the code shown below).
The problem is that attempting to load a pof file containing one single Map with 200,000+ entries usually causes a out of memory error. This is because it is not possible to know ahead of time the number of elements in the Map in the pof file, which means it isn't possible to set the initial capacity of the Map that the contents of the file are being read into via the PofReader.readMap method. The consequence of this is that the Map's growth algorithm kicks in, doubling the size of the map over and over, and pretty soon the map is giant and there is insufficient heap. It's not that the objects in the file wouldn't fit in memory, the problem is that the Map growth algorithm just creates a Map too big for the heap.
So, I've been thinking about a variation on the theme that avoids the Map growth problem. A variety of potential solutions come to mind, and I've tried many of them.
First, I could write an int in position 0 of the PofWriter stream to say how many elements the Map in position 1 contains. That would allow me to compute an initial capacity for the Map that the file is loaded into (via PofReader) that avoids the Map growth algorithm problems.
Second, I can iterate the elements of the NamedCache and build a number of smaller sub-Maps of a known size, and then write those sub-Maps in consecutive positions of the PofWriter stream, probably with an int in position 0 that says how many Maps follow.
A third alternative is to iterate the elements of the NamedCache and write each key/value pair to the Nth posiition in the PofWriter stream (again, with an int in position zero saying how many key/value pairs follow).
The code shown below is basically strategy #3, but whether I try strategy #1 or #2 or #3, I always get the following exception upon the second invocation of a "write" method on the PofWriter:
<pre>
java.lang.IllegalArgumentException: not in a complex type
at com.tangosol.io.pof.PofBufferWriter.beginProperty(PofBufferWriter.java:1940)
at com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1426)
at com.mycompany.util.coherence.NamedCacheExporter.exportCache(NamedCacheExporter.java:182)
</pre>
Just to be clear, if I only write one entry to the PofWriter (e.g., the entire NamedCache), it does not throw this exception.
I am confident that all of the objects being written implement PortableObject (correctly) and are registered in the pof config file. The NamedCacheEntry object used below is a simple key/value wrapper that implements PortableObject and has only two Object-valued instance variables named "key" and "value".
<pre>
public static void exportCacheNamedTo(String cacheName, File file)
throws Exception
WrapperBufferOutput wrappedBufferOutput = null;
try
NamedCache cache = CacheFactory.getCache( cacheName );
FileOutputStream fileOutputStream = new FileOutputStream( file );
BufferedOutputStream bufferedOutputStream =
new BufferedOutputStream( fileOutputStream, 1024 * 1024 );
DataOutputStream dataOutputStream = new DataOutputStream( bufferedOutputStream );
wrappedBufferOutput = new WrapperBufferOutput( dataOutputStream );
ConfigurablePofContext pofContext =
(ConfigurablePofContext) cache.getCacheService().getSerializer();
PofWriter pofWriter = new PofBufferWriter( wrappedBufferOutput, pofContext );
//this works fine
//pofWriter.writeMap( 0, cache.getAll( cache.keySet() ) );
//this fails with the above error
//pofWriter.writeInt( 0, cache.size() );
//pofWriter.writeMap( 1, cache.getAll( cache.keySet() ) );
//this fails with the above error
int pofIndex = 0;
//index 0 contains an int that says how many more POF indexes to expect
pofWriter.writeInt( pofIndex++, cache.size() );
//index N contains a NamedCacheEntry (a simple key/value wrapper)
for ( Object o : cache.entrySet() )
NamedCacheEntry nce = new NamedCacheEntry( (Entry) o );
pofWriter.writeObject( pofIndex++, nce );
finally
if ( wrappedBufferOutput != null )
wrappedBufferOutput.close();
</pre>
Anybody see what I'm doing wrong or have any idea what the cause of the exception above is?
Thanks in advance
Edited by: dm197 on Feb 20, 2010 3:07 PM
Edited by: dm197 on Feb 21, 2010 9:49 AM
Edited by: dm197 on Feb 21, 2010 9:51 AM

Hi DM
Can't you just use the ConfigurablePofContext you have to serialize the entries to the WrapperBufferOutput
public static void exportCacheNamedTo(String cacheName, File file)
throws Exception
    WrapperBufferOutput wrappedBufferOutput = null;
    try
        NamedCache cache = CacheFactory.getCache( cacheName );
        FileOutputStream fileOutputStream = new FileOutputStream( file );
        BufferedOutputStream bufferedOutputStream =
            new BufferedOutputStream( fileOutputStream, 1024 * 1024 );
        DataOutputStream dataOutputStream = new DataOutputStream( bufferedOutputStream );
        wrappedBufferOutput = new WrapperBufferOutput( dataOutputStream );
        ConfigurablePofContext pofContext =
            (ConfigurablePofContext) cache.getCacheService().getSerializer();
        for ( Object o : cache.entrySet() )
            NamedCacheEntry nce = new NamedCacheEntry( (Map.Entry) o );
            pofContext.serialize(wrappedBufferOutput, nce);
    finally
        if ( wrappedBufferOutput != null )
            wrappedBufferOutput.close();
}And then read them back like this:
public static void importCacheNamedTo(String cacheName, File file)
throws Exception
    WrapperBufferInput wrappedBufferInput = null;
    try
        NamedCache cache = CacheFactory.getCache( cacheName );
        FileInputStream fileInputStream = new FileInputStream( file );
        BufferedInputStream bufferedInputStream =
            new BufferedInputStream( fileInputStream, 1024 * 1024 );
        DataInputStream dataInputStream = new DataInputStream( bufferedInputStream );
        wrappedBufferInput = new WrapperBufferInput( dataInputStream );
        ConfigurablePofContext pofContext =
            (ConfigurablePofContext) cache.getCacheService().getSerializer();
        while (wrappedBufferInput.available() > 0)
            NamedCacheEntry nce = pofContext.deserialize(wrappedBufferInput);
            // Add the entry back into the cache
            cache.put(nce.????, nce.????);
    finally
        if ( wrappedBufferInput != null )
            wrappedBufferInput.close();
}I have not tested this so I cannot guarantee it works, especially the wrappedBufferInput.available() > 0 condition in the while loop. I am not sure if that is the best way to check for the end of the stream.
JK

Similar Messages

  • CS5 Photoshop Scripts Error: Export Layers to Files...

    Hey Folks,
    I'm banging my head against the wall trying to figure out why I can't use the script: Export Layers to Files...
    I am recieving this error messages in my attempt:
    I have ran the Adobe updater and made sure everything is current.
    I restarted my magic toster twice after the update.
    I even tried a basic psd with 2 layers in an effort to determine if it was the working psd file itself... No luck.
    So I am convinced now that there may be a bug.
    Does anyone have any insight or workarounds for this solution?
    Thank you all in advance.
    John

    Jeffrey,
    Thanks for your response.
    It's the original script that shipped stock with CS5.
    Get this...
    I switched from 32 bit mode back into 64 and restarted the program.
    Opened my psd and tried again...
    No error this time, but this is what I get:
    Nothing!
    So racked on this one dude...

  • Error while uploading a file via GS_CM

    Dear experts,
    When we try to upload some files to CRM incident via GS_CM we gen a following error: "operation is not allowed (crm_p_ord)"
    We noticed that the error usually arrears when we upload files with long file names ( 30> chars)
    It's important to say that we can add files having a shorter file name( up to ~30 chars).
    Does anyone know the limitations about the file name (length, special characters, etc.) ?
    We are using CRM7 (ICM).
    Thank you

    Hi,
        Covert quantity to char and upload the data.
    Regards
    Amole

  • Error while downloading a file via APEX screen

    While I try to download a file using the below code;
    an HTTP 404 error is coming although the proc is being called and the parameter is correctly being passed.
    Please help.
    create or replace procedure download_myfile1(p_id in number)
    as
    v_mime varchar2(255);
    v_length number;
    v_file_name varchar2(2000);
    Lob_loc BLOB;
    BEGIN
    -- -- Selecting the details from the table whoch contains the extracts
    select EXTRACT_FILE,FILE_NAME,dbms_lob.getlength(EXTRACT_FILE) into lob_loc,v_file_name,v_length from table_name where ID = p_id;
    -- -- set up HTTP header
    -- -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( 'application/octet', FALSE );
    -- set the size so the browser knows how much to download
    --v_file_name := substr(v_file_name,1,instr(v_file_name,'.')-1);
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||v_file_name|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( lob_loc );
    end download_myfile1;
    It shows a POP up window by which u can save or opens the file. But no pop up displayed in this case.
    -Shreya

    Hi,
    Made the same changes but still getting the same error.
    The earlier URL also that I had mentoned would dynamically make this url mentioned by you and then shows the pop up window.
    However when I am right clicking on the download link and then clicking 'Save target as' then this error message is provided:
    Internet Cannot download [schema name].download_myfile2 from [DNS name]
    Internet Explorer was not able to open this Internet Site.The requested site is either unavailable or cannot be found .Please try again.
    Please help..
    Thanks in Advance ...
    Shreya
    Edited by: 935203 on Jul 9, 2012 11:58 PM

  • Import/export of PDF files via iPad USB port - Apple please!

    I am writing here in the hope that some Apple representatives will read it.
    I am a scientist working for a large pharmaceutical corporation. In my work I read and annotate a lot of publications. Since forever I have been doing this by printing out publications and annotating them with a highlighter and pencil. With the iPad I would like to convert now to a paperless environment. I bought an iPad2 and learned to use iAnnotate and GoodReader. This part of the conversion to a paperless environment is completed. However, iPad file transfer from and to my work PC is a problem. Let me explain. 
    We have a Windows Vista environment. Individual PC users are very restricted in the ways they can customize their computers. Wireless is and will not be enabled and installing software like iTunes is not an option. Even transfer of files to external drives is prohibited however that is negotiable. Therefore the only option for me, and I am sure I speak for a lot of scientists at other pharmaceutical companies, would be to use a USB flash drive to transfer PDF between my work computer and the iPad. 
    As you all know, this is currently not possible. For that reason I cannot implement a paperless environment at work using the iPad.
    Therefore my plea to Apple: Please make it possible that iPad software like iAnnotate, GoodReader or Desktop Connect can implement functionality that will allow the transfer of PDF files from and to a USB flash drive using the camera connection kit. Your restriction is seriously hampering the introduction of the iPad into the corporate environment.

    *Feedback*
    "Use the form below to send us your comments. We read all feedback carefully, but please note that we cannot respond to the comments you submit."
    http://www.apple.com/feedback/ipad.html
    Airstash
                                            Compatibility                               
                                            Wireless operation:                               
                                                    Web browser WiFi b/g capable device                                       
                                                    Optimized experience for iPhone, iPod touch, and iPad via HTML5                                       
                                                    No internet connection required                                       
                                            USB operation:                               
                                                    Compatible with most operating systems that support USB Mass Storage Class (thumb drives)                                       
                                                    Firmware update via file drag and drop                                       
    http://www.airstash.com/

  • Error When Burning ISO File via Disk Utility to DVD

    I am trying to burn an ISO file from Disk Utility onto a DVD but I keep getting an error message. "The device failed to calibrate the laser power level for this media." I have had success burning ISO files before, but haven't done it in a while.

    Try Burn instead
    http://burn-osx.sourceforge.net/Pages/English/home.html

  • Single Sign-On Error while uploading file via WEBADI

    Hello,
    I am getting error while uploading the file via WEBADI. Below is the error message.
    Error Message:
    The Single Sign-On server registration is invalid. Please contact the System Administrator.
    I noticed that this template is uploading data when I connect to Oracle applications and go to WEB ADI responsibility and create a new template.
    In order to make this WEBADI work do I have to create a new template each time I upload the file?
    Our goal is to use the same template, change the numbers and re load it.
    Also, Is there any way I can go to login screen when I click on UPLOAD under ORACLE in excel. That way connection is established.
    Thanks for the help.

    Hi, Actually NW Portal and SQL server has been installed on the same machine.
    Now I am trying to add my SQL server as a JDBC system and checking the connections and I do not see a property under User Management.
    When I try to connect to R/3 backend system "...Dedicated Application server" then I can see the property but not for the JDBC syste.
    any clue how to get rid of the error and to check the connection.
    Thanks in advance.
    Gopi m.

  • Error on exporting a PAR file to portal

    I am trying to export a portal application (java code) to PAR file in the NWDS. i am getting the following error;-
    <b>PAR Upload failed:Please make sure that portal server is running.
    HTTPS is not supported ,please ensure the server is not using HTTPS</b>
    The PAR file is to be uploaded to the portal later.
    Note:The portal application has compiled successfully.
    Is it not supported in this version of the portal?
    Please help
    Regards
    Navneet
    Message was edited by:
            Navneet Giria

    Hello Navneet,
    Check these threads:
    Problems deploying par file via Netweaver Developer Studio
    Unable to Upload  portal application from NWDS
    If this does not help, try deploying from
    System Administration-> Support-> Portal Runtime-> Administration Console.
    At the option "Please specify a Portal Archive file (PAR) and press "upload" to store it into the PCD." Deploy your par file by giving the path.
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • Error while exporting a par file from NWDSVersion: 7.0.19 to portal7.0

    Hi,
    When i tried to export a par file from NWDS to portal. I am getting the following error. Please can any one help me to trace out this error.
    21.08.09 / 15:09] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
    java.io.FileNotFoundException: http://sgcsapeps:50200/irj/servlet/prt/portal/prteventname/upload/prtroot/com.sap.portal.runtime.system.console.ArchiveUploader?login_submit=on&j_user=XXXXX&j_password=YYYYYYt&j_authscheme=default&uidPasswordLogon=Log%20on
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:792)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:363)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:435)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:221)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:416)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:350)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:531)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:112)
         at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
         at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
         at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Thanks in Advance.
    Regards
    Basha

    Hi,
    Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
    Windows/ Prefereces / SAP Enterprise Portal
    Check the following enteries
    Alias
    Host
    Port
    Login etc.
    Regards,

  • I am trying to export a video I have made in FCP 10.0.8 to Youtube or to a master file and I keep on getting an error -50, or "error exporting master file at frame 20074" Any ideas?

    Having used FCExpress for a while I decided to give FC Pro X a trial, I created my first video with it, exported to youtube and it worked fine.  I am now trying to export my second video to youtube and I get an error -50 which means absolutely nothing.  Not being defeated that easy I tried exporting to a mster file using the H.264 codec and I get an error "exporting master file at frame 20074" - again another useless error.  It takes at least 10 minutes to get to this error after the rendering has started, it gets about 12% in.  Any ideas where to start - I am seriously at the point of giving up with Final Cut Pro X simply on the basis of it being more trouble than its worth - I am just glad I did not pay for it yet...
    Any help would be much appreciated.
    Gerry

    Hi Russ,
    Thanks for your response. I am not an experienced user of FC or other video editing software but if its that hit and miss I think I will go to the trouble of finding some better software - I have a busy enough life as is, I don;t want to get into second guessing what a software problem might be!
    I have just successfully exported my video to a master file using one of the Apple codec options so it looks like it could be to do with the H.264 codec.  I am wondering if Apples Compressor software would solve this problem - the only way to try this it to buy it, there is not trial for the compressor app.  Any ideas?
    Thanks
    Gerry

  • EXPORT XFA error while writing XFA files

    Hello Experts,
    We are facing an error while exporting to PDF from BEx report.
    We are on EP7 SP14. BI on SP16.
    After the report is displayed and Export to PDF button is clicked, a new window opens which shows following:
    1. Error:
    Message: No message was provided.
    Stack trace: java.lang.NullPointerException
    at com.sap.ip.bi.export.model.layout.impl.Margins.<init>(Margins.java:32)
    at com.sap.ip.bi.export.model.layout.impl.CellLayout.<init>(CellLayout.java:48)
    at com.sap.ip.bi.export.model.layout.impl.CellLayout.dub(CellLayout.java:57)
    at com.sap.ip.bi.export.xfa.xftextensions.TableContentIterator.createCell(TableContentIterator.java:170)
    at com.sap.ip.bi.export.xfa.xftextensions.TableContentIterator.next(TableContentIterator.java:104)
    at com.sap.ip.bi.export.xfa.xftextensions.TableSubFormSet.writeXFD(TableSubFormSet.java:1189)
    at com.sap.ip.bi.export.xfa.core.Xft_subform.writeXFD(Xft_subform.java:1604)
    at com.sap.ip.bi.export.xfa.core.Xft_subform.writeXFD(Xft_subform.java:1604)
    at com.sap.ip.bi.export.xfa.core.Xft_template.writeXFD(Xft_template.java:216)
    at com.sap.ip.bi.export.xfa.core.Xft.writeXFD(Xft.java:62)
    at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:294)
    at com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)
    at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:96)
    at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:626)
    at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:405)
    at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:325)
    at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:71)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:593)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:132)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:349)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4494)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4568)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4204)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4150)
    at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:2948)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2794)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:994)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:883)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:860)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:359)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:276)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java
    :33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Message: EXPORT XFA error while writing XFA files
    Stack trace: com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA error while writing XFA files
    at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:311)
    at com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)
    at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:96)
    at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:626)
    at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:405)
    at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:325)
    at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:71)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:593)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:132)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:349)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4494)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4568)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4204)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4150)
    at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:2948)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2794)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:994)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:883)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:860)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:359)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:276)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java
    :33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.NullPointerException
    at com.sap.ip.bi.export.model.layout.impl.Margins.<init>(Margins.java:32)
    at com.sap.ip.bi.export.model.layout.impl.CellLayout.<init>(CellLayout.java:48)
    at com.sap.ip.bi.export.model.layout.impl.CellLayout.dub(CellLayout.java:57)
    at com.sap.ip.bi.export.xfa.xftextensions.TableContentIterator.createCell(TableContentIterator.java:170)
    at com.sap.ip.bi.export.xfa.xftextensions.TableContentIterator.next(TableContentIterator.java:104)
    at com.sap.ip.bi.export.xfa.xftextensions.TableSubFormSet.writeXFD(TableSubFormSet.java:1189)
    at com.sap.ip.bi.export.xfa.core.Xft_subform.writeXFD(Xft_subform.java:1604)
    at com.sap.ip.bi.export.xfa.core.Xft_subform.writeXFD(Xft_subform.java:1604)
    at com.sap.ip.bi.export.xfa.core.Xft_template.writeXFD(Xft_template.java:216)
    at com.sap.ip.bi.export.xfa.core.Xft.writeXFD(Xft.java:62)
    at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:294)
    2. Message:
    No metadata is available for "DISABLE_NAVIGATION":
    <parameterList>
      <param name="BI_COMMAND_TYPE" value="OPEN_DIALOG_DISABLE_NAVIGATION"/>
      <param name="TARGET_DIALOG_REF" value="DISABLE_NAVIGATION"/>
    </parameterList>
    In this window, complete screen of report is displayed as an image instead of PDF.
    Please let me know if anybody faced similar issue earlier.
    It was working perfect earlier, but suddenly error started.
    regards
    Kedar Kulkarni

    No proper findings, but issue resolved.
    Problem i found that we got a domain change and service values were not refreshed until we apply new patch.
    So when we applied patch level 6 on BI WEBAPP& BI BASE S URL for ADS got refreshed and we faced the issue.
    After resetting the URL to new domain problem got resolved.
    Regards
    Kedar Kulkarni

  • Error message exporting large picture file from Aperture 3.5

    Recently I took a large panaramic comprised of 165 pictures using Gigapan Epic Pro and stitched together using software provided with Gigapan. I exported the stitched file into Aperture to perform final edits.  When I go to export the final version I keep getting an error message. The file size will be approximately 2.0 GB. I've been able to export a 0.7 GB file without problems (it did take several minutes). I have a late 2009 27" iMac with 3.3 GHZ Intel Core 2 Duo processor and 16 GB memory. Any suggestions?  Not sure if this is an Aperture problem or if my system is not up to the task. Below is the error mesage I receive.  Thanks for your assistance.

    Testing: Exporting a large TIFF - the original is 24512 × 23016 (564,2 MP), 1.05 GB
    The exported file that I am seeing on my Desktop after 10 minutes, is showing this in the Preview:
    But after exporting there was no message at - neither an error message nor the usual alert when finished "Export 1 version completed - Reveal ...".
    So, I am not yet conviced that the export went well, but Aperture can export gigantic TIFFs.
    What is the file format you have been using? My test was done with TIFF, 16 bit.
    Aperture 3.5.1

  • System Measurement - Error while exporting to LAW file

    Hi all,
    We have the SAP ERP 6.0. We started the system measurement on our ECC landscape with the aim to consolidate the results with LAW in Solution Manager. We performed the measurement in our production server and we select System Measurement - Export to Law File and execute, we are having the following error:
    Last measurement was not successfully performed (see USMM)
    We are having the error despite doing the measurement afresh
    Grateful if you could suggest what to do.
    regds

    Hi all
    thanks for all your comments.
    We have tested in other system with Basis 14 and it works there. So we are presuming that the error is due to Basis being level 13.
    Still, we have informed SAP about the error.
    thanks all.

  • When I attempt to Extend a PDF document via my LiveCycle server I get the error"Application Alert" The file could not be saved. Are you sure you want to lose your results?

    When I attempt to Extend a PDF document via my LiveCycle server I get the error"Application Alert" The file could not be saved. Are you sure you want to lose your results?
    I can login fine via this address.
    http://[Server Address]:[Port Number]/ReaderExtensions
    And I can apply the extension successfully, but when I attempt to download I receive the error above.
    Application Alert" The file could not be saved. Are you sure you want to lose your results?

    Please check the supported version of flash player on your client machine for LiveCycle : http://bit.ly/1wGD9t4
    Upgrade or downgrade it accordingly.
    Thanks,
    Wasil

  • Why do I sometimes get an error message when trying to export as mp3 file?

    I'm using a Intel Core Duo Imac 2 Ghz with 2 meg memory and just upgraded to iLife 08. I was excited to see that Garageband will now let you save/export your projects as MP3 files. But I sometimes get an error message, i.e., -46 or some such number, when I try to save/export the project to iWeb. What is causing this? If I save the same project as an AAC file everything is fine. Go figure. I was really looking forward to Apple doing this in this release and won't be happy until it works perfectly. For your information I record a audio podcast and export the recorded file to iWeb and publish the site to .mac. So I'm a loyal Apple customer. My site is a gay oriented website and the new features of iWeb , including Photo albums can be viewed there. I'll email the link to anyone interested.

    I know man what your saying. I should have written it down when it happened last night. I figured if anyone had had the same issue they might know the reason. I'll try doing a test recording today and see if the same issue arises. Meanwhile, if anyone has this happen to them please let me know. Thanks

Maybe you are looking for

  • I want to arrange photos in iPhoto by specific import group

    Mid 2010 Mac Pro, Running Mavericks 10.9.4 Iphoto 09 verision 8.1.2 (424) Is there a fix, I would appreciate it. Also is there a way to save everything to an external hard drive because Im giving this Mac away and want to restart to original settings

  • No of database connections

    There is a connection from the webserver to the database server in the marvel. When the number of hits go up,naturally, the number of connects should go up. Where or how do U set up this? ( Is there a connection pool and that has settings)

  • How to get OOTB analytics in to rpd ?

    Hello Gurus We have DEV and Prod, the rpd in DEV has all analytics and PROD has only HR and FINS analytics projects, now we start implementing supplychain analytics and configured SCH and OM analytics in DEV and now time to move to PROD but there is

  • Leopard 10.5.1 and Powerpoint

    I'm noticing that wheras in Tiger I could preview design templates in powerpoint, in Leopard I can't seem to do that. They show as generic icons. I can see presentations in preview, but not the individual design templates. Anyone notice this?

  • IChat video quality problem

    hi guys. ive been using ichat recently. and its great. audio is good. No lag. video looks smooth... But that comes with a price. Whenever my friend makes a sudden movement. the video starts to distort for a few seconds. I've been reading that me and