You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jaroslav Tulach (JIRA)" <ji...@apache.org> on 2017/10/23 07:21:00 UTC

[jira] [Assigned] (NETBEANS-99) Random errors in ko4j's KnockoutTest

     [ https://issues.apache.org/jira/browse/NETBEANS-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaroslav Tulach reassigned NETBEANS-99:
---------------------------------------

    Assignee: Jaroslav Tulach

> Random errors in ko4j's KnockoutTest
> ------------------------------------
>
>                 Key: NETBEANS-99
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-99
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - HTML4J
>            Reporter: Jaroslav Tulach
>            Assignee: Jaroslav Tulach
>
> 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...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)