我正在尝试运行此:PGDirTestController.performExecute();
which 调用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还是很陌生。