Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

Cant resolve problem with null exception? Need some help here.


  • Hello,

    I get an exception in FireFox saying "et is null" in an alert box. I get it as soon as I enter the system settings page or the Event handlers page. Besides that, the system settings page does not show the any settings ( while they are present in the database) and the event handler page just shows an hourglass.

    In internet explorer the same thing only I get more detailed information. The box in the event handler page says (translated from my local language) "typeRef1 is null or not an object" and on the system settings page it says "description is null or not an object"

    It shows up at both my own build and the one from the website. Made a build using MySQL and derby SQL, both same problem.
    I did not update from an earlier version and im using the latest release (1.8.1). Cleared my cache using shift + F5 etc.

    In my firebug console:
    -First a getInitData function is called,
    -after that a MiscDWR.LongPoll shows up
    -after that i get this:

    onreadystatechange()engine.js (regel 652)
    _stateChange(Object { name="batch"})engine.js (regel 855)
    _eval(Object { name="script"})engine.js (regel 939)
    eval()3 (regel 52)
    _remoteHandleCallback(Object { name="batchId"}, Object { name="callId"}, Object { name="reply"})engine.js (regel 878)
    _handleError(Object { name="batch"}, Object { name="ex"})engine.js (regel 1008)
    dwrErrorHandler(Object { name="message"}, Object { name="ex"})header.js (regel 36)
    defaultErrorHandler(Object { name="message"}, Object { name="ex"})engine.js (regel 177)
    _debug(Object { name="message"}, Object { name="stacktrace"})engine.js (regel 1223)
    Error: TypeError, et is null

    The post and reply from the getInitData function of EventHandlerDWR is as follows:

    This is the post request body:
    callCount=1
    page=/test/event_handlers.shtm
    httpSessionId=7D8885FE48F91E966508ACB6BC8A3D8B
    scriptSessionId=6F8060E23F5C74D5630EC2365BC15B51384
    c0-scriptName=EventHandlersDwr
    c0-methodName=getInitData
    c0-id=0
    batchId=1

    And the reply on this post is:

    //#DWR-INSERT
    //#DWR-REPLY
    var s0=[];var s1=[];var s10={};var s17=[];var s11={};var s18=[];var s12={};var s19=[];var s13={};var s20=[];var s14={};var s21=[];var s15={};var s22=[];var s16={};var s23=[];var s2=[];var s24={};var s25=[];var s26=[];var s3=[];var s4=[];var s27={};var s28=[];var s5=[];var s6=[];var s7=[];var s29={};var s38=[];var s30={};var s39=[];var s31={};var s40=[];var s32={};var s41=[];var s33={};var s42=[];var s34={};var s43=[];var s35={};var s44=[];var s36={};var s45=[];var s37={};var s46=[];var s8=[];var s9=[];var s47={};var s48=[];

    s1[0]=s10;s1[1]=s11;s1[2]=s12;s1[3]=s13;s1[4]=s14;s1[5]=s15;s1[6]=s16;
    s10.alarmLevel=1;s10.description="Data bron";s10.eventDetectorKey=null;s10.handlers=s17;s10.typeId=8;s10.typeRef1=1;s10.typeRef2=0;

    s11.alarmLevel=1;s11.description="Data punt";s11.eventDetectorKey=null;s11.handlers=s18;s11.typeId=8;s11.typeRef1=2;s11.typeRef2=0;

    s12.alarmLevel=1;s12.description="Punt gebeurtenis detector";s12.eventDetectorKey=null;s12.handlers=s19;s12.typeId=8;s12.typeRef1=3;s12.typeRef2=0;

    s13.alarmLevel=1;s13.description="Samengestelde gebeurtenis detector";s13.eventDetectorKey=null;s13.handlers=s20;s13.typeId=8;s13.typeRef1=4;s13.typeRef2=0;

    s14.alarmLevel=1;s14.description="Geplande gebeurtenis";s14.eventDetectorKey=null;s14.handlers=s21;s14.typeId=8;s14.typeRef1=5;s14.typeRef2=0;

    s15.alarmLevel=1;s15.description="Gebeurtenis handler";s15.eventDetectorKey=null;s15.handlers=s22;s15.typeId=8;s15.typeRef1=6;s15.typeRef2=0;

    s16.alarmLevel=1;s16.description="Punt link";s16.eventDetectorKey=null;s16.handlers=s23;s16.typeId=8;s16.typeRef1=7;s16.typeRef2=0;

    s2[0]=s24;
    s24.admin=true;s24.dataPointPermissions=s25;s24.dataSourcePermissions=s26;s24.disabled=false;s24.email="admin@yourMangoDomain.com";s24.id=1;s24.phone="";s24.receiveAlarmEmails=0;s24.receiveOwnAuditEvents=false;s24.username="admin";

    s4[0]=s27;
    s27.alarmLevel=1;s27.description="samentest";s27.eventDetectorKey=null;s27.handlers=s28;s27.typeId=5;s27.typeRef1=1;s27.typeRef2=0;

    s7[0]=s29;s7[1]=s30;s7[2]=s31;s7[3]=s32;s7[4]=s33;s7[5]=s34;s7[6]=s35;s7[7]=s36;s7[8]=s37;s7[9]=null;

    s29.alarmLevel=1;s29.description="Systeem startup";s29.eventDetectorKey=null;s29.handlers=s38;s29.typeId=4;s29.typeRef1=1;s29.typeRef2=0;

    s30.alarmLevel=1;s30.description="Systeem shutdown";s30.eventDetectorKey=null;s30.handlers=s39;s30.typeId=4;s30.typeRef1=2;s30.typeRef2=0;

    s31.alarmLevel=0;s31.description="Maximum alarm niveua is veranderd";s31.eventDetectorKey=null;s31.handlers=s40;s31.typeId=4;s31.typeRef1=3;s31.typeRef2=0;

    s32.alarmLevel=1;s32.description="Gebruiker login";s32.eventDetectorKey=null;s32.handlers=s41;s32.typeId=4;s32.typeRef1=4;s32.typeRef2=0;

    s33.alarmLevel=1;s33.description="Actuele versie controle";s33.eventDetectorKey=null;s33.handlers=s42;s33.typeId=4;s33.typeRef1=5;s33.typeRef2=0;

    s34.alarmLevel=2;s34.description="Samengestelde detector storing";s34.eventDetectorKey=null;s34.handlers=s43;s34.typeId=4;s34.typeRef1=6;s34.typeRef2=0;

    s35.alarmLevel=2;s35.description="Instelpunt gebeurtenis handler storing";s35.eventDetectorKey=null;s35.handlers=s44;s35.typeId=4;s35.typeRef1=7;s35.typeRef2=0;

    s36.alarmLevel=1;s36.description="Email verzenden storing";s36.eventDetectorKey=null;s36.handlers=s45;s36.typeId=4;s36.typeRef1=8;s36.typeRef2=0;

    s37.alarmLevel=2;s37.description="Punt link storing";s37.eventDetectorKey=null;s37.handlers=s46;s37.typeId=4;s37.typeRef1=9;s37.typeRef2=0;

    s9[0]=s47;
    s47.alarmLevel=0;s47.description="test";s47.eventDetectorKey="S1";s47.handlers=s48;s47.typeId=6;s47.typeRef1=1;s47.typeRef2=0;

    dwr.engine._remoteHandleCallback('1','0',{allPoints:s0,auditEvents:s1,users:s2,publishers:s3,compoundEvents:s4,dataSources:s5,mailingLists:s6,systemEvents:s7,dataPoints:s8,scheduledEvents:s9});

    If anyone knows what the problem is caused by, or any ideas about how to trace, debug or solve this problem. I would gladly hear about it.


  • This could be a language setting problem, although i'm not exactly sure how at the moment. What language are you using?


  • Language is nl_NL (dutch)
    I never touched anything with language in the build.

    In system settings the language dropdown list is also empty, but this could also be because of the null exception. And I suppose this shouldnt affect the event handlers page.

    Let me know if you agee!


  • I was able to reproduce the problem, and it is indeed a language thing. This is already fixed for 1.8.2. In the meantime, you should be able to use the attached update. Just replace the existing file in WEB-INF/lib.

    Attachment: download link


  • Yes, this fixed the problems.

    When will 1.8.2 be released?

    Thanks for the support!


  • Hopefully soon. Some details to work out still.