An internal error occurred during: "Building". Invalid index

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

An internal error occurred during: "Building". Invalid index

Postby rafig » Fri Dec 03, 2021 8:18 pm

Hi all,
I keep getting this error now on a large solution.
I have looked and looked & tried and tried, but cannot work out what the issue is.
I have re-installed Servoy from a fresh download.
I have removed & re-cloned the source workspace from GIT.
I have tried deleting Eclispe ".metadata" folder.
I cannot stop this (& other errors now) occurring.
I thought it might be down to some extra odd control characters in some of the JS files, but after using a tool to remove them, the errors are still threre.
Almost every time I get an Eclipse error dialog, the word 'index' is in there, some I'm thinking it has to be something to do with my workspace/files.
(Hence me trying extreme measure like search/replace on '\0x0D' (ASCII 10, CR) in the JS files,
thinking they may have been throwing something off)
I admit that that this is only happening with one (very large) solution, & only since I upgraded to new M1 Mac
Please can someone help or point me at what might be the issue??
Thanks,
Rafi

[EDIT] Next error is
Code: Select all
An internal error occurred during: "Requesting Script AST from selection".Invalid index

This happens when I click on something like a variable & Eclipse tries to highlight (Mark) the other occurrences.

[EDIT2] And the next error is
Code: Select all
An internal error occurred during: "Requesting Script AST from selection".Invalid index

This happens when I click on a method call & press 'F3' to jump to the actual method.

Hope this might point someone in the right direction.
Servoy Certified Developer
Image
rafig
 
Posts: 635
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK

Re: An internal error occurred during: "Building". Invalid i

Postby rafig » Wed Dec 08, 2021 5:55 pm

All fixed by update to new Mac M1 release
https://forum.servoy.com/viewtopic.php?f=1&t=23387
Thanks
Servoy Certified Developer
Image
rafig
 
Posts: 635
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 0 guests

cron