Skip to content

- Add comprehensive documentation to transport layer interfaces and… #9

- Add comprehensive documentation to transport layer interfaces and…

- Add comprehensive documentation to transport layer interfaces and… #9

GitHub Actions / Test Results (Java 21) succeeded Sep 17, 2025 in 0s

16 errors, 1 fail, 95 pass in 26s

112 tests  +1   95 ✅ +1   26s ⏱️ ±0s
 10 suites ±0    0 💤 ±0 
 10 files   ±0    1 ❌ ±0   16 🔥 ±0 

Results for commit 3f361e6. ± Comparison against earlier commit 8fa3ae9.

Annotations

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromUrl_whenUrlLoadFails_shouldThrowJLException (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 1s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
WARNING: A Java agent has been loaded dynamically (/home/runner/.m2/repository/net/bytebuddy/byte-buddy-agent/1.14.9/byte-buddy-agent-1.14.9.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromFile_whenFileLoadFails_shouldThrowJLException (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

geoJsonLayer_shouldGenerateUniqueIds (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromUrl_withValidUrl_shouldLoadUrlAndExecuteScript (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromContent_withNullContent_shouldThrowNullPointerException (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

geoJsonLayer_shouldExtendJLLayer (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromUrl_withNullUrl_shouldThrowNullPointerException (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

removeGeoJson_withNullId_shouldThrowNullPointerException (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

constructor_withNullEngine_shouldAcceptNullEngine (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromFile_withNullFile_shouldThrowNullPointerException (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromContent_whenContentLoadFails_shouldThrowJLException (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

multipleGeoJsonOperations_shouldExecuteAllScripts (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

constructor_withNullCallbackHandler_shouldAcceptNullHandler (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

removeGeoJson_shouldExecuteRemoveScriptAndRemoveFromCallback (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromFile_withValidFile_shouldLoadFileAndExecuteScript (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 0 in io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

addFromContent_withValidContent_shouldLoadContentAndExecuteScript (io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest) with error

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml [took 0s]
Raw output
Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
java.lang.NullPointerException: Cannot invoke "netscape.javascript.JSObject.setMember(String, Object)" because "window" is null
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.initializeBridge(JLJavaFXClientToServerTransporter.java:30)
	at io.github.makbn.jlmap.fx.engine.JLJavaFXClientToServerTransporter.<init>(JLJavaFXClientToServerTransporter.java:23)
	at io.github.makbn.jlmap.fx.layer.JLGeoJsonLayer.<init>(JLGeoJsonLayer.java:78)
	at io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.setUp(JLGeoJsonLayerTest.java:57)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check warning on line 0 in io.github.makbn.jlmap.fx.test.internal.JLFxMapRendererTest

See this annotation in the file changed.

@github-actions github-actions / Test Results (Java 21)

render_shouldIncludeMapHelperFunctions (io.github.makbn.jlmap.fx.test.internal.JLFxMapRendererTest) failed

jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.internal.JLFxMapRendererTest.xml [took 0s]
Raw output
Expecting actual:
  "<!DOCTYPE html><html lang="EN"><head><title>JLMap Java - Leaflet</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin=""><script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/leaflet-providers.min.js"></script><script>function jlMapServerCallbackDelegate(functionName, param1, param2, param3, param4, param5) {
    //do nothing
}

let fun = jlMapServerCallbackDelegate;
jlMapServerCallbackDelegate = function () {
    if ('serverCallback' in window) {
        serverCallback.functionCalled(arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]);
    }
    fun.apply(this, arguments);
}
</script><script>function getCenterOfElement(event, mapElement) {
   return JSON.stringify(event.latlng ? event.latlng: {
           lat: mapElement.getCenter().lat,
           lng: mapElement.getCenter().lng
   });
}

function getMapBounds(mapElement) {
   return JSON.stringify({
                   "northEast": {
                       "lat": mapElement.getBounds().getNorthEast().lat,
                       "lng": mapElement.getBounds().getNorthEast().lng,
                   },
                   "southWest": {
                       "lat": mapElement.getBounds().getSouthWest().lat,
                       "lng": mapElement.getBounds().getSouthWest().lng,
                   }
               });
   }
</script><script>function eventHandler(functionType, jlType, uuid, param1, param2, param3) {
     jlMapServerCallbackDelegate(functionType, jlType, uuid, param1, param2, param3);
}
</script></head><body style="margin: 0; background-color: #191a1a;"><div id="jl-map-view" class="leaflet-container leaflet-retina" style="width: 100%; min-height: 100vh; height: 100vh; position: relative; background-color: #191a1a;"></div><script>    this.jlMapElement = document.querySelector('#jl-map-view');
    this.map = L.map(this.jlMapElement, {zoomControl: true}).setView([52.52, 13.405], 13);

    L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(this.map);

    this.outr_eventHandler = eventHandler;
    this.jlMapElement.$server = {
        eventHandler: (functionType, jlType, uuid, param1, param2, param3) =>
            this.outr_eventHandler(functionType, jlType, uuid, param1, param2, param3)
    };

    this.map.jlid = 'main_map';

    this.map.on('click', e => eventHandler('click', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('move', e => eventHandler('move', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('movestart', e => eventHandler('movestart', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('moveend', e => eventHandler('moveend', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('zoom', e => eventHandler('zoom', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('zoomstart', e => eventHandler('zoomstart', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('zoomend', e => eventHandler('zoomend', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('resize', e => eventHandler('resize', 'map', 'main_map', this.map.getZoom(), JSON.stringify({"oldWidth": e.oldSize.x, "oldHeight": e.oldSize.y, "newWidth": e.newSize.x, "newHeight": e.newSize.y}), getMapBounds(this.map)));

</script></body></html>"
to contain:
  "function getCenterOfElement(element)"
java.lang.AssertionError: 

Expecting actual:
  "<!DOCTYPE html><html lang="EN"><head><title>JLMap Java - Leaflet</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin=""><script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/leaflet-providers.min.js"></script><script>function jlMapServerCallbackDelegate(functionName, param1, param2, param3, param4, param5) {
    //do nothing
}

let fun = jlMapServerCallbackDelegate;
jlMapServerCallbackDelegate = function () {
    if ('serverCallback' in window) {
        serverCallback.functionCalled(arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]);
    }
    fun.apply(this, arguments);
}
</script><script>function getCenterOfElement(event, mapElement) {
   return JSON.stringify(event.latlng ? event.latlng: {
           lat: mapElement.getCenter().lat,
           lng: mapElement.getCenter().lng
   });
}

function getMapBounds(mapElement) {
   return JSON.stringify({
                   "northEast": {
                       "lat": mapElement.getBounds().getNorthEast().lat,
                       "lng": mapElement.getBounds().getNorthEast().lng,
                   },
                   "southWest": {
                       "lat": mapElement.getBounds().getSouthWest().lat,
                       "lng": mapElement.getBounds().getSouthWest().lng,
                   }
               });
   }
</script><script>function eventHandler(functionType, jlType, uuid, param1, param2, param3) {
     jlMapServerCallbackDelegate(functionType, jlType, uuid, param1, param2, param3);
}
</script></head><body style="margin: 0; background-color: #191a1a;"><div id="jl-map-view" class="leaflet-container leaflet-retina" style="width: 100%; min-height: 100vh; height: 100vh; position: relative; background-color: #191a1a;"></div><script>    this.jlMapElement = document.querySelector('#jl-map-view');
    this.map = L.map(this.jlMapElement, {zoomControl: true}).setView([52.52, 13.405], 13);

    L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(this.map);

    this.outr_eventHandler = eventHandler;
    this.jlMapElement.$server = {
        eventHandler: (functionType, jlType, uuid, param1, param2, param3) =>
            this.outr_eventHandler(functionType, jlType, uuid, param1, param2, param3)
    };

    this.map.jlid = 'main_map';

    this.map.on('click', e => eventHandler('click', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('move', e => eventHandler('move', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('movestart', e => eventHandler('movestart', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('moveend', e => eventHandler('moveend', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('zoom', e => eventHandler('zoom', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('zoomstart', e => eventHandler('zoomstart', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('zoomend', e => eventHandler('zoomend', 'map', 'main_map', this.map.getZoom(), getCenterOfElement(e, this.map), getMapBounds(this.map)));
    this.map.on('resize', e => eventHandler('resize', 'map', 'main_map', this.map.getZoom(), JSON.stringify({"oldWidth": e.oldSize.x, "oldHeight": e.oldSize.y, "newWidth": e.newSize.x, "newHeight": e.newSize.y}), getMapBounds(this.map)));

</script></body></html>"
to contain:
  "function getCenterOfElement(element)" 
	at io.github.makbn.jlmap.fx.test.internal.JLFxMapRendererTest.render_shouldIncludeMapHelperFunctions(JLFxMapRendererTest.java:124)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)