Skip to main content
Question

IFS Developer VS Code extension

  • August 9, 2026
  • 5 replies
  • 45 views

Forum|alt.badge.img+10

Hello, 

I’m looking to set up VSCode IFS Developper Plugin but having some trobles.

 

I have cloned the git repository threw copying the customer solution git link from the BuildPlace

 

then in VSCode : 

 

 

 

The repo has correctly been imported

 

 

IFS extension is working, the code generator target version is 25R2.4 and the Marble LSP server is working

 

 

IFS File Explorer is detecting the repo : 

 

but when modifying a code and generating it i get the following error : 

 

 

=== CODE GENERATION SUMMARY ===

Generating code for PurchChgOrdLine-Cust.plsql

----------------------------------------------------------

Sending generateCode request to LSP server...

ERROR: generateCode request failed

Error details: {

  "code": -32603,

  "data": "java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke \"java.io.File.getParentFile()\" because the return value of \"java.io.File.getParentFile()\" is null\r\n\tat java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)\r\n\tat java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359)\r\n\tat java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364)\r\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1791)\r\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1781)\r\n\tat java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)\r\n\tat java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1450)\r\n\tat java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2019)\r\n\tat java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)\r\nCaused by: java.lang.NullPointerException: Cannot invoke \"java.io.File.getParentFile()\" because the return value of \"java.io.File.getParentFile()\" is null\r\n\tat ifs.dev.buildtasks.ifsapp20.SingleFileRunnerUtil.prepareTaskExecutor(SingleFileRunnerUtil.java:29)\r\n\tat ifs.dev.buildtasks.ifsapp20.LspServer.runCodeGeneration(LspServer.java:206)\r\n\tat ifs.dev.buildtasks.ifsapp20.LspServer.lambda$generateCodeWithSecondaryLocation$3(LspServer.java:144)\r\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1789)\r\n\t... 5 more\r\n"

}

 

 

Any idea please?

 

 

5 replies

alhase
Do Gooder (Employee)
Forum|alt.badge.img+3
  • Do Gooder (Employee)
  • August 10, 2026

Hi ​@N.GEORGI - thanks for giving the preview a spin and for forwarding your error.

I will send this over to the engineering team for review.

 


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • August 10, 2026

@alhase thank you.

 

If you have a chance, could you please look into this as well?

There is a link to the documentation, but the documentation appears is not publically accessible. is it possible to share it please?

 

 


Forum|alt.badge.img+5

Hi,

When running codegeneration from an implementation file such as plsql, it tries to find the corresponding entity..

 

Have you set the core files location? Just as in developer studio the core files are needed to generate code. Maybe if the corresponding entity is not found this issue could occur.

 

 

Try setting the core files location, if that has not been done..

 

Otherwise, test to generate from the entity itself to see if that works.

 

Let us know the results. We will have a look to see where we can publish the documentation for external users as well.

 

Thanks,

/Andreas


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • August 10, 2026

the set core files Locations has been done .

Still issue with the plsql generation.

BUT

When generating from the entity, the generate code works. Thank you ​@Andreas Dahllöf. but why?

 

 

Then i’m asked to define IFSAPP_DATA. then to define the index. why?

 

 

 

 

Another issue, 

When i make Ctrl + C to copy File : 

I get the following error : 

 

The output give the following error : 

 

 

Are those error related to my environment and my setup? or to the extension since it is still in preview mode?

By re-installing VSCode , will that help?

 

 

Also, when generating from the plsql file :

the running codegen is saying running for file but is pointing to my workspace directory.

Also we go from file:/// slash to C:\ backslash

 

 

 

I have also noticed, that when generating the code from the entity the build/gen folder is created in the same place as my workspace and not int it

 

Thank you in advance


Forum|alt.badge.img+5

Hi,

It is a hard requirement that you working folder has the exact name “workspace”.

Can you rename the working folder to workspace, and try, eg:

 

C:\Git_Repos\IFSCloud\workspace

 

 

When deploying the files there are substitution variables in the code, for example:

&IFSAPP_DATA

&IFSAPP_INDEX

 

The value needs to be given, the default values are IFSAPP_DATA and IFSAPP_INDEX so you can just hit enter, and they will be saved during the session.

The same happens in Developer Studio, when you deploy entity files.

 

/Andreas