GitHub user ottlukas added a comment to the discussion: Building with Linux failing
Building with `./mvnw -P with-c,with-dotnet,with-go,with-java,with-python,enable-all-checks install ` ``` [INFO] Recompiling the module because of changed source code. [INFO] Compiling with eclipse [debug release 11] to target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Unknown source: java.lang.NullPointerException: Cannot invoke "java.nio.file.FileSystem.getPath(String, String[])" because "this.fs" is null [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for PLC4X 0.13.0: [INFO] [INFO] PLC4X .............................................. SUCCESS [ 36.910 s] [INFO] Code-Generation .................................... SUCCESS [ 1.149 s] [INFO] Code-Generation: Protocol Base: MSpec .............. FAILURE [ 14.916 s] [INFO] Code-Generation: Language Base: Freemarker ......... SKIPPED [INFO] Code-Generation: Protocol Test: Test Mspec ......... SKIPPED [INFO] Protocols .......................................... SKIPPED [INFO] Protocols: AB-ETH .................................. SKIPPED [INFO] Protocols: ADS ..................................... SKIPPED [INFO] Protocols: C-Bus ................................... SKIPPED [INFO] Protocols: BACNet/IP ............................... SKIPPED [INFO] Protocols: CANopen ................................. SKIPPED [INFO] Protocols: Df1 ..................................... SKIPPED [INFO] Protocols: EtherNet/IP ............................. SKIPPED [INFO] Protocols: Firmata ................................. SKIPPED [INFO] Protocols: Generic CAN ............................. SKIPPED [INFO] Protocols: IEC-60870 ............................... SKIPPED [INFO] Protocols: KNXNet/IP ............................... SKIPPED [INFO] Protocols: Modbus .................................. SKIPPED [INFO] Protocols: MQTT .................................... SKIPPED [INFO] Protocols: OPC UA .................................. SKIPPED [INFO] Protocols: Open-Protocol ........................... SKIPPED [INFO] Protocols: PLC4X (Proxy) ........................... SKIPPED [INFO] Protocols: PLC4X (API) ............................. SKIPPED [INFO] Protocols: Profinet ................................ SKIPPED [INFO] Protocols: S7 ...................................... SKIPPED [INFO] Protocols: Simulated ............................... SKIPPED [INFO] Protocols: SocketCAN ............................... SKIPPED [INFO] Protocols: Umas .................................... SKIPPED [INFO] PLC4X Website ...................................... SKIPPED [INFO] PLC4C .............................................. SKIPPED [INFO] PLC4Go ............................................. SKIPPED [INFO] PLC4J .............................................. SKIPPED [INFO] PLC4J: API ......................................... SKIPPED [INFO] PLC4J: SPI ......................................... SKIPPED [INFO] PLC4J: Transports .................................. SKIPPED [INFO] PLC4J: Transports: TCP ............................. SKIPPED [INFO] PLC4J: Transports: Test ............................ SKIPPED [INFO] PLC4J: Utils ....................................... SKIPPED [INFO] PLC4J: Utils: Test Utils ........................... SKIPPED [INFO] PLC4J: Drivers ..................................... SKIPPED [INFO] PLC4J: Driver: AB-ETH .............................. SKIPPED [INFO] PLC4J: Driver: ADS ................................. SKIPPED [INFO] PLC4J: Transports: UDP ............................. SKIPPED [INFO] PLC4J: Utils: Pcap (Shared) ........................ SKIPPED [INFO] PLC4J: Transports: PCAP (shared) ................... SKIPPED [INFO] PLC4J: Utils: Raw-Sockets .......................... SKIPPED [INFO] PLC4J: Transports: Raw Socket ...................... SKIPPED [INFO] PLC4J: Utils: Pcap-Replay .......................... SKIPPED [INFO] PLC4J: Transports: PCAP Replay ..................... SKIPPED [INFO] PLC4J: Driver: S7 .................................. SKIPPED [INFO] PLC4J: Driver: EtherNet/IP ......................... SKIPPED [INFO] PLC4J: Driver: IEC-60870 ........................... SKIPPED [INFO] PLC4J: Utils: Test-Generator ....................... SKIPPED [INFO] PLC4J: Driver: BACNet/IP ........................... SKIPPED [INFO] PLC4J: Driver: C-Bus ............................... SKIPPED [INFO] PLC4J: Transports: CAN ............................. SKIPPED [INFO] PLC4J: Transports: VirtualCAN ...................... SKIPPED [INFO] PLC4J: Driver: CAN ................................. SKIPPED [INFO] PLC4J: Driver: CANopen ............................. SKIPPED [INFO] PLC4J: Driver: CtrlX ............................... SKIPPED [INFO] PLC4J: Transports: Serial .......................... SKIPPED [INFO] PLC4J: Driver: Firmata ............................. SKIPPED [INFO] PLC4J: Driver: KNXNet/IP ........................... SKIPPED [INFO] PLC4J: Driver: Mock ................................ SKIPPED [INFO] PLC4J: Driver: Open-Protocol ....................... SKIPPED [INFO] PLC4J: Driver: Modbus .............................. SKIPPED [INFO] PLC4J: Driver: OPC UA .............................. SKIPPED [INFO] PLC4J: Driver: PLC4X (Proxy) ....................... SKIPPED [INFO] PLC4J: Driver: Profinet ............................ SKIPPED [INFO] PLC4J: Driver: Profinet (NG) ....................... SKIPPED [INFO] PLC4J: Driver: Simulated ........................... SKIPPED [INFO] PLC4J: All Drivers ................................. SKIPPED [INFO] PLC4J: Tools ....................................... SKIPPED [INFO] PLC4J: Tools: Capture Replay ....................... SKIPPED [INFO] PLC4J: Tools: Connection Cache ..................... SKIPPED [INFO] PLC4J: Tools: Object PLC Mapping ................... SKIPPED [INFO] PLC4J: Tools: Scraper .............................. SKIPPED [INFO] PLC4J: Tools: Scraper (NG) ......................... SKIPPED [INFO] PLC4J: Transports: SocketCAN ....................... SKIPPED [INFO] PLC4J: Utils: PLC-Simulator ........................ SKIPPED [INFO] PLC4J: OSGi ........................................ SKIPPED [INFO] PLC4Net ............................................ SKIPPED [INFO] PLC4Py ............................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:09 min [INFO] Finished at: 2025-08-03T11:51:30+02:00 [INFO] ------------------------------------------------------------------------ [INFO] 36 goals, 36 executed [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile (default-compile) on project plc4x-code-generation-protocol-base-mspec: Compilation failure [ERROR] Unknown source: java.lang.NullPointerException: Cannot invoke "java.nio.file.FileSystem.getPath(String, String[])" because "this.fs" is null [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :plc4x-code-generation-protocol-base-mspec ``` GitHub link: https://github.com/apache/plc4x/discussions/2200#discussioncomment-13974966 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
