I need help to resolve a Java error when saving files in VSCode. The error begins with the following message and is followed by over 1,500 lines of similar info.
2024-05-07 09:25:46.060 [ERROR] [st.antlr.ContentAssistContextFactory] - java.lang.RuntimeException: java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
This particular error was triggered by saving the Items file shown below but happens frequently when saving any type of config file. I can’t say for sure if it happens every time a file is saved.
The log file showing the full error messages is attached.
openhab.log (208.7 KB)
The Items file that triggered this particular instance is a one-liner.
DateTime RuleTimeAirCompressor "AirCompressorRule [%1$tm/%1$td/%1$ty %1$tH:%1$tM]"
I have no idea how to research/resolve this. Help is very much needed.
- Platform information:
- Hardware: Synology RS1221+
- OS: DSM 7.2 (Linux based), Docker 20.10.23-1437
- Java Runtime Environment: I believe it is Java 17, whatever the openhab/openhab Docker image installs
- openHAB version: 4.1.2 pulled from openhab/openhab about a week ago. But this issue started occurring using openHAB 3
- VSCode is running on Windows 10 Pro with all updates applied
- The opehnab.log file is open in NotePad++ which also has all updates applied.