Skip to Content
avatar image
Former Member

Regarding Exception

Hi Experts

I am getting the following Exception while deploying my DC

ERROR: Unknown exception during generation java.lang.NullPointerException (com.sap.ide.webdynpro.generation.console.GenerationConsole$GenerationConsoleException: java.lang.NullPointerException)

Any one plz provide a solution for this and any Valuable Suggestion gets Valuable Points...

Regards

Chandran S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 24, 2008 at 07:16 AM

    hi,

    make sure you are using context Elements properly.......

    bcoz, NullPointerException mostly occur due to Context Nodes and Elements.....

    Principles for using Context:

    1. Create the number of Context nodes or attributes as per your need.

    2. Map those context to UI Element if you want.

    3. Please Initialize all context before yu are going to use, using setProperty or some set() Methods.

    4. Then we can able to use context anyware.......

    Without proper initialization of Context elements, Exception may raise

    please make sure of the above.....

    or else send your code then.....

    Add comment
    10|10000 characters needed characters exceeded