Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
From time to time there appear to be random issues with KnockoutTest - they are probably caused by garbage collection kicking in. They shall be more robust:
Tests run: 78, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.451 sec <<< FAILURE!
displayContentOfComputedArrayOnComputedASubpair(org.netbeans.html.ko4j.KOFx) Time elapsed: 0.03 sec <<< FAILURE!
java.lang.AssertionError: We got callback from 2nd child null expecting: null actual: Last
at net.java.html.json.tests.Utils.assertEquals(Utils.java:217)
at net.java.html.json.tests.KnockoutTest.displayContentOfComputedArrayOnComputedASubpair(KnockoutTest.java:622)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.netbeans.html.ko4j.KOFx.run(KOFx.java:73)
Tests run: 78, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.772 sec <<< FAILURE!
rawObject(org.netbeans.html.ko4j.KOFx) Time elapsed: 0.067 sec <<< FAILURE!
netscape.javascript.JSException: netscape.javascript.JSException: java.lang.NullPointerException
at org.netbeans.html.ko4j.$JsCallbacks$.raw$org_netbeans_html_ko4j_Knockout$setValue$ILjava_lang_Object_2($JsCallbacks$.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
at com.sun.webkit.Utilities.lambda$fwkInvokeWithContext$60(Utilities.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.webkit.Utilities.fwkInvokeWithContext(Utilities.java:94)
at com.sun.webkit.dom.JSObject.callImpl(Native Method)
at com.sun.webkit.dom.JSObject.call(JSObject.java:115)
at org.netbeans.html.boot.fx.AbstractFXPresenter$JSFn.invokeImpl(AbstractFXPresenter.java:418)
Failed tests:
KOFx.run:73 ยป JS netscape.javascript.JSException: java.lang.NullPointerExcepti...