cancel
Showing results for 
Search instead for 
Did you mean: 

getForm returns null?!

Former Member
0 Kudos

i know, i know the question is quite simple but i encounter the following problem when working with a Dynpage:

trying to add components to a form in the doProcessBeforeOutput() method, i get a NullpointerException as getForm() return null.

(i also did create a document -getPageContext().createDocument()- and added a form, but the ui-components added didn't show up )

so are there some additional steps i have to follow, that are not mentioned in the documentation?

its weired as no one seems to ever have encountered the problem : /.

thanks in advance,

patrick

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Patrick,

please minimize(!) your code as far as you can to demonstrate what you are doing /expecting in detail and what does not work. Post as code.

Best regards

Detlev

Former Member
0 Kudos

hi detlev,

thanks for your reply but i solved the problem. wrong base-class (sometimes its so simple : / ).

but probably won't be the last time posting a topic, hopefully next time it'll be a real problem.

thanks,

patrick