Topic
No replies
PoulomiGupta
PoulomiGupta
2 Posts
ACCEPTED ANSWER

Pinned topic ItemMergeSet.commitItems Exception

‏2013-06-03T16:10:09Z |

Hi All,

I am trying to save around 5000 items at one time in DB by redaing an excel sheet but i am facing below exception.Is anyone has any idea why thsi exception is occuring?

 

main():: Error= Exception:Generic Error

Generic Error

        at com.ibm.ccd.content.common.ItemMergeSet.commitItems(ItemMergeSet.java:296)

        at com.ibm.ccd.content.common.ItemMergeSet.addItem(ItemMergeSet.java:236)

        at com.ibm.ccd.content.common.ItemMergeSet.addItem(ItemMergeSet.java:179)

        at com.ibm.ccd.common.script.ScriptOperationsItem.saveCtgItem(ScriptOperationsItem.java:960)

        at com.ibm.ccd.common.interpreter.operation.generated.GenSaveCtgItemOperation.execute(GenSaveCtgItemOperation.java:74)

at com.ibm.ccd.common.interpreter.engine.Script.runFunction(Script.java:554)

        at com.ibm.ccd.common.interpreter.engine.Script.execute(Script.java:484)

        at com.ibm.ccd.common.interpreter.engine.Script.run(Script.java:335)

        at com.ibm.ccd.connectivity.common.DataImporter.importCatalog(DataImporter.java:389)

        at com.ibm.ccd.connectivity.common.CtgToDb.execute(CtgToDb.java:436)

        at com.ibm.ccd.scheduler.threads.SchedulerThread.fuzaoRun(SchedulerThread.java:262)

        at com.ibm.ccd.common.util.FuzaoRunnableAdapter.run(FuzaoRunnableAdapter.java:54)

        at com.ibm.ccd.common.util.FuzaoThread.run(FuzaoThread.java:123)

Caused by: java.lang.NullPointerException

        at com.ibm.ccd.content.common.ItemMergeSet.prepareCommitItem(ItemMergeSet.java:423)

        at com.ibm.ccd.content.common.ItemMergeSet.commitItems(ItemMergeSet.java:277)

        ... 18 more