cancel
Showing results for 
Search instead for 
Did you mean: 

OData not getting deployed on SMP

saketamraotkar
Participant
0 Kudos

Hi,

We are facing issue deploying OData project to SMP 3.0 SP06 server.

We have SMP 3.0 SP06 and SDK SP07.

We have installed Eclipse Kepler and required Plugins for SAP Mobile Platform OData Project.

We are following following tutorial to create ad deploy OData service using Kepler Release 2.

While deploying OData Project, we are getting eror "Object Type is Null or not contained in a resource" .

Kindly help us to rectify the issue.

Regards

Saket

Tags edited by: Jitendra Kansal (Moderator)

Accepted Solutions (0)

Answers (2)

Answers (2)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Did you get any answer from support team on your issue?

saketamraotkar
Participant
0 Kudos

Not yet Jitendra.

I will post post here, once i hear anything positive from SAP.

Regards

Saket

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saket,

Can you share a screenshot of the same?

What is SMP tools plugin version?

Regards,

JK

saketamraotkar
Participant
0 Kudos

Hi Jitendra,

its 1.4.1.

Both the screen shots are attached for error and Plugin version.

<removed email address : you can make it visible in your profile if you want to connect to somebody>

Regards

Saket

Message was edited by: Jitendra Kansal

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Can you also look at eclipse log

View>About Eclipse>Installation Details>Configuration>View Error Log

Are you able to connect to SMP server through eclipse? Test connection ?

Also, are you accessing SOAP WS URL through a proxy server?

I got same issue sometime back, i did uninstall SMP tools plugin and re-installed it. (it was really strange)

saketamraotkar
Participant
0 Kudos

Jitendra,

I am able to access SMP server from Eclipse, test connectivity success.

i am able to open the SOAP URL on chrome on the server machine.

Error while deploying the project:

  1. eclipse.buildId=4.3.2.M20140221-1700
  2. java.version=1.8.0_45
  3. java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Framework arguments:  -product org.eclipse.epp.package.jee.product

Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Error

Thu Apr 30 15:45:18 GST 2015

Deployment cannot be completed for ARTICLESERVICE

Thu Apr 30 15:44:55 GST 2015 | Validator Logs : Thu Apr 30 15:44:55 GST 2015 | INFO : Mapping Completion Check is successful <mmap>  Thu Apr 30 15:44:55 GST 2015 | INFO : Mapping Location Check is successful <mmap> Thu Apr 30 15:44:55 GST 2015 | INFO : Source/Target check completed successfully <mmap>  Thu Apr 30 15:44:55 GST 2015 | Generation started for ArticleService project Thu Apr 30 15:44:55 GST 2015 | Generation, build and deploy failed for ArticleService with error - Source Code generated by Mapping Generator is null Thu Apr 30 15:44:55 GST 2015 | Deploy skipped; project list is empty Thu Apr 30 15:44:55 GST 2015 | Generation, build and deploy failed for task 679c448a-3fad-4aba-9155-8cce94c0e1ea

  1. eclipse.buildId=4.3.2.M20140221-1700
  2. java.version=1.8.0_45
  3. java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Framework arguments:  -product org.eclipse.epp.package.jee.product

Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Error

Thu Apr 30 15:44:11 GST 2015

The object type is null or not contained in a Resource

Regards

Saket

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

This is the exact same issue what i got sometime back. Try after uninstalling and re-installing the plugins. Hope it should work now.

saketamraotkar
Participant
0 Kudos

Jitendra,

I uninstalled and installed the plugins, eclipse and even SMP also.

but no luck.

I have raised the ticket with SAP, but still no resolution.

Regards

Saket

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Just want to understand,

Is this the first time you tried deploying odata project on SMP 3.0 SP06 server? Were you able to deploy before on same server or on previous version?

Did you upgrade SMP server to SP06 or it was a fresh installation?

Meanwhile, Lets hear from

saketamraotkar
Participant
0 Kudos

Jitendra,

That was really good question from you.

Customer is having existing SMP server as SP03 with SDK SP03, and they have used Juno earlier to developed OData project which was working fine.

Now since SMP server SP07 and SDK SP07 supports OData offline for Windows 8.1 Hybrid app using Kapsel, OData SDK.

Customer has asked us to do small POC to showcase that OData project will be deployed using Kepler to SMP.

So this is new SMP server which does not have any OData project.

Later we will upgrade the SMP SP03 to latest version.

Regards

Saket

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

FYI

SAP has official ended the support of Eclipse Juno in the end of June 2014. See this announcement and now SAP has come up with new SAP Mobile Platform tools in Eclipse Kepler.

Lets wait till you get any response on ticket.

saketamraotkar
Participant
0 Kudos

Jitendra,

Correct, that why we are doing POC which will support Kepler for deploying OData project to SMP.

Regards

Saket