cancel
Showing results for 
Search instead for 
Did you mean: 

Object could not be found in cache, key is null!

Former Member
0 Kudos

this is what I am getting when i tried to upload a file..the binary attribute is mapped to comp controller attribute...

I dont understand the exact meaning of this message...

Please reply

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi vd,

Have a look at the simpletype that you've created.I guess whenever you are populating this keys are not set and hence the error.

Please try setting a key value explicitly and then try.

Regards

Amit

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi vd,

Parent node to the attribute is not holding any elements

when you are trying to access it.

Regards

Amit

Message was edited by:

Amit Kesari

Former Member
0 Kudos

Hi Amit

this is what I am doing.

In my view controller, I have a fileData of binary type, is mapped to comp controller attribute.

So when am calling compController.Populate() method from view doInit()...

Populate method


 public void Populate( )
  {
    //@@begin Populate()
  IWDAttributeInfo attInfo1 = wdContext.nodeSubmitElements().getNodeInfo().getAttribute (wdContext.currentSubmitElementsElement().INVOICE_DOC);
ISimpleTypeModifiable type = attInfo1.getModifiableSimpleType();
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
//end
}

I tried wdContext.createSubmitElementsElement().INVOICE_DOC also but still getting the same problem..

-vd