cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ME SDK 6.1 - Getting Error during custom POD loading

Former Member
0 Kudos

Dear Experts,

I have developed a custom POD UI plugin in SAP NWDS . Added in the dependency list of ear module(apps/ear) and deployed. Plugin deployed without any issues. I am able to browse .jsp page inside .war file using standalone URL - http://<server>:<port>/podpluginwar/com/<vender_id>/wpmf/podplugin/podpluginview.jsp.

For this plugin execution followed below steps to create a custom POD.

1. Created a custom POD  by copying standard POD operation using POD maintenance activity.

2. Using activity maintenance created an activity which refers to the above copied POD using below url


http://localhost:50000/podpluginwar/com/sap/me/wpmf/client/template.jsf?WORKSTATION=SAMPLE_POD_ME5


3. Added required permissions to this activity using user group maintenance for execution.


When I clicked on the custom POD link in SAP ME home screen got an error  " An internal error occurred; contact technical support " in the red window.


When I searched logs for this got below stacktrace


EXCEPTION]

javax.el.PropertyNotFoundException: Target Unreachable, identifier 'frameworkBackingBean' resolved to null

at com.sun.el.parser.AstValue.getTarget(AstValue.java:84)

at com.sun.el.parser.AstValue.setValue(AstValue.java:160)

at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:269)

at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:250)

at com.sap.tc.ls.faces.application.UCFApplication.createComponent(UCFApplication.java:241)

at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)

at com.sap.ui.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:371)

at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:486)

at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:670)

at com.sap.ui.faces.webapp.UIComponentELTag.findComponent(UIComponentELTag.java:534)

at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)

at com.sap.ui.faces.webapp.UIComponentELTag.doStartTag(UIComponentELTag.java:992)

at JEE_jsp_com_sap_me_wpmf_client_template_2992150_1450187553436_1450187781916._jspService(JEE_jsp_com_sap_me_wpmf_client_template_2992150_1450187553436_1450187781916.java:248)

at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:428)

at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:147)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doCached(RequestDispatcherImpl.java:664)

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:497)

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)

at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:468)

at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)

at com.sap.tc.ls.faces.application.UCFViewHandler.renderView(UCFViewHandler.java:232)

at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

at com.sap.tc.ls.faces.lifecycle.UCFLifecycle.render(UCFLifecycle.java:131)

at com.sap.tc.ls.environment.ResourceLifecycle.render(ResourceLifecycle.java:551)

at com.sap.me.wpmf.FrameworkLifecycle.render(FrameworkLifecycle.java:94)

at com.sap.tc.ls.faces.lifecycle.UCFLifecycle.render(UCFLifecycle.java:131)

at com.sap.tc.ls.environment.ResourceLifecycle.render(ResourceLifecycle.java:551)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:267)

at com.sap.me.wpmf.impl.WPMFFacesServletWrapper.service(WPMFFacesServletWrapper.java:96)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at com.sap.me.frame.web.MeEntranceFilter.doFilter(MeEntranceFilter.java:36)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) 


Please help on this.

Thanks,

Uday

Accepted Solutions (1)

Accepted Solutions (1)

former_member185234
Active Participant
0 Kudos

Hi Uday,

Did you add [SAPMECORE]me/buildplugin-resources dependency to Web DC ?

Regards,

Oksana

Former Member
0 Kudos

Hi Oksana,

Thanks for reply.

I have already added [SAPMECORE]me/buildplugin-resources dependency to web dc  podplugin as below.

and below is the dependency list for apps/ear.

Regards,

Uday

former_member185234
Active Participant
0 Kudos

Hi Uday, Please export SCA file from NWDS and upload it to path https://mdocs.sap.com/mcm/public/v1/open?shr=kwsRwdmzU39jX0e-oHMiNSyVwG4TUwbgh26p2Sd4xrI I will try to reproduce your error. What SAP ME version you are using? Important note :SAP ME deployed to local NW should match the version you imported to NWDI!  thanks, Oksana

Former Member
0 Kudos

Hi Oksana,

I am facing issues during file upload. File upload is failing . Do you have any other link where I can upload files?

Regards,

Uday

former_member185234
Active Participant
0 Kudos

Hi Uday,

Nope, I don't have another links.  What error you are getting ?

regards,

Oksana

Former Member
0 Kudos

Hi Oksana,

Below error I am getting.

Regards,

Uday

former_member185234
Active Participant
0 Kudos

Hi Uday, I created new link , can you please try : https://mdocs.sap.com/mcm/public/v1/open?shr=KmnH6PpbZqBsfxIPHWvJ37bks5uLbaAiq2WDpGMfgiM Password : Sap12345 Also I need to know what SAP ME version is deployed to your NW and what version is imported to NWDI , please let me know this info. Thanks, Oksana

Former Member
0 Kudos

Hi Oksana,

We are using SAP ME 6.1 -  Base 6.1.4.47 Counter 2015061704

Attached here is the components list taken from System Information of both local and NWDI machine.

I am not able to upload .SCA file because it is not giving me any option for file upload.

Regards,

Uday

former_member185234
Active Participant
0 Kudos

Hi Uday,

Please try to upload now , I added permissions to link.

BTW : dud you try to clean IE and Java cache? 

Former Member
0 Kudos

Hi Oksana,

I have tried file upload by cleaning cache but it was failing.

Now I can see the options and started with file upload.

Regards,

Uday.

former_member185234
Active Participant
0 Kudos

I mean to clean IE and Java cache to check that custom POD is working.

It always helps me after changes in WPMF framework and I upgraded to new SAP ME release!

Former Member
0 Kudos

Hi Oksana,

File upload failed again with below error.

Regards.

Uday

Former Member
0 Kudos

Hi Oksana,

I am trying with Java cache cleaning option & will let you know.

Regards,

Uday.

Former Member
0 Kudos

Hi Oksana,

Got the same error.

Regards,

Uday

Former Member
0 Kudos

I got below error in the log viewer.

21-Dec-2015 11:13:40 com.sun.faces.lifecycle.Phase doPhase
SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /com/sap/me/wpmf/client/template.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@3dcf774d] 

former_member185234
Active Participant
0 Kudos

Hi Uday,

xlsx files you provided it is just information about what SAP ME version is deployed to NW.

I need to know what SAP ME version is imported to NWDI. Deploy to NW and import to NWDI is two different processes!

Please open NWDS --> Development Infrastructure perspective. Expand you SC --> SAPMECORE -> me/papi --> Content --> gen -> default -> public -> api -> lib  -> java

Verify that version for jar archives is 6.1.4.47. If not, then import needed version to NWDI.

Regards,

Oksana

Former Member
0 Kudos

Hi Oksana,

Now I can see the SAP ME version which is imported to the NWDI i.e. 6.1.4.16 which is pretty older than SAP ME version(6.1.4.47) which is currently there on my local system.

I will get it updated and let you know the result.

Thanks for your kind help..!

Thanks & Regards,

Uday

former_member185234
Active Participant
0 Kudos

Hi Uday,

Yes, it is the reason why custom POD didn't work. 

Don't forget to clean IE and Java cache again !   after you import SAPMECORE 6.1.4.47 to NWDI , rebuild custom code and redeploy it to NW.

Thanks,

Oksana

Former Member
0 Kudos

Dear Oksana,

Now I am able to view my custom POD and execute custom plugin through it...:).

Lots of thanks for your quick help.

Thanks & Regards,

Uday Salkar

Former Member
0 Kudos

Hi Oksana,

I have developed custom POD plugin on the local test machine. At there it is working fine.!. But when I deployed it on one of the test machine it is giving me below error when the plugin tries to open a SAP MII page through it.

Can you please help on this?

Regards,

Uday

former_member182330
Active Contributor
0 Kudos

Hello Uday,

Have you tried to follow the instruction in the message?

Regards,
Konstantin

Former Member
0 Kudos

Dear Konstantin,


There was some issue with browser cache. Now it is working fine.


Thanks for your quick response..!



Thanks & Regards,

Uday

Answers (0)