Problem in flushing an Object - ObjectOutputzStream

Hi
I have the following code, which writes a table data into a file.
FileOutputStream outFile = new FileOutputStream(fileName);
ObjectOutputStream out = new ObjectOutputStream(outFile);
while(rs.next())
ArrayList a = new ArrayList();
a.add(rs.getObject(1));
a.add(rs.getObject(2));
out.writeObject(a);
out.flush();
}If the rs.size is too big then it results in out of memory exception due to arraylist being created everytime.
In the above code I can see the object writen into file everytime I call flush.
but when I change the code to the following
FileOutputStream outFile = new FileOutputStream(fileName);
ObjectOutputStream out = new ObjectOutputStream(outFile);
ArrayList a = new ArrayList();
while(rs.next())
a.add(rs.getObject(1));
a.add(rs.getObject(2));
out.writeObject(a);
out.flush();
a.clear();
}Here I dont see the object written into the file when I call flush. At the end of loop It writes only the first row of the table and null for rest of the records.
The problem I think is due the arraylist that still has reference in the code, so it is not being writen into the stream.Can anybody give info about flushing the object that is still referred in the code?

You will need to do an out.reset() before your out.write() because and ObjectOutputStream will cache the array list referenced by 'a' the first time it is written and then just write a reference to it after that. The reset() clears the cache.
Note - you might also want to do a clear() on the array list before adding the two values as it will get bigger and bigger and bigger.
Message was edited by:
sabre150

Similar Messages

  • Problem in flushing an Object - ObjectOutputzStream on GZipOutputStream

    Hi
    I have the following code, which is meant for writting a serialized java objects into a file.
    FileOutputStream outFile = new FileOutputStream(fileName);
    GZIPOutputStream gzipOut = new GZIPOutputStream(outFile);
    ObjectOutputStream out = new ObjectOutputStream(gzipOut);The following two lines will be called multiple times (i.e. whenever I receive java object for writing)
    out.writeObject(msg); //msg is a serialized java object
    out.flush();
    Here I'm not seeing the object written into the file when I call flush.
    Only when I close the ObjectOutputStream the objects are getting written to the file.
    Can anybody give me a solution how to write each object lively to the file whenever I receive it.
    Thanks,
    Bhaskar

    You will need to do an out.reset() before your out.write() because and ObjectOutputStream will cache the array list referenced by 'a' the first time it is written and then just write a reference to it after that. The reset() clears the cache.
    Note - you might also want to do a clear() on the array list before adding the two values as it will get bigger and bigger and bigger.
    Message was edited by:
    sabre150

  • Having problem displaying remote shared objects on flash

    hi
    I am using red5 flash server and at that side creating a shared object called chatSharedObject
    For the client side,I am using openlaszlo platform, but using actionscript 3  classes for the shared object implementation. cilent application is connecting to the shared object on the red5 side successfully(as I see on the red5 logs).
    here is the calling code snippet:
    [CODE]
    <button id="sendButton">send
          <handler name="onclick" method="sendClicked" />
          <method name="sendClicked" args="v=0">
            if (message.text != "") {
        //Debug.write("Message sent!");
        classroot.writeSharedObject(message.text); 
        message.clearText();
        message.setAttribute("text_y", 0);
        </method>
    </button>
    <method name="writeSharedObject" args="message">
    [B]//shared object send method is being called[/B]
        this.send("writeMessage",loginScreen.getUsername(),message);
    </method>
    <!--this method writes the messages to the debug window which will be shown to all users-->
    <method name="writeMessage" args="username, msg">
        //Debug.debug(msg);
        messageArea.addText(username+ " : "+msg+"\n");
    </method>[/CODE]
    When I generate the flash object and try to use this application, nothing is being displayed although there is no problem on this issue on the development enviroment. Problem causes when I try to run the swf10 flash object.
    Is this maybe a flash security issue? Although I have added the corresponding locations as the trusted location on the flash settings manager. Still problem goes on. And I think this is not about the flash player, it might be a special problem about the flash object.
    Couldn't find the solution for a week,
    Any help would be appreciated.
    Thanks in advance 
    Cem

    i can even gointo firefox and chrome and save the shared object. then open my i.e and see that object in the results page. but if i save the shared object in i.e it throws that error on the results page. So i'm pretty sure it must be the flushing of the object. Pasting my save code below:
    function makeResult(evt:MouseEvent):void{
          var flushstatus:String = new String();
          gSo.data.o = o;
          gSo.data.c = c;
          gSo.data.t = t;
          gSo.data.c = v;
          gSo.data.u=uid;
          flushstatus = gSo.flush();
          if (flushstatus != null) {
            switch (flushstatus) {
              case SharedObjectFlushStatus.PENDING: //this is incase the user doesnt have enough space
                gSo.addEventListener(NetStatusEvent.NET_STATUS, onFlushStatus);
                break;
              case SharedObjectFlushStatus.FLUSHED:
                redirect();
                break;
    function onFlushStatus(event:NetStatusEvent):void {
      switch (event.info.code) {
        case "SharedObject.Flush.Success":
          gSo.removeEventListener(NetStatusEvent.NET_STATUS, onFlushStatus);
          redirect();
          break;
        case "SharedObject.Flush.Failed":
          trace ("Shared object storage failed");
          break;
    function redirect() {
      try{
        var request:URLRequest = new URLRequest('../node/2');// i supply a base parameter to the swf so the redirect works
        navigateToURL(request,"_self");
      catch(error:Error){
        trace ("Redirect failed");

  • Problem inputting a SecretKey object into a KeyStore

    i am having some problem storing my secretkey object in a key store, i keep getting the error shown below
    cannot resolve symbol - class SecretKeyEntry.
    the whole class is shown below. i have tried to import the SecretKeyEntry class but i still get an error. can anybody help.
    import java.io.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    import java.security.KeyStore.*;
    //import java.security.KeyStore.SecretKeyEntry;
    import java.security.spec.*;
    import java.util.*;
    public class Encrypt {
    public static void main(String args[]) {
    File desFile = new File("Saving a text document as an image file.doc");
    // Create data to encrypt
    Map map = new TreeMap(System.getProperties());
    int number = map.size();
    try {
    // Create Key
    KeyGenerator kg = KeyGenerator.getInstance("DES");
    SecretKey secretKey = kg.generateKey();
    // key store code start
    KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
    char[] password = {'f','r','a','n','k'};
    System.out.println("my password" + password.toString());
    ks.load(null, password);
    // save my secret key
    KeyStore.SecretKeyEntry skEntry = new KeyStore.SecretKeyEntry(mySecretKey);
    ks.setEntry("secretKeyAlias", skEntry, password);
    //keystore code end
    // Create Cipher
    Cipher desCipher =
    Cipher.getInstance("DES/ECB/PKCS5Padding");
    desCipher.init(Cipher.ENCRYPT_MODE, secretKey);
    // Create stream
    FileOutputStream fos = new FileOutputStream(desFile);
    BufferedOutputStream bos = new BufferedOutputStream(fos);
    CipherOutputStream cos = new CipherOutputStream(bos,
    desCipher);
    ObjectOutputStream oos = new ObjectOutputStream(cos);
    // Write objects
    oos.writeObject(map);
    oos.writeInt(number);
    oos.flush();
    oos.close();
    } catch (NoSuchPaddingException e) {
    System.err.println("Padding problem: " + e);
    } catch (NoSuchAlgorithmException e) {
    System.err.println("Invalid algorithm: " + e);
    } catch (InvalidKeyException e) {
    System.err.println("Invalid key: " + e);
    } catch (KeyStoreException e) {
    System.err.println("Problem getting Keystore instance" + e);
    } catch (IOException e) {
    System.err.println("I/O Problem: " + e);
    } catch (Exception e) {
    System.err.println("All other exceptions" + e);
    } finally {
    if (desFile.exists()) {
    //desFile.delete();
    }

    You need to change your setEntry() line to this:ks.setEntry("secretKeyAlias", skEntry, new KeyStore.PasswordProtection(password));You also need to insure that you're running under 1.5 - this API didn't exist before that. If you're picking up a 1.4 JVM/libs, it would explain your compilation error.
    Grant

  • Error "Problem occured locking WS object" while activating Proxy

    Hi All,
    I have move an Inbout proxy to a different Client(QA system) and in QA system that proxy shows incative.
    When i tried to activate that proxy/service in Sproxy, getting error "Problem occured locking WS object".
    Proxy was active in development system and was working fine without any error.
    Please provide some help, what need to be done to fix this issue
    Thanks
    Harshit

    Hi Harshit,
    Try with the following steps in sequence:
    1. Re-genarate the proxy in Development - Create a New Transport Reuest.
    2. Transport the Proxy from PI Dev to PI OA
    3. Confirm the Proxy in PI QA and then, transport the re-generated Request from ECC Dev to ECC QA.
    Regards,
    Pranav.

  • Problem in Importing Configuration object

    Dear All,
    I am facing the problem while importing ID object.
    Business system INTEGRATION_SERVER_XIP is not assigned to a business system group with the ID (XISystemGroup).
    So , I just try to create a Group in Business System in SLD. But I could not find the option to create the System Gourp.
    I could n't see <b> edit groups </b>
    any clue..
    Regards
    Danab

    Hi,
    First, you have to start the SLD.
    To create a group, proceed as follows:
    > Business Systems
    > Click on the drop-down next to Group and select Edit Groups
    > Create a group for each environment (eg DEV, TST, PRD). Specify for each group which Integration Server is used.
    To assign business systems to a group, proceed as follows:
    > Business Systems (Group = all)
    > Select your Business System
    > Click on the Integration tab.
    > Select the related Integration Server (which is associated with a group - see step 1)
    To map your DEV Business Systems to TST Business Systems etc., proceed as follows:
    > Business Systems
    > Select the group of your choice
    > Select your Business System
    > Click on Transport
    > Click on Add/Change Target
    > Select the Target Group and System
    KR, Danny De Roovere

  • Problem with database schema objects in the entity object wizard

    Hi All,
    When creating a new entity object, I am facing a problem with database schema objects in the entity object wizard, database schema objects (check boxes for tables,synonyms...) are disabled. Actually I am using a synonym but I am not able to select the synonym check box.
    Can any of you folks tell me how to enable the database schema objects (check boxes for tables,synonyms...).
    Thanks in Advance.
    Raja.M

    Make sure your using rite version of jdeveloper..
    Make sure your using apps schema and check whether your able perform DML operations in the schema vis sql developer.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                           

  • Problem in Archiving for object FM_BEL_CA

    Dear all,
    Currently I am working on archiving project  who still use the R/3 4.7. One of the problems of archiving Archiving Objects is the FM_BEL_CA
    My questions to this objects are the following;
    1. At test run of Write process in t-code "SARA", the system only show the document type that can or cannot be archived. Is it possible in the SARA that the result of Write process also mention the document nr?
    2 Why the system request full authorization for all FM area?
    3. Is there any way to specify the the archiving is specified for certain FM area only?
    4. When I check the information Structure of this object, there is no Information structure for this FM_BEL_CA.
    5. Is it mandatory to create information structure for this object?
    6. What is the impact to the report on application side if we do not maintain Information Structure in the T-code "SARI"
    7. Is there any support package in relation to this Object?
    Is there anyone out there can help me?
    Thank you.
    Azni

    Hi Ajay, thanks for your information.
    I have tried to make the info structure recommended. In the process of info structure creation, there is no object FM_BEL_CA in the Object List.  Is there any reason for this?
    My next question, in practice is it a common to archive these object?
    My question raise after I read Note 114628. The impact of archiving this object will make the archived data become loss from data base and no way to retrieve it. So, if there is any payment received on the following period or Fiscal year after the archiving key date, will make the payment posted as unassigned revenue/expence.
    Please your support.
    Thank you so much.
    Azni

  • Facing lot of problems with the DATA object  -- Urgent

    Hi,
    I am facing lot of problems with the data object in VC.
    1. I created the RFC initially and then imported the data object in to VC. Later i did some modifications to RFC Function module,and when i reload the data object, I am not able to see the new changes done to RFC in VC.
    2. Even if i delete the function module, after redeploying the IVIew, results are getting displayed.
    3. How stable is the VC?
      I restarted the sql server and portal connection to R3 is also made afresh.... still i am viewing such surprise results..
    please let me know what might be the problem.

    Hi Lior,
    Are u aware of this problem.
    If yes, please let me know...
    Thanks,
    Manjunatha.T.S

  • Problem in Configuring the Object Editor User Interface

    Hi,
         I m using NetWeaver 7.0.11 & facing the problem in Configuring the Object Editor User Interface.In the Configuration Browser ,when i click on Object Editor & choose New Configuration & try to select service,it shows the flollowing error:
    com.sap.caf.rt.exception.CAFBaseRuntimeException: Service manager initialization failed Illegal argument exception: Unable to create javax.ejb.EJBObject.
         at com.sap.caf.rt.ui.cool.generic.ServiceFacade.init(ServiceFacade.java:121)
         at com.sap.caf.rt.ui.cool.generic.ServiceFacade.<init>(ServiceFacade.java:50)
         at com.sap.caf.rt.ui.cool.generic.ServiceFacadeFactory.getFacadeInstance(ServiceFacadeFactory.java:51)
         at com.sap.caf.ui.utils.cool.CoolUtils.getServiceFacade(CoolUtils.java:123)
         at com.sap.caf.ui.ptn.objecteditor.ObjectEditorCC.getServiceFacade(ObjectEditorCC.java:505)
         at com.sap.caf.ui.ptn.objecteditor.wdp.InternalObjectEditorCC.getServiceFacade(InternalObjectEditorCC.java:245)
         at com.sap.caf.ui.ptn.objecteditor.config.OEconfiguratorLayout.onActionSelectModule(OEconfiguratorLayout.java:322)
         at com.sap.caf.ui.ptn.objecteditor.config.wdp.InternalOEconfiguratorLayout.wdInvokeEventHandler(InternalOEconfiguratorLayout.java:300)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         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:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Can anybody please tell,what can be the problem?
    regards
    Sumit

    Hello Sumit
    This is most probably the result of metadata corruption on runtime.
    A possible workaround for this situation is:
    Undeploy all the metadata DCs of all the CAF applications you have
    deployed (these are the components which names end on "/metadata", excl.
    caf/core/metadata and caf/tc/metadata (which are part of CAF itself)).
    And then deploy the CAF applications again.
    Regards,
    Désiré

  • Problem when extracting Smart Objects

    I am having a problem when extracting Smart Objects.
    I work for a small pre-press company. We are working on several computers using one Job Server. Some of these computers have different versions of OS.
    For one of our clients the company uses Smart Objects as a precaution for moire issues. The child file stays a certain size, while the parent file is sized down for print. Our client has started to request the larger Child size image for their use. For the volume of images requested, I have made an action out of Photoshop to open the smart object and save out a flat tif of the larger child file image. Here is the problem...
    At times the smart objects child file does not retain the name of the smart object layer as its being extracted. What could be causing the lost connection between the parent file name to the child file name, and is there a way to prevent it in the future?
    Thanks for your help:)
    DVan

    Hello,
    I have noticed that. The true problem is that the child files name starts out as the parent layer name, but then somewhere down the line it turns wonkie, starting to be named things like 12.psd etc. Please see attached. Your can't re-save the name of the child file either because all that does is save out a named temp file that does not get linked back to the parent file....so what is making the name change?

  • Problem while saving an object under a dev class

    hi all,
            Here is a problem while saving an object under a development class.... I created a Z program (ZSORDER)  through SE38 and while i was saving that Z program under a development class called SALES it shows an error message like  <b>" customer object program ZSORDER can't be assigned to the package SALES"</b>..... can any one can explain what is the problem....

    hi,
    you should have created your package starting with the letters "Y" or "Z".
    you have created it with the letter "s". SALES.
    's' is reserved to be used by SAP.
    so create the package  with the letters 'y' or 'z' like 'ysales' and you wont be getting that problem.
    try it.
    warm regards,
    Hari Kiran

  • Problem when importing Configuration Objects in ID

    Hi,
    i have a problem, when importing configuration objects in my integration directory.
    i have one development system and one corresponding quality assurance system.
    in sld i have defined my business systems + groups + transport targets. the export works fine.
    when trying to import the configuration objects in integration directory of QA i get the following failure.
    #13 07:41:34 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
    Thrown:
    MESSAGE ID: com.sap.aii.ib.core.transport.api.TransportCsException
    com.sap.aii.ib.core.transport.api.TransportCsException: java.lang.NullPointerException
         at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcImport(PvcTransport.java:145)
         at com.sap.aii.ibdir.server.transport.impl.pvc.DirPvcTransport.pvcImport(DirPvcTransport.java:74)
         at com.sap.aii.ibdir.server.transport.impl.service.InternalDirTransportServiceImpl.pvcImport(InternalDirTransportServiceImpl.java:127)
         at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:709)
         at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:365)
         at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:154)
         at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:129)
         at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730)
         at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:105)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
         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(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Serialized server exceptions:
    MESSAGE ID: java.lang.NullPointerException (serialized)
    java.lang.NullPointerException: java.lang.NullPointerException
         at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getMySAPIntegrationServerBusinessSystem(LDAccess.java:301)     at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getMyBusinessSystemGroup(LDAccess.java:243)     at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getBusinessSystemNameInMyGroup(LDAccess.java:173)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.renameService(TransportPostprocessor.java:838)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.renameService(TransportPostprocessor.java:732)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.postprocessTransport(TransportPostprocessor.java:345)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.DirImportPostprocessor.postprocess30Import(DirImportPostprocessor.java:62)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.InternalPostprocessingService.postprocess(InternalPostprocessingService.java:211)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.PostprocessingService.doPostprocessing(PostprocessingService.java:168)     at com.sap.aii.ibdir.server.pvcadapt.XIDirPropagationProvider.transportFinished(XIDirPropagationProvider.java:90)     at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcImport(PvcTransport.java:107)     at com.sap.aii.ibdir.server.transport.impl.pvc.DirPvcTransport.pvcImport(DirPvcTransport.java:74)     at com.sap.aii.ibdir.server.transport.impl.service.InternalDirTransportServiceImpl.pvcImport(InternalDirTransportServiceImpl.java:127)     at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:709)     at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:365)     at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:154)     at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:129)     at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730)     at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:105)     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     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(AccessController.java:215)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #12 07:41:34 [Pool-Thread-3] ERROR com.sap.aii.ib.gui.tools.transport.ConcurrentProgressDialog: Execution failed
    Thrown:
    MESSAGE ID: com.sap.aii.ib.core.transport.api.TransportCsException
    com.sap.aii.ib.core.transport.api.TransportCsException: java.lang.NullPointerException
         at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcImport(PvcTransport.java:145)
         at com.sap.aii.ibdir.server.transport.impl.pvc.DirPvcTransport.pvcImport(DirPvcTransport.java:74)
         at com.sap.aii.ibdir.server.transport.impl.service.InternalDirTransportServiceImpl.pvcImport(InternalDirTransportServiceImpl.java:127)
         at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:709)
         at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:365)
         at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:154)
         at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:129)
         at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730)
         at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:105)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
         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(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Serialized server exceptions:
    MESSAGE ID: java.lang.NullPointerException (serialized)
    java.lang.NullPointerException: java.lang.NullPointerException
         at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getMySAPIntegrationServerBusinessSystem(LDAccess.java:301)     at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getMyBusinessSystemGroup(LDAccess.java:243)     at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getBusinessSystemNameInMyGroup(LDAccess.java:173)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.renameService(TransportPostprocessor.java:838)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.renameService(TransportPostprocessor.java:732)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.postprocessTransport(TransportPostprocessor.java:345)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.DirImportPostprocessor.postprocess30Import(DirImportPostprocessor.java:62)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.InternalPostprocessingService.postprocess(InternalPostprocessingService.java:211)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.PostprocessingService.doPostprocessing(PostprocessingService.java:168)     at com.sap.aii.ibdir.server.pvcadapt.XIDirPropagationProvider.transportFinished(XIDirPropagationProvider.java:90)     at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcImport(PvcTransport.java:107)     at com.sap.aii.ibdir.server.transport.impl.pvc.DirPvcTransport.pvcImport(DirPvcTransport.java:74)     at com.sap.aii.ibdir.server.transport.impl.service.InternalDirTransportServiceImpl.pvcImport(InternalDirTransportServiceImpl.java:127)     at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:709)     at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:365)     at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:154)     at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:129)     at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730)     at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:105)     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     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(AccessController.java:215)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    I couldn't find any similiar problem when searching SDN and SAP Notes.
    BR,
    Martin

    Hi
    Chk this thread
    XI Transport Error
    BR

  • Problem with Copied Business Object : SELFITEM

    Hi,
    sub:    Problem with Copied Business Object : SELFITEM
    I want to use changed selfitem BOR for carbon copy functionality. For it, i copied the BOR : SELFITEM. it is giving error
    In SWI2_DIAG it is showing like this.
    Work item  cannot be read                                                
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    The problem is with COPYING The Business Object. Because , generally we extend BOR ,not copy. But i did copy.
    Please help me regarding this.
    Balaji.T.

    hi Martin,
    The problem may not be in method. because simply we copied the BO:SELFITEM into ZSELF . And i want to test this for a mail at first , whether copied BOR  is working or not.The mail is not triggering . it is saying that it is Error.
    WF_BATCH error...
    I can see error in Tx: SWI2_DIAG ,
    this is Error :
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    Once it is rectified i can modify the method in BO:ZSELF.
    Thank you in Advance..
    Balaji.T.

  • Transport landscape problem (cannot change the object)

    Hi All,
    I have problem to change my object in the integration repository.
    Initially, i only have 1 XI server (dev and prod), until certain level that i have to add additional server for development. So i just install new xi in new box (fresh). and export the repository object form production and import into this new box.
    But the problem is i can't change all the object. is that any workaround to change the configuration so i can use my nex box become development and later on transport back all the changes to original production box.
    Appreciate if you can give me some advise.
    Thank you and Best Regards
    Fernand

    Hi,
    If you need to change anything in repository
    you need to click on the software component in IR
    and at the bottom of the screen you will find two checks
    that will allow (or not) you to change objects
    if you want to change anything in communication channel
    you just need to go to change mode
    you can change anything in ID
    Thanks
    Swarup

Maybe you are looking for

  • Adobe CC Desktop App is completely blank

    Except for the logo and the cogwheel menu. I have no clue what caused this.  I've tried reinstalling multiple times, cleared out the folders, I have no CC apps installed.  - Windows 7 Home Premium Service pack 1 - GeForce 780ti - 16 Gigs ram - Intel

  • Capacity and free space

    Hi all- I recently used my ipod to transfer about 14 gigs of files from one computer to another. after the transfer was done, i deleted the files from the ipod (i accessed the ipod from finder to upload and then delete the files). however, when i vie

  • Cumulative credit value against the combined invoice value

    Is there any FI table where we can find cumulative credit value against combined invoice value. The scenario is.. There is a combined invoive created  for multiple sales documents for the value 5000 dollers . 1.I have created a credit memo& accountin

  • How to start a batch job through a web service call

    I have a batch job created Data Services that I would like to be able to start through a web service call. I have exposed the batch job as a Web Service through the mangement console. The Integrators guide is not the clearest piece of documentation t

  • CS4 error 1 on (non) start up

    I had to reload the program twice.  I am running Windows Vista 64 bit on an Asus CG5270 with 8 gigs of ram.  I have a Nvidia GEforceGT 220 graphics card with 335.23 latest driver.  Before and after reloading the program I cannot get video in source o