Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #40968 All Revisions ] Back to Issue ]
Summary 0040968: Idocs without main segment can not be imported
Revision 2019-06-25 15:43 by AugustoMauch
Steps To Reproduce In an environment with the SAP Connector installed:
- Configure the connector to import data from /tmp/idocs:
* Open the Communication with SAP ECC Server window
* Add a new row: Communication Protocol -> Debug, Path to iDoc Folder -> /tmp/idocs
- Copy the attached WP_PER_WITHOUT_MAIN_SEGMENT.xml to /tmp/idocs
- Open the Process Request window, and execute the SAP ECC Import Synchronization Process.
- An EDL request will not be created, and the following error will be shown in the log:

2019-06-25 15:41:47,532 [Import Entry - 1] ERROR org.openbravo.externaldata.integration.process.AsynchronousProcessor - Unexpected error processing item
org.openbravo.base.exception.OBException: Error while importing an item: null
    at org.openbravo.service.external.integration.edl.BaseImportItemProcessor.processItem(BaseImportItemProcessor.java:69) ~[classes/:?]
    at org.openbravo.externaldata.integration.process.AsynchronousProcessor.processBatchWithInput(AsynchronousProcessor.java:235) [classes/:?]
    at org.openbravo.externaldata.integration.process.AsynchronousProcessor.processBatch(AsynchronousProcessor.java:211) [classes/:?]
    at org.openbravo.externaldata.integration.process.ProcessRequest.processRequestLine(ProcessRequest.java:477) [classes/:?]
    at org.openbravo.externaldata.integration.process.EDLImportEntryProcessor$EDLEntryProcessRunnable.processEntry(EDLImportEntryProcessor.java:154) [classes/:?]
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:372) [classes/:?]
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:293) [classes/:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: java.lang.NullPointerException
    at org.openbravo.service.external.integration.SynchronizableBusinessObject.getTypeSafeValue(SynchronizableBusinessObject.java:97) ~[classes/:?]
    at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getBobFromUniqueProperties(DalSynchronizableBusinessObjectImporter.java:144) ~[classes/:?]
    at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getBaseOBObjectFromDatabase(DalSynchronizableBusinessObjectImporter.java:128) ~[classes/:?]
    at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getMappedItem(DalSynchronizableBusinessObjectImporter.java:75) ~[classes/:?]
    at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getMappedItem(DalSynchronizableBusinessObjectImporter.java:1) ~[classes/:?]
    at org.openbravo.service.external.integration.importer.SynchronizableBusinessObjectImporter.createOrUpdateItem(SynchronizableBusinessObjectImporter.java:132) ~[classes/:?]
    at org.openbravo.service.external.integration.importer.SynchronizableBusinessObjectImporter.importFromSynchronizableBusinessObject(SynchronizableBusinessObjectImporter.java:107) ~[classes/:?]
    at org.openbravo.service.external.integration.edl.BaseImportItemProcessor.importSBO(BaseImportItemProcessor.java:88) ~[classes/:?]
    at org.openbravo.service.external.integration.edl.BaseImportItemProcessor.processItem(BaseImportItemProcessor.java:63) ~[classes/:?]
    ... 11 more
Revision 2019-05-29 13:22 by AugustoMauch
Steps To Reproduce Try to import an iDoc without main segment (see attachment)


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker