[Need Your Help] Error in the sample Travel Approval Application

Product/components used and version/fix level:

NaturalOne

Detailed explanation of the problem:

I’m new to the NaturalOne, I run the community edition on windows

I follow the guide to run the sample project Travel, when I run the upload csv file step, after I click the upload button, it jump to the logon page again, and shows error in TR-SUPP,

then I open the TR-SUPP.NSP, it shows an other error.

An error has occurred. See error log for more details.
Cannot invoke "org.eclipse.core.resources.IFolder.getFile(String)" because "uiProjectFolder" is null

I also try run the NaturalONE on linux, but get the same error.

I just run the sample code didn’t change any thing, could you give some advice how to fix this issue? thanks.

Error messages / full error message screenshot / log file:

An error has occurred. See error log for more details.
Cannot invoke "org.eclipse.core.resources.IFolder.getFile(String)" because "uiProjectFolder" is null

Question related to a free trial, or to a production (customer) instance?

Community Edition

Hi Jun,

When I select a different file than the expenses_trip1.csv or expenses_trip2.csv of the Expenses folder, then it also jumps to the logon page, When I select expenses_trip1.csv, then it works without errors. Which file did you select?

When opening the TR-SUPP.NSP or the MG-SUPP.NSP, I see exactly the exception you attached. Other files I can open without this exception. At a first glance I think it happens, when NaturalONE tries to find the depending objects (Dependency view) of TR-SUPP.NSP and is confused about the names: The filename of the Adapter is TR-SUPP-.NS8 (=8 characters). But in the corresponding layout file travel_support.xml the Adapter name is TR-SUPP-A. The same inconsistent naming is done in MG-SUPP.NSP. If I close the Dependency view, I can open the TR-SUPP.NSP without error.

This means: This looks to me like a problem of the Travel sample. We will check this and - if this is the reason - correct the Travel sample.

Best Regards,

Christine

Hi Christine,

I tried both expenses_trip1.csv and expenses_trip2.csv, they both jump to the logn screen when I run it.

Hi Jun,

Could you please attach a screen shot of your upload dialog. Please see my screenshot attached.

Best Regards,

Christine

Hi Christine,

I have upload the screenshot, please check,

thanks.