Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

NullPointerException happened in ChangeProductionServiceInterface

Hi, All

I call the ChangeProductionServiceInterface.changeProduction() in an customized web service . recently the changeProduction() method throws NullPointerException as following.

===============================

java.lang.NullPointerException: while trying to invoke the method java.util.Map.keySet() of an object loaded from local variable 'props'

at com.sap.me.globalization.GlobalizationServiceProvider.retrieveUserContext(GlobalizationServiceProvider.java:29)

at com.visiprise.globalization.impl.DefaultGlobalizationServiceProvider.getUserService(DefaultGlobalizationServiceProvider.java:264)

at com.visiprise.globalization.GlobalizationService.getUserService(GlobalizationService.java:141)

at com.sap.me.production.ChangeProductionSOBean.validateItem(ChangeProductionSOBean.java:1411)

at com.sap.me.production.ChangeProductionSOBean.validateChangeProduction(ChangeProductionSOBean.java:119)

===============================

it sames that [GlobalizationService.getUserService("com.sap.me.globalization.LocaleSpecificTextResourcesGlobalizationService") ] throws that Exception.

how can I resolve the prolem.

thanks

Former Member
Former Member replied

Hello,

On the surface it looks like it was there for a long time.

Could it be that someone has just enabled the DEBUGGING mode in the manufacturing admin page for ME?

Thanks,

Mikhail

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question