Skip to Content
avatar image
Former Member

File Upload 7.0

Dear all,

I have created a planning area using BPS0. I have create da BSP page for the file upload. (new version with htmlb)

When testing I get the following error:

The following error text was processed in the system:

An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause

Exception class: CX_SY_REF_IS_INITIAL

Program CL_O24BCVK5TG5265CJ96LKBM7M9JCCP

Include CL_O24BCVK5TG5265CJ96LKBM7M9JCCM005

ABAP Class CL_O24BCVK5TG5265CJ96LKBM7M9JC

Method _ONLAYOUT

BSP Application Z_KPI_LOG

BSP Page Z_KPI_LOG2.HTM

Line 137

Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.

Can you please help me?

Points will be assigned

Thank you

Ramona L.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 03, 2008 at 11:11 AM

    Dear Ramona,

    to find out what is going wrong you can try to debug the application.

    Therefore please open the application Z_KPI_LOG in SE80 (BSP-Application) and go to page Z_KPI_LOG2.HTM. Here you need to set an external-Breakpoint. Now start the application. During debugging of the page look out for objects which are not instantiated (= initial). As soon as a method should be called for and inital object you get your error message.

    Please note: if you have many objects (e.g. textitems) on the page, it way take some time for you to find out in the debugger which object is initial (= not instantiated).

    The typical reasons for this kind of error in WebInterfaces is:

    - a method for an object should be called, but the object is not instantiated

    The reason why the object is not instantiated could be (in your case):

    - a text for an text element is missing

    - there is an error in the transport (So please compare page Z_KPI_LOG2.HTM in your development system and your system where you are getting the error) or try to transport the application again. Also checked if parts of the application are locked in another transport request.

    Hope this helps.

    Matthias Nutt

    SAP Consulting Switzerland

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2008 at 08:50 AM

    Solved

    Add comment
    10|10000 characters needed characters exceeded