Hi Guys,
I have set up a Tomcat communicating with domino through DIIOP. The attached errors seem to occure when I access a field of a document that has no value.
And if this field is access by getItemValueSting(“fieldnameABC”) or as you can see by Document.encrypt() it throws the attached exception.
If add right before the getItemValueString(“fieldnameABC”) a replaceItemValue(“fieldnameABC”, “abc”) everything works fine.
I have also tryed to access the Field through the Item.class with the same result, trying to access the value of the item with getText, getValueSting etc.
all result in the same exception. Has anyone had the same problem or any suggestions?
Right now, the only way to fix this is to write a static method mySaveAccessGetItemValueString(Document doc, String fieldname) with a try catch implementation.
But this isn’t realy the thing I was looking for. An other way is to make sure, no empty (or wrong format) values to be filled into the fields, but this can not
be fail safe.
Home someone has some ideas.
Kind regards
Ben
2008-08-18 06:23:03,376 [TP-Processor3] FATAL NewLogFile - NotesException: You must provide an item name
2008-08-18 06:23:03,376 [TP-Processor3] FATAL NewLogFile - at lotus.domino.NotesExceptionHelper.read(Unknown Source)
2008-08-18 06:23:03,377 [TP-Processor3] FATAL NewLogFile - at lotus.domino.NotesExceptionHolder._read(Unknown Source)
2008-08-18 06:23:03,378 [TP-Processor3] FATAL NewLogFile - at lotus.priv.CORBA.iiop.RepImpl.invoke(Unknown Source)
2008-08-18 06:23:03,378 [TP-Processor3] FATAL NewLogFile - at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
2008-08-18 06:23:03,379 [TP-Processor3] FATAL NewLogFile - at lotus.domino.corba._IDocumentStub.doUpdates(Unknown Source)
2008-08-18 06:23:03,379 [TP-Processor3] FATAL NewLogFile - at lotus.domino.cso.Document.sendUpdates(Unknown Source)
2008-08-18 06:23:03,380 [TP-Processor3] FATAL NewLogFile - at lotus.domino.cso.Item.getRItem(Unknown Source)
2008-08-18 06:23:03,380 [TP-Processor3] FATAL NewLogFile - at lotus.domino.cso.Item.getValueString(Unknown Source)
2008-08-18 06:23:03,448 [TP-Processor3] FATAL NewLogFile - NotesException: You must provide an item name
2008-08-18 06:23:03,448 [TP-Processor3] FATAL NewLogFile - at lotus.domino.NotesExceptionHelper.read(Unknown Source)
2008-08-18 06:23:03,448 [TP-Processor3] FATAL NewLogFile - at lotus.domino.NotesExceptionHolder._read(Unknown Source)
2008-08-18 06:23:03,449 [TP-Processor3] FATAL NewLogFile - at lotus.priv.CORBA.iiop.RepImpl.invoke(Unknown Source)
2008-08-18 06:23:03,449 [TP-Processor3] FATAL NewLogFile - at lotus.priv.CORBA.portable.ObjectImpl._invoke(Unknown Source)
2008-08-18 06:23:03,449 [TP-Processor3] FATAL NewLogFile - at lotus.domino.corba._IDocumentStub.doUpdates(Unknown Source)
2008-08-18 06:23:03,449 [TP-Processor3] FATAL NewLogFile - at lotus.domino.cso.Document.sendUpdates(Unknown Source)
2008-08-18 06:23:03,450 [TP-Processor3] FATAL NewLogFile - at lotus.domino.cso.Document.encrypt(Unknown Source)