-1

私はこれを実行しようとしています:メソッドを呼び出しPGDirTestController.performExecute();ます。performExecute()else{}performExecute()callUSInterface();

残念ながら、これは次の NullPointerException をスローしています。

Exception in thread "main" java.lang.NullPointerException
    at com.XX.commerce.bes.member.test.commands.XXGetProgramGuideDirectTestControllerCmdImpl.performExecute(XXGetProgramGuideDirectTestControllerCmdImpl.java:51)
    at com.XX.commerce.bes.member.test.commands.XXGetProgramGuideDirectTestControllerCmdImpl.main(XXGetProgramGuideDirectTestControllerCmdImpl.java:199)

XXGetProgramGuideDirectTestControllerCmdImpl の 51 行目は次のとおりです。

if (getRequestProperties().getString(XXMessagingConstants.STORE_ID).equals(XXMessagingConstants.DE_STORE_ID)) {

XXGetProgramGuideDirectTestControllerCmdImpl の 199 行目は次のとおりです。

PGDirTestController.performExecute();

誰が私が間違っているのか、それを修正する方法を知っていますか?

私はまだJavaにかなり慣れていません。

4

3 に答える 3