I have a non-visual WebDynpro DC that contains a single data model. The model has been added to the public part of the DC.
I have another visual WebDynpro DC that makes use of the data model in the first DC. If I explicitly reference the model in the first DC, everything works just fine. I can input data, invoke the model, and see the response displayed on the page.
However, I'm trying to create a custom controller that hides the data model. When in the data modeller for the visual WD DC, I right click on the 'Custom Controllers' pane, and select 'Apply Template'. I create a Service Controller, and select the model that's been imported (actually, that's been referenced as a used component) from the first DC. I then select the data elements from the context that I want bound into this custom controller. Click next, give a more descriptive method name, and then click Finish. I get an internal error as follows:
Source controller implementation file is not accessible (D:/src/.dtc/LocalDevelopment/DCs/example.com/test-wd-view/_comp/gen_wdp/packages/com/example/wd/AdderModelCust.java)
Exception: java.lang.NullPointerException
Am I doing this correctly, or am I missing a step or two?