!SESSION 2018-10-31 14:12:29.335 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product This is a continuation of log file F:\zhcx\.metadata\.bak_1.log Created Time: 2018-10-31 14:21:51.972 !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:51.972 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176) at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:21:51.972 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:52.632 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:52.967 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:21:52.968 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:21:52.968 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:53.559 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:53.559 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176) at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:21:53.560 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:54.219 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:54.874 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:54.874 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:21:54.874 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:56.399 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:22:03.609 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:22:03.610 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:22:03.610 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:22:08.172 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:22:08.173 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:22:08.173 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:22:09.143 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:10.586 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:28:10.615 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:28:10.615 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:44.867 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:44.867 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:28:44.868 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:46.190 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:46.556 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:28:46.557 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:28:46.557 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:31:18.290 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:31:18.291 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:31:18.291 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:31:41.160 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:31:41.161 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:31:41.161 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:21.712 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:39:21.713 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:39:21.713 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:33.176 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:33.177 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:39:33.177 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:54.083 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:54.083 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:39:54.084 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:55.781 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:55.781 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:39:55.782 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:45:47.132 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:45:47.133 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:45:47.133 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:45:59.522 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:45:59.522 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:45:59.522 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !SESSION 2018-10-31 16:09:37.921 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.egit.ui 2 0 2018-10-31 16:09:49.868 !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.egit.ui 2 0 2018-10-31 16:09:49.891 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2018-11-01 11:42:54.520 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.egit.ui 2 0 2018-11-01 11:43:17.610 !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.egit.ui 2 0 2018-11-01 11:43:17.674 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2018-11-28 10:45:01.832 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.egit.ui 2 0 2018-11-28 10:48:45.581 !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.egit.ui 2 0 2018-11-28 10:48:45.728 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2018-11-28 10:56:41.724 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.egit.ui 2 0 2018-11-28 10:56:54.551 !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.egit.ui 2 0 2018-11-28 10:56:54.651 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2018-11-30 09:02:12.048 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.egit.ui 2 0 2018-11-30 09:02:44.822 !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.egit.ui 2 0 2018-11-30 09:02:44.862 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !SESSION 2019-03-25 09:46:18.566 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.egit.ui 2 0 2019-03-25 09:47:08.823 !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.egit.ui 2 0 2019-03-25 09:47:08.852 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.jface 2 0 2019-03-25 09:47:11.461 !MESSAGE Ignored reentrant call while viewer is busy. This is only logged once per viewer instance, but similar calls will still be ignored. !STACK 0 java.lang.RuntimeException at org.eclipse.jface.viewers.ColumnViewer.checkBusy(ColumnViewer.java:759) at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:526) at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:350) at org.eclipse.jst.j2ee.navigator.internal.LoadingDDUIJob.runInUIThread(LoadingDDUIJob.java:38) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:128) at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled(EventLoopProgressMonitor.java:102) at org.eclipse.core.internal.jobs.ThreadJob.isCanceled(ThreadJob.java:144) at org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:233) at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:197) at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:92) at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:290) at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118) at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2251) at org.eclipse.core.internal.resources.Project.touch(Project.java:1401) at org.eclipse.wst.jsdt.internal.core.SetContainerOperation.execute(SetContainerOperation.java:122) at org.eclipse.wst.jsdt.core.JavaScriptCore.setJsGlobalScopeContainer(JavaScriptCore.java:3906) at org.eclipse.wst.jsdt.libraries.BasicBrowserLibraryJsGlobalScopeContainerInitializer.initialize(BasicBrowserLibraryJsGlobalScopeContainerInitializer.java:135) at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2215) at org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1538) at org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1324) at org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2747) at org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2026) at org.eclipse.wst.jsdt.internal.core.SetContainerOperation.execute(SetContainerOperation.java:96) at org.eclipse.wst.jsdt.core.JavaScriptCore.setJsGlobalScopeContainer(JavaScriptCore.java:3906) at org.eclipse.wst.jsdt.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:48) at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2215) at org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1538) at org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1324) at org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2747) at org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2026) at org.eclipse.wst.jsdt.internal.core.JavaProject.buildStructure(JavaProject.java:465) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.JavaElement.getElementInfo(JavaElement.java:282) at org.eclipse.wst.jsdt.internal.core.JavaElement.getElementInfo(JavaElement.java:268) at org.eclipse.wst.jsdt.internal.core.JavaElement.getChildren(JavaElement.java:216) at org.eclipse.wst.jsdt.internal.core.JavaProject.getPackageFragmentRoots(JavaProject.java:1902) at org.eclipse.wst.jsdt.internal.ui.packageview.PackageExplorerContentProvider.getPackageFragmentRoots(PackageExplorerContentProvider.java:651) at org.eclipse.wst.jsdt.ui.StandardJavaScriptElementContentProvider.getChildren(StandardJavaScriptElementContentProvider.java:163) at org.eclipse.wst.jsdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(PackageExplorerContentProvider.java:398) at org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorContentProvider.getChildren(JavaNavigatorContentProvider.java:157) at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:96) at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:275) at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:94) at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$1.run(NavigatorContentServiceContentProvider.java:152) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.internalGetChildren(NavigatorContentServiceContentProvider.java:139) at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.getChildren(NavigatorContentServiceContentProvider.java:125) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1365) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:353) at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:905) at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:617) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:813) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:791) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:611) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:762) at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1495) at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:903) at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1507) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070) at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7633) at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5618) at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1935) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5169) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4666) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5023) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2443) at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1553) at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6501) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4646) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6024) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5023) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-03-25 09:57:57.523 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); (function(){Data.set();})(); (function(){search();})(); $(function(){ $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); getfp(); }); var Data = { "get" : function(){ if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){ var tip = layer.load(2); var result=""; var url = "getgyxml.do"; $.ajax({ "url" : url, "data" : { "start_date" : $("#dateBegin").val(), "end_date" : $("#dateEnd").val() }, "type" : "POST", "dataType" : "json", "success" : function(data) { if(data != null && data != ""){ if ( data.status =="success"){ getfp(); alert("获取成功!"); }else { alert(data.status); } }else { alert("获取失败!"); } }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择日期!"); } }, "set" : function(){ if ( $("#fpid option:selected").text() !=""){ var tip = layer.load(2); var gitem = $("#form1").serialize(); var jrjc; if ($("#jrjc").prop('checked') == true){ jrjc = $("#departmentId").val(); }else { jrjc ='N' } var url = "saverk.do"; $.ajax({ "url" : url, "data" : { "gitem" : gitem, "jrjc" : jrjc }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data.status =="success"){ if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){ alert("入库成功!\n入库单号:"+data.rkdh+""); }else { alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+""); } window.location.reload(); }else { alert(data.status); } }, "error": function(){ alert("确认失败!"); }, "complete": function(){ layer.close(tip); } }); }else { alert("请选择发票!"); } } } function getfp(){ var tip = layer.load(2); var url = "getgyfp.do"; $.ajax({ "url" : url, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ $("#fpid").empty(); $("#fpid").append("_$tag_____________$tag____"); for(var i = 0; i < data.length; i++){ var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO; $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____"); } } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); } $("#fpid").change(function(){ var tip = layer.load(2); var url = "getgyrkxx.do"; var sum_total=0; $.ajax({ "url" : url, "data" : { "fpId" : $("#fpid").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { $("#dataTable").html(""); if(data != null && data != ""){ var html = ""; for(var i = 0; i < data.length; i++){ var ID = data[i].id == null ? "" : data[i].id; var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno; var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid; var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd"); var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode; var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode; var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname; var GOODS = data[i].goods == null ? "" : data[i].goods; var NAME = data[i].name == null ? "" : data[i].name; var SPEC = data[i].spec == null ? "" : data[i].spec; var PRODUCER = data[i].producer == null ? "" : data[i].producer; var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno; var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty; var DPRC = data[i].dprc == null ? "" : data[i].dprc; var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc; var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc; var LOTNO = data[i].lotno == null ? "" : data[i].lotno; var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd"); var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue; var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt; var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid; var GRPNO = data[i].grpno == null ? "" : data[i].grpno; var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy; var PROADD = data[i].proadd == null ? "" : data[i].proadd; var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code; var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type; var ITEMID = data[i].itemId == null ? "" : data[i].itemId; var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice; var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit; sum_total = sum_total + DSUMVALUE var invoice_type_cn =null; if (invoice_type =="00" ){ invoice_type_cn="销售发票"; }else if (invoice_type == "01") { invoice_type_cn="更正(对冲)发票"; }else if (invoice_type == "02") { invoice_type_cn="其它类型发票"; } html += "_$ta"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag"; html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag"; html += "_$tag"; } html += "_$ta"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag_合计:_$tag___$tag"; html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag_____________$tag____________________________________________________________________$tag"; html += "_$tag"; $("#dataTable").html(html); }else { $("#dataTable").html(""); } }, "error" : function(msg){ }, "complete": function(){ layer.close(tip); } }); }); Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } $("#jrjc").change(function() { if ($("#jrjc").prop('checked') == true){ $("#departmentId").removeAttr("disabled"); }else { $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;"); } }); ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-03-25 09:57:57.541 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-03-25 09:57:57.542 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SESSION 2019-05-05 09:07:51.889 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.egit.ui 2 0 2019-05-05 09:08:35.052 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:15:07.201 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:15:07.272 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:15:07.276 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:15:14.174 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:15:14.175 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:15:14.175 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:15:42.516 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:15:42.517 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:15:42.517 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:17:21.546 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:17:21.547 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:17:21.548 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:21:11.518 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:21:11.519 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:21:11.519 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:21:36.053 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:21:36.054 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:21:36.055 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:21:53.017 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:21:53.018 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:21:53.019 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:25:13.823 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:25:13.824 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:25:13.825 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:25:46.923 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:25:46.924 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:25:46.924 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:25:52.745 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:25:52.746 !MESSAGE java.lang.NullPointerException !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 21 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:25:52.747 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177) at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742) at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380) at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:44.188 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:44.218 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) ... 18 more Caused by: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:31:44.218 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171) at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79) at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457) at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153) at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89) at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462) at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129) at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372) at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538) at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260) at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431) at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:57.132 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:57.132 !MESSAGE Error while processing working copy !STACK 1 JavaScript Model Exception: java.lang.NullPointerException at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244) at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241) at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100) at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865) at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327) at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754) at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167) at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330) at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310) at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120) at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.lang.NullPointerException Caused by: java.lang.NullPointerException !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:31:57.133 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:58.341 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:36:32.182 !MESSAGE Exception occurred during problem detection: ----------------------------------- SOURCE BEGIN ------------------------------------- (function(){search();})(); (function(){WdatePicker();})(); (function(){WdatePicker();})(); (function(){Data.get();})(); var Data = { "get" : function(){ var tip = layer.load(2); var url = "listAjax.do"; $.ajax({ "url" : url, "data" : { "departmentId" : $("#departmentId").val(), "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(), "jzh" : $("#jzh").val(), "begDate" : $("#dateBegin").val(), "endDate" : $("#dateEnd").val(), "searchKey" : $("#searchKey").val() }, "type" : "POST", "dataType" : "json", "async" : true, "success" : function(data) { if(data != null && data != ""){ var html = ""; var sum =0; var ypsz = new Array(); var jesz =new Array(); var tjrq=""; for(var i = 0; i < data.length; i++){ var index = i + 1; var zyh = data[i].ZYH == null ? "" : data[i].ZYH; var jzh = data[i].JZH == null ? "" : data[i].JZH; var patient_name = data[i].XM == null ? "" : data[i].XM; var item_id = data[i].XMDM == null ? "" : data[i].XMDM; var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC; var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME; var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss"); var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL; var fempname = data[i].YSXM == null ? "" : data[i].YSXM; sum = sum +sum_total; html += "_$ta"; html += "_$tag____________" + index + "_$tag"; html += "_$tag____________" + zyh + "_$tag"; html += "_$tag____________" + jzh + "_$tag"; html += "_$tag____________" + patient_name + "_$tag"; html += "_$tag____________" + item_id + "_$tag"; html += "_$tag____________" + item_cnname + "_$tag"; html += "_$tag____________" + medcftype_name + "_$tag"; html += "_$tag____________" + jsrq + "_$tag"; html += "_$tag____________" + sum_total +"_$tag"; html += "_$tag____________" + fempname + "_$tag"; html += "_$tag"; ypsz[i]=item_cnname; jesz[i]=sum_total; } html += "_$ta"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag______________$tag"; html += "_$tag_____________总计_$tag"; html += "_$tag____________" + sum.toFixed(2) +"_$tag"; html += "_$tag______________$tag"; html += "_$tag"; tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val(); showpictab(ypsz,jesz,tjrq); $("#dataTable").html(html); } }, "complete": function(){ layer.close(tip); } }); } } function search(){ $("#form").submit(); } Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+": this.getSeconds(), //秒 "q+": Math.floor((this.getMonth() + 3) / 3), //季度 "S": this.getMilliseconds() //毫秒 }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; } function showpictab(ypsz,jesz,tjrq){ require.config({ paths: { echarts: '/zhcx/js/dist' } }); require( [ 'echarts', 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表 'echarts/chart/bar' ], function (ec) { var myChart = ec.init(document.getElementById('main')); var option = { title : { text: '住院医生病人费用统计报表', subtext: tjrq }, tooltip : { trigger: 'axis' }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ypsz } ], yAxis : [ { type : 'value' } ], series : [ { name:'金额', type:'bar', data:jesz, markPoint : { data : [ {type : 'max', name: '最大值'}, {type : 'min', name: '最小值'} ] }, markLine : { data : [ {type : 'average', name: '平均值'} ] } } ] }; myChart.setOption(option); } ); } ----------------------------------- SOURCE END ------------------------------------- !STACK 0 java.lang.NullPointerException