Vaadin works on tomcat but not on GAE (running locally on jetty)
The error is, “Not serializable exception”
and it throws this following JSON string, in the browser, in red color.
How to find out which object is not serializable?
Problem with the JSON string thrown by Vaadin
is at
“state”:{ “10”
[
[“change”, {
“pid”: “0”
},
[“0”, {
“id”: “0”,
“location”: “http://gull:8089/atcaaui#!”
},
[“notifications”, {},
[“notification”, {
“caption”: “Welcome”,
“message”: “dwr@nasa.gov, you are logged in.”,
“useplain”: true,
“position”: 4,
“delay”: 0
}]
]
]
],
[“change”, {
“pid”: “9”
},
[“17”, {
“id”: “9”,
“colExpand”: [“1000”]
,
“rowExpand”: [“1000”]
}]
],
["change", {
"pid": "10"
},
["18", {
"id": "10",
"v": {
"selected": "1"
}
},
["tabs", {},
["tab", {
"caption": "List",
"key": "1",
"selected": true
},
["19", {
"id": "11",
"cached": true
}]
],
["tab", {
"caption": "Screen Shot",
"key": "2"
}]
]
]
],
["change", {
"pid": "16"
},
["20", {
"id": "16"
}]
],
["change", {
"pid": "12"
},
["17", {
"id": "12",
"colExpand": ["1000"]
,
“rowExpand”: [“334”, “333”, “333”]
}]
],
["change", {
"pid": "15"
},
["21", {
"id": "15",
"selectmode": "single",
"nsa": false,
"cols": 10,
"rows": 1,
"firstrow": 0,
"totalrows": 1,
"pagelength": 15,
"colheaders": true,
"colfooters": false,
"vcolorder": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
,
“pb-ft”: 0,
“pb-l”: 0,
“clearKeyMap”: true,
“v”: {
“selected”: ,
“firstvisible”: 0,
“sortcolumn”: “1”,
“sortascending”: false,
“reqrows”: -1,
“reqfirstrow”: -1,
“collapsedcolumns”: ,
“noncollapsiblecolumns”:
}
},
[“rows”, {},
[“tr”, {
“key”: 1,
“style-2”: “light-2-blue”,
“style-7”: “light-red”,
“style-8”: “light-red”,
“style-9”: “light-red”
}, “01:47:33 07/14/48139 GMT”, “image1”, “0.0”, “acar…dfw”, “dfw…sfo”, “ACCEPT”, “PENDING”, “PENDING”, “PENDING”, “UNKOWN”]
],
[“visiblecolumns”, {},
[“column”, {
“cid”: “1”,
“caption”: “TIME”,
“fcaption”: “”,
“sortable”: true,
“width”: 70
}],
[“column”, {
“cid”: “2”,
“caption”: “ACID”,
“fcaption”: “”,
“sortable”: true
}],
[“column”, {
“cid”: “3”,
“caption”: “SAVINGS (MINUTES)”,
“fcaption”: “”,
“sortable”: true
}],
[“column”, {
“cid”: “4”,
“caption”: “ACARS MESSAGE”,
“fcaption”: “”,
“sortable”: true,
“width”: 120
}],
[“column”, {
“cid”: “5”,
“caption”: “ACCEPTED DWR ROUTE”,
“fcaption”: “”,
“sortable”: true,
“width”: 120
}],
[“column”, {
“cid”: “6”,
“caption”: “ATC ACTION”,
“fcaption”: “”,
“sortable”: true
}],
[“column”, {
“cid”: “7”,
“caption”: “SENT TO DISPATCHER?”,
“fcaption”: “”,
“width”: 70
}],
[“column”, {
“cid”: “8”,
“caption”: “ACARS TO CREW?”,
“fcaption”: “”,
“width”: 70
}],
[“column”, {
“cid”: “9”,
“caption”: “M_QUESTIONNAIRE”,
“fcaption”: “”
}],
[“column”, {
“cid”: “10”,
“caption”: “OBSERVED ROUTE AMENDMENT”,
“fcaption”: “”,
“sortable”: true
}]
]
]
],
[“change”, {
“pid”: “17”
},
[“3”, {
“id”: “17”,
“type”: “image”,
“src”: “theme://img/NasaLogo.png”,
“mimetype”: “image/png”
}]
],
[“change”, {
“pid”: “14”
},
[“22”, {
“id”: “14”,
“ormoh”: false
},
[“options”, {}]
,
[“items”, {},
[“item”, {
“id”: 2,
“text”: “To dispatcher”,
“command”: true
}],
[“item”, {
“id”: 3,
“text”: “ACARS to crew”,
“command”: true
}],
[“item”, {
“id”: 4,
“text”: “Questionnaire”,
“command”: true
}],
[“item”, {
“id”: 5,
“text”: “Remove All”,
“command”: true
}],
[“item”, {
“id”: 6,
“text”: “Logout”,
“command”: true
}]
]
]
]
], “state”: {
“10”: {
“height”: “100.0%”,
“width”: “100.0%”,
“caption”: “ATC Coordinator”
},
“0”: {
“loadingIndicatorConfiguration”: {},
“localeServiceState”: {
“localeData”: [{
“shortDayNames”: [“Sun”, “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”]
,
“am”: “AM”,
“monthNames”: [“January”, “February”, “March”, “April”, “May”, “June”, “July”, “August”, “September”, “October”, “November”, “December”, “”]
,
“name”: “en_US”,
“pm”: “PM”,
“dateFormat”: “M/d/yy”,
“twelveHourClock”: true,
“shortMonthNames”: [“Jan”, “Feb”, “Mar”, “Apr”, “May”, “Jun”, “Jul”, “Aug”, “Sep”, “Oct”, “Nov”, “Dec”, “”]
,
“dayNames”: [“Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”]
,
“hourMinuteDelimiter”: “:”,
“firstDayOfWeek”: 0
}]
},
“tooltipConfiguration”: {}
},
“17”: {
“height”: “240.0px”
},
“9”: {
“height”: “100.0%”,
“width”: “100.0%”,
“columns”: 1,
“marginsBitmask”: 15,
“spacing”: true,
“childData”: {
“10”: {
“alignment”: 5,
“row1”: 0,
“row2”: 0,
“column1”: 0,
“column2”: 0
}
},
“rows”: 1
},
“15”: {
“immediate”: true,
“styles”: [“columnformatting”, “components-inside”, “wordwrap-headers”]
,
“caption”: “DWR Messages”,
“registeredEventListeners”: [“itemClick”]
},
"8": {
"height": "100.0%",
"width": "100.0%"
},
"16": {
"height": "800.0px",
"width": "1500.0px",
"tabIndex": -1,
"caption": "Screen Shot"
},
"13": {
"sourceTypes": ["audio/x-wav"]
,
“height”: “0.0px”,
“showControls”: true,
“width”: “0.0px”,
“caption”: “”,
“altText”: “Play Caching”,
“sources”: [{
“uRL”: “app://APP/connector/0/13/0/caching.wav”
}]
},
“11”: {
“height”: “100.0%”,
“width”: “100.0%”,
“splitterState”: {
“position”: 50,
“positionUnit”: “%”,
“maxPositionUnit”: “%”,
“minPositionUnit”: “%”,
“maxPosition”: 100
},
“firstChild”: “12”,
“secondChild”: “16”
},
“12”: {
“columns”: 1,
“caption”: “List”,
“childData”: {
“15”: {
“alignment”: 5,
“row1”: 2,
“row2”: 2,
“column1”: 0,
“column2”: 0
},
“13”: {
“alignment”: 5,
“row1”: 0,
“row2”: 0,
“column1”: 0,
“column2”: 0
},
“14”: {
“alignment”: 5,
“row1”: 1,
“row2”: 1,
“column1”: 0,
“column2”: 0
}
},
“rows”: 3
}
}, “types”: {
“10”: “18”,
“0”: “0”,
“17”: “3”,
“9”: “17”,
“15”: “21”,
“8”: “24”,
“16”: “20”,
“13”: “23”,
“14”: “22”,
“11”: “19”,
“12”: “17”
}, “hierarchy”: {
“10”: [“11”]
,
“0”: [“8”]
,
“17”: ,
“9”: [“10”]
,
“15”: ,
“8”: [“9”]
,
“16”: [“17”]
,
“13”: ,
“14”: ,
“11”: [“12”, “16”]
,
“12”: [“13”, “14”, “15”]
}, “rpc”: [
[“13”, “com.vaadin.shared.ui.MediaControl”, “play”,
]
], “meta”: {}, “resources”: {}, “typeMappings”: {
“com.vaadin.ui.Audio”: 23,
“gov.nasa.arc.af.ctas.dwr.vaadin.atc.DispatchDeskUi”: 24,
“com.vaadin.ui.AbstractMedia”: 25,
“com.vaadin.ui.AbstractSplitPanel”: 26,
“com.vaadin.ui.TabSheet”: 18,
“gov.nasa.arc.af.ctas.dwr.vaadin.atc.AtcMsgTable”: 21,
“com.vaadin.ui.GridLayout”: 17,
“com.vaadin.ui.HorizontalSplitPanel”: 19,
“com.vaadin.ui.Panel”: 20,
“com.vaadin.ui.AbstractSelect”: 27,
“com.vaadin.ui.Table”: 28,
“com.vaadin.ui.MenuBar”: 22
}, “typeInheritanceMap”: {
“7”: 16,
“23”: 25,
“24”: 14,
“25”: 16,
“26”: 10,
“18”: 10,
“21”: 28,
“17”: 13,
“10”: 16,
“19”: 26,
“3”: 16,
“11”: 16,
“13”: 10,
“20”: 7,
“0”: 15,
“14”: 16,
“27”: 11,
“28”: 27,
“22”: 16,
“15”: 7,
“16”: 8
}, “timings”: [2605, 1]
}]
for (;;);
[{
“resources”: {},
“locales”: ,
“meta”: {
“appError”: {
“message”: “I’m sorry, but there seems to be a serious problem, please contact the administrator. And please take note of any unsaved data…”,
“caption”: “NotSerializableException”,
“url”: “http://gull:8089/atcaaui/?restartApplication”
}
},
“changes”:
}