cancel
Showing results for 
Search instead for 
Did you mean: 

AWS HANA Developer Edition SPS12 - WebIde error running sample application

chaouki_akir
Contributor
0 Kudos

Hello,

I am accessing to a CAL instance ("SAP HANA, developer edition 1.0 SPS 12" ; cloud provider AWS).

For this instance, I am able to access to the SAP Web IDE for SAP HANA.

As Thomas JUNG done in the openSAP course (see minute 14), I was able to create a demo project and a web module (HTML5).

But when running this demo/web application from the "SAP Web IDE for SAP HANA", I am getting an error. The application failed to run. The log message is :
"while trying to invoke the method java.util.Map.isEmpty() of a null object loaded from local variable 'workspaceAttrMap' "

Any clue may be helpful.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate

Development says they know why the error occurs and is correcting the unclear error message. They say the root cause is not setting the space in project settings and try to build MTA project or run a module that does not require build.

Answers (9)

Answers (9)

Nachshon
Advisor
Advisor

Have you assigned space to your project in the project settings?

there is a bug in Web IDE were in some cases when a project is not assigned to a space the exception is displayed instead of a proper error message.

thomas_jung
Developer Advocate
Developer Advocate

I'm a bit stumped because I've never seen this particular error before and everything that I saw in your screenshots looked normal. So I've done two things. First I forwarded this thread to the development manager for this tool to see if someone on the development team knows the source of this particular error. Second I've recreated your simple project in my system. It runs fine there. But I've pushed it out to github.com.

https://github.com/I809764/small_test

Can you try cloning my my project and running it on your system? This is a long shot, but just trying to eliminate some small error that is difficult to sport in the mta.yaml.

chaouki_akir
Contributor
0 Kudos

Thank you for your support. Here the result : same error (+when I logout from SAP Web IDE for SAP hana, a message is catch by the log "Unauthorized URI: /che/runner/workspace53sg17 etc...")

ps : can it be a problem to not be connected from Europe (but from Africa) ? I will be back to Europe in 3 days

Former Member
0 Kudos

Hi,
I have exactly the same problem on SAP HANA AWS cloud.

Did you manage to run application?

Marek

craigcmehil
Community Manager
Community Manager
0 Kudos

https://answers.sap.com/questions/48180/aws-hana-developer-edition-sps12-webide-error-on-a.html The following question should provide the answer for you as well.

Former Member
0 Kudos

I'm getting the same error using SAP HANA Developer Edition SPS12 from CAL, deployed to Azure. Looks like the GUI is not saving the space on the project. As requested above, is there any other way to set the space?

Former Member
0 Kudos

Thomas,

I have exactly the same problem on SAP HANA AWS cloud. Its not possible to save 'space' parameter via GUI. How could I set it up directly in configuration file?

Marek

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Unfortunately most of your images are coming through as broken links. Did you set the space in the project settings? And is the log for the run of this mta.yam you show in the last screenshot producing this same ava.util.Map.isEmpty() of a null object loaded from local variable 'workspaceAttrMap error?

chaouki_akir
Contributor
0 Kudos

I put my images in a pdf file that you can look at here (Scribd).

And yes it is producing the error "ava.util.Map.isEmpty() of a null object loaded from local variable 'workspaceAttrMap".

ps :

- If you want, I can you send in a DM, my login so you can try by your own.


thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Can you post your mta.yaml contents? Also have you tried just creating a new/separate project? Does the problem persist with the separate project?

chaouki_akir
Contributor
0 Kudos

I deleted all projects of the Workspace sot it is empty. Then I do :

Workspace is empty

Right click in Workspace

Click next

Fill project and click Next

File description field and click Next

Click Finish and at this point, the yaml file looks like

chaouki_akir
Contributor
0 Kudos

Then, Right click on Demo5 folder and choose HTML5 Module

Fill name field

Click on next

Click on finish

At this point the mta.yaml file looks like

I click on web5 folder and I click on Run

==> the application failed to run

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I suggest that you post more of the log. The small one line you have posted isn't really enough details.

chaouki_akir
Contributor
0 Kudos

This is the entire log I have access to :

From SAP Web IDE for SAP HANA, after hitting the "run button" and the display of the red message "Application failed to run" is shown, I click on button the blue "Logs" button :

The result is a new opening tab :

If I wait few minutes and hit again "blue button log", the tab opened displays another message : "

{"message":"Invalid run task id: 2"}