Skip to Content
author's profile photo Former Member
Former Member

Dynamic Binding raises Null Pointer Exception

Hi,

I am working on the Ramp up version of the Developer Studio.

I am trying to Import a RFc Model and bind it to the view using the controller.

When i create a binding between the view and controller to map the context and execute the application i get a null pointer exception as follows.

java.lang.NullPointerException

at com.sap.tc.webdynpro.progmodel.context.AttributeInfo.initReferenceAttribute(AttributeInfo.java:518)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initStructureType(NodeInfo.java:803)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:747)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:751)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:751)

If i dont do a dynamic binding ,i am able to transact with SAP using JCO and doing manual binding. So the RFC works fine.

And this problem is only with some RFC's that i am using and other RFC's(Custom and Standard) all work fine with Dynamic binding.

I presume it has something to do with some ABAP datatype present in the structure which is not mapping properly with the default datatypes in the developer Studio but i am not sure which data type.

I think it could be because of using the 'QUAN' ABAP datatype which causes this to happen.

Has anyone faced this problem and has a solution.

Thanks,

Balaji

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2004 at 06:45 AM

    Hi,

    One more piece of information.

    This error occurs when i use the 'QUAN' datatype as part of some structure and use the structure in the Tables Parameter.

    Having the 'QUAN' datatype as a direct parameteter in the import/Export structure does not cause any problems.

    Could this be because we manitain a Referance Table and Referance Feild for 'QUAN' datatypes?

    Regards,

    Balaji

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.