.bak_0.log 989 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529
  1. !SESSION 2018-10-31 14:12:29.335 -----------------------------------------------
  2. eclipse.buildId=4.4.2.M20150204-1700
  3. java.version=1.7.0_80
  4. java.vendor=Oracle Corporation
  5. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  6. Framework arguments: -product org.eclipse.epp.package.jee.product
  7. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  8. This is a continuation of log file F:\zhcx\.metadata\.bak_1.log
  9. Created Time: 2018-10-31 14:21:51.972
  10. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:51.972
  11. !MESSAGE Error while processing working copy
  12. !STACK 1
  13. JavaScript Model Exception: java.lang.NullPointerException
  14. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  15. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  16. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  17. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  18. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  19. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  20. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  21. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  22. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  23. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  24. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  25. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  26. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  27. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  28. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  29. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  30. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  31. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  32. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  33. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  34. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  35. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  36. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  37. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  38. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  39. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  40. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  41. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  42. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  43. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  44. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  45. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  46. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  47. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  48. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  49. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  50. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  51. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  52. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  53. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  54. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  55. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  56. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  57. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  58. at java.lang.reflect.Method.invoke(Unknown Source)
  59. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  60. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  61. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  62. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  63. Caused by: java.lang.NullPointerException
  64. Caused by: java.lang.NullPointerException
  65. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:21:51.972
  66. !MESSAGE java.lang.NullPointerException
  67. !STACK 0
  68. java.lang.NullPointerException
  69. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:52.632
  70. !MESSAGE Exception occurred during problem detection:
  71. ----------------------------------- SOURCE BEGIN -------------------------------------
  72. (function(){WdatePicker();})();
  73. (function(){WdatePicker();})();
  74. (function(){Data.get();})();
  75. (function(){Data.set();})();
  76. (function(){search();})();
  77. $(function(){
  78. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  79. getfp();
  80. });
  81. var Data = {
  82. "get" : function(){
  83. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  84. var tip = layer.load(2);
  85. var result="";
  86. var url = "getgyxml.do";
  87. $.ajax({
  88. "url" : url,
  89. "data" : {
  90. "start_date" : $("#dateBegin").val(),
  91. "end_date" : $("#dateEnd").val()
  92. },
  93. "type" : "POST",
  94. "dataType" : "json",
  95. "success" : function(data) {
  96. if(data != null && data != ""){
  97. if ( data.status =="success"){
  98. getfp();
  99. alert("获取成功!");
  100. }else {
  101. alert(data.status);
  102. }
  103. }else {
  104. alert("获取失败!");
  105. }
  106. },
  107. "complete": function(){
  108. layer.close(tip);
  109. }
  110. });
  111. }else {
  112. alert("请选择日期!");
  113. }
  114. },
  115. "set" : function(){
  116. if ( $("#fpid option:selected").text() !=""){
  117. var tip = layer.load(2);
  118. var gitem = $("#form1").serialize();
  119. var jrjc;
  120. if ($("#jrjc").prop('checked') == true){
  121. jrjc = $("#departmentId").val();
  122. }else {
  123. jrjc ='N'
  124. }
  125. var url = "saverk.do";
  126. $.ajax({
  127. "url" : url,
  128. "data" : {
  129. "gitem" : gitem,
  130. "jrjc" : jrjc
  131. },
  132. "type" : "POST",
  133. "dataType" : "json",
  134. "async" : true,
  135. "success" : function(data) {
  136. if(data.status =="success"){
  137. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  138. alert("入库成功!\n入库单号:"+data.rkdh+"");
  139. }else {
  140. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  141. }
  142. window.location.reload();
  143. }else {
  144. alert(data.status);
  145. }
  146. },
  147. "error": function(){
  148. alert("确认失败!");
  149. },
  150. "complete": function(){
  151. layer.close(tip);
  152. }
  153. });
  154. }else {
  155. alert("请选择发票!");
  156. }
  157. }
  158. }
  159. function getfp(){
  160. var tip = layer.load(2);
  161. var url = "getgyfp.do";
  162. $.ajax({
  163. "url" : url,
  164. "type" : "POST",
  165. "dataType" : "json",
  166. "async" : true,
  167. "success" : function(data) {
  168. if(data != null && data != ""){
  169. $("#fpid").empty();
  170. $("#fpid").append("_$tag_____________$tag____");
  171. for(var i = 0; i < data.length; i++){
  172. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  173. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  174. }
  175. }
  176. },
  177. "error" : function(msg){
  178. },
  179. "complete": function(){
  180. layer.close(tip);
  181. }
  182. });
  183. }
  184. $("#fpid").change(function(){
  185. var tip = layer.load(2);
  186. var url = "getgyrkxx.do";
  187. var sum_total=0;
  188. $.ajax({
  189. "url" : url,
  190. "data" : {
  191. "fpId" : $("#fpid").val()
  192. },
  193. "type" : "POST",
  194. "dataType" : "json",
  195. "async" : true,
  196. "success" : function(data) {
  197. $("#dataTable").html("");
  198. if(data != null && data != ""){
  199. var html = "";
  200. for(var i = 0; i < data.length; i++){
  201. var ID = data[i].id == null ? "" : data[i].id;
  202. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  203. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  204. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  205. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  206. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  207. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  208. var GOODS = data[i].goods == null ? "" : data[i].goods;
  209. var NAME = data[i].name == null ? "" : data[i].name;
  210. var SPEC = data[i].spec == null ? "" : data[i].spec;
  211. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  212. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  213. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  214. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  215. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  216. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  217. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  218. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  219. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  220. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  221. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  222. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  223. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  224. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  225. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  226. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  227. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  228. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  229. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  230. sum_total = sum_total + DSUMVALUE
  231. var invoice_type_cn =null;
  232. if (invoice_type =="00" ){
  233. invoice_type_cn="销售发票";
  234. }else if (invoice_type == "01") {
  235. invoice_type_cn="更正(对冲)发票";
  236. }else if (invoice_type == "02") {
  237. invoice_type_cn="其它类型发票";
  238. }
  239. html += "_$ta";
  240. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  241. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  242. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  243. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  244. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  245. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  246. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  247. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  248. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  249. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  250. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  251. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  252. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  253. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  254. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  255. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  256. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  257. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  258. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  259. html += "_$tag";
  260. }
  261. html += "_$ta";
  262. html += "_$tag_____________$tag____________________________________________________________________$tag";
  263. html += "_$tag_____________$tag____________________________________________________________________$tag";
  264. html += "_$tag_____________$tag____________________________________________________________________$tag";
  265. html += "_$tag_____________$tag____________________________________________________________________$tag";
  266. html += "_$tag_____________$tag_合计:_$tag___$tag";
  267. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  268. html += "_$tag_____________$tag____________________________________________________________________$tag";
  269. html += "_$tag_____________$tag____________________________________________________________________$tag";
  270. html += "_$tag_____________$tag____________________________________________________________________$tag";
  271. html += "_$tag_____________$tag____________________________________________________________________$tag";
  272. html += "_$tag_____________$tag____________________________________________________________________$tag";
  273. html += "_$tag_____________$tag____________________________________________________________________$tag";
  274. html += "_$tag_____________$tag____________________________________________________________________$tag";
  275. html += "_$tag_____________$tag____________________________________________________________________$tag";
  276. html += "_$tag_____________$tag____________________________________________________________________$tag";
  277. html += "_$tag_____________$tag____________________________________________________________________$tag";
  278. html += "_$tag_____________$tag____________________________________________________________________$tag";
  279. html += "_$tag_____________$tag____________________________________________________________________$tag";
  280. html += "_$tag";
  281. $("#dataTable").html(html);
  282. }else {
  283. $("#dataTable").html("");
  284. }
  285. },
  286. "error" : function(msg){
  287. },
  288. "complete": function(){
  289. layer.close(tip);
  290. }
  291. });
  292. });
  293. Date.prototype.Format = function (fmt) {
  294. var o = {
  295. "M+": this.getMonth() + 1, //月份
  296. "d+": this.getDate(), //日
  297. "h+": this.getHours(), //小时
  298. "m+": this.getMinutes(), //分
  299. "s+": this.getSeconds(), //秒
  300. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  301. "S": this.getMilliseconds() //毫秒
  302. };
  303. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  304. for (var k in o)
  305. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  306. return fmt;
  307. }
  308. $("#jrjc").change(function() {
  309. if ($("#jrjc").prop('checked') == true){
  310. $("#departmentId").removeAttr("disabled");
  311. }else {
  312. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  313. }
  314. });
  315. ----------------------------------- SOURCE END -------------------------------------
  316. !STACK 0
  317. java.lang.NullPointerException
  318. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:52.967
  319. !MESSAGE Exception occurred during problem detection:
  320. ----------------------------------- SOURCE BEGIN -------------------------------------
  321. (function(){WdatePicker();})();
  322. (function(){WdatePicker();})();
  323. (function(){Data.get();})();
  324. (function(){Data.set();})();
  325. (function(){search();})();
  326. $(function(){
  327. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  328. getfp();
  329. });
  330. var Data = {
  331. "get" : function(){
  332. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  333. var tip = layer.load(2);
  334. var result="";
  335. var url = "getgyxml.do";
  336. $.ajax({
  337. "url" : url,
  338. "data" : {
  339. "start_date" : $("#dateBegin").val(),
  340. "end_date" : $("#dateEnd").val()
  341. },
  342. "type" : "POST",
  343. "dataType" : "json",
  344. "success" : function(data) {
  345. if(data != null && data != ""){
  346. if ( data.status =="success"){
  347. getfp();
  348. alert("获取成功!");
  349. }else {
  350. alert(data.status);
  351. }
  352. }else {
  353. alert("获取失败!");
  354. }
  355. },
  356. "complete": function(){
  357. layer.close(tip);
  358. }
  359. });
  360. }else {
  361. alert("请选择日期!");
  362. }
  363. },
  364. "set" : function(){
  365. if ( $("#fpid option:selected").text() !=""){
  366. var tip = layer.load(2);
  367. var gitem = $("#form1").serialize();
  368. var jrjc;
  369. if ($("#jrjc").prop('checked') == true){
  370. jrjc = $("#departmentId").val();
  371. }else {
  372. jrjc ='N'
  373. }
  374. var url = "saverk.do";
  375. $.ajax({
  376. "url" : url,
  377. "data" : {
  378. "gitem" : gitem,
  379. "jrjc" : jrjc
  380. },
  381. "type" : "POST",
  382. "dataType" : "json",
  383. "async" : true,
  384. "success" : function(data) {
  385. if(data.status =="success"){
  386. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  387. alert("入库成功!\n入库单号:"+data.rkdh+"");
  388. }else {
  389. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  390. }
  391. window.location.reload();
  392. }else {
  393. alert(data.status);
  394. }
  395. },
  396. "error": function(){
  397. alert("确认失败!");
  398. },
  399. "complete": function(){
  400. layer.close(tip);
  401. }
  402. });
  403. }else {
  404. alert("请选择发票!");
  405. }
  406. }
  407. }
  408. function getfp(){
  409. var tip = layer.load(2);
  410. var url = "getgyfp.do";
  411. $.ajax({
  412. "url" : url,
  413. "type" : "POST",
  414. "dataType" : "json",
  415. "async" : true,
  416. "success" : function(data) {
  417. if(data != null && data != ""){
  418. $("#fpid").empty();
  419. $("#fpid").append("_$tag_____________$tag____");
  420. for(var i = 0; i < data.length; i++){
  421. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  422. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  423. }
  424. }
  425. },
  426. "error" : function(msg){
  427. },
  428. "complete": function(){
  429. layer.close(tip);
  430. }
  431. });
  432. }
  433. $("#fpid").change(function(){
  434. var tip = layer.load(2);
  435. var url = "getgyrkxx.do";
  436. var sum_total=0;
  437. $.ajax({
  438. "url" : url,
  439. "data" : {
  440. "fpId" : $("#fpid").val()
  441. },
  442. "type" : "POST",
  443. "dataType" : "json",
  444. "async" : true,
  445. "success" : function(data) {
  446. $("#dataTable").html("");
  447. if(data != null && data != ""){
  448. var html = "";
  449. for(var i = 0; i < data.length; i++){
  450. var ID = data[i].id == null ? "" : data[i].id;
  451. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  452. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  453. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  454. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  455. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  456. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  457. var GOODS = data[i].goods == null ? "" : data[i].goods;
  458. var NAME = data[i].name == null ? "" : data[i].name;
  459. var SPEC = data[i].spec == null ? "" : data[i].spec;
  460. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  461. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  462. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  463. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  464. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  465. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  466. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  467. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  468. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  469. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  470. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  471. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  472. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  473. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  474. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  475. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  476. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  477. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  478. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  479. sum_total = sum_total + DSUMVALUE
  480. var invoice_type_cn =null;
  481. if (invoice_type =="00" ){
  482. invoice_type_cn="销售发票";
  483. }else if (invoice_type == "01") {
  484. invoice_type_cn="更正(对冲)发票";
  485. }else if (invoice_type == "02") {
  486. invoice_type_cn="其它类型发票";
  487. }
  488. html += "_$ta";
  489. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  490. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  491. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  492. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  493. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  494. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  495. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  496. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  497. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  498. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  499. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  500. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  501. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  502. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  503. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  504. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  505. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  506. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  507. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  508. html += "_$tag";
  509. }
  510. html += "_$ta";
  511. html += "_$tag_____________$tag____________________________________________________________________$tag";
  512. html += "_$tag_____________$tag____________________________________________________________________$tag";
  513. html += "_$tag_____________$tag____________________________________________________________________$tag";
  514. html += "_$tag_____________$tag____________________________________________________________________$tag";
  515. html += "_$tag_____________$tag_合计:_$tag___$tag";
  516. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  517. html += "_$tag_____________$tag____________________________________________________________________$tag";
  518. html += "_$tag_____________$tag____________________________________________________________________$tag";
  519. html += "_$tag_____________$tag____________________________________________________________________$tag";
  520. html += "_$tag_____________$tag____________________________________________________________________$tag";
  521. html += "_$tag_____________$tag____________________________________________________________________$tag";
  522. html += "_$tag_____________$tag____________________________________________________________________$tag";
  523. html += "_$tag_____________$tag____________________________________________________________________$tag";
  524. html += "_$tag_____________$tag____________________________________________________________________$tag";
  525. html += "_$tag_____________$tag____________________________________________________________________$tag";
  526. html += "_$tag_____________$tag____________________________________________________________________$tag";
  527. html += "_$tag_____________$tag____________________________________________________________________$tag";
  528. html += "_$tag_____________$tag____________________________________________________________________$tag";
  529. html += "_$tag";
  530. $("#dataTable").html(html);
  531. }else {
  532. $("#dataTable").html("");
  533. }
  534. },
  535. "error" : function(msg){
  536. },
  537. "complete": function(){
  538. layer.close(tip);
  539. }
  540. });
  541. });
  542. Date.prototype.Format = function (fmt) {
  543. var o = {
  544. "M+": this.getMonth() + 1, //月份
  545. "d+": this.getDate(), //日
  546. "h+": this.getHours(), //小时
  547. "m+": this.getMinutes(), //分
  548. "s+": this.getSeconds(), //秒
  549. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  550. "S": this.getMilliseconds() //毫秒
  551. };
  552. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  553. for (var k in o)
  554. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  555. return fmt;
  556. }
  557. $("#jrjc").change(function() {
  558. if ($("#jrjc").prop('checked') == true){
  559. $("#departmentId").removeAttr("disabled");
  560. }else {
  561. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  562. }
  563. });
  564. ----------------------------------- SOURCE END -------------------------------------
  565. !STACK 0
  566. java.lang.NullPointerException
  567. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:21:52.968
  568. !MESSAGE java.lang.NullPointerException
  569. !STACK 1
  570. JavaScript Model Exception: java.lang.NullPointerException
  571. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  572. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  573. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  574. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  575. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  576. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  577. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  578. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  579. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  580. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  581. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  582. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  583. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  584. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  585. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  586. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  587. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  588. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  589. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  590. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  591. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  592. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  593. Caused by: java.lang.NullPointerException
  594. Caused by: java.lang.NullPointerException
  595. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:21:52.968
  596. !MESSAGE java.lang.NullPointerException
  597. !STACK 0
  598. java.lang.NullPointerException
  599. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:53.559
  600. !MESSAGE Exception occurred during problem detection:
  601. ----------------------------------- SOURCE BEGIN -------------------------------------
  602. (function(){WdatePicker();})();
  603. (function(){WdatePicker();})();
  604. (function(){Data.get();})();
  605. (function(){Data.set();})();
  606. (function(){search();})();
  607. $(function(){
  608. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  609. getfp();
  610. });
  611. var Data = {
  612. "get" : function(){
  613. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  614. var tip = layer.load(2);
  615. var result="";
  616. var url = "getgyxml.do";
  617. $.ajax({
  618. "url" : url,
  619. "data" : {
  620. "start_date" : $("#dateBegin").val(),
  621. "end_date" : $("#dateEnd").val()
  622. },
  623. "type" : "POST",
  624. "dataType" : "json",
  625. "success" : function(data) {
  626. if(data != null && data != ""){
  627. if ( data.status =="success"){
  628. getfp();
  629. alert("获取成功!");
  630. }else {
  631. alert(data.status);
  632. }
  633. }else {
  634. alert("获取失败!");
  635. }
  636. },
  637. "complete": function(){
  638. layer.close(tip);
  639. }
  640. });
  641. }else {
  642. alert("请选择日期!");
  643. }
  644. },
  645. "set" : function(){
  646. if ( $("#fpid option:selected").text() !=""){
  647. var tip = layer.load(2);
  648. var gitem = $("#form1").serialize();
  649. var jrjc;
  650. if ($("#jrjc").prop('checked') == true){
  651. jrjc = $("#departmentId").val();
  652. }else {
  653. jrjc ='N'
  654. }
  655. var url = "saverk.do";
  656. $.ajax({
  657. "url" : url,
  658. "data" : {
  659. "gitem" : gitem,
  660. "jrjc" : jrjc
  661. },
  662. "type" : "POST",
  663. "dataType" : "json",
  664. "async" : true,
  665. "success" : function(data) {
  666. if(data.status =="success"){
  667. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  668. alert("入库成功!\n入库单号:"+data.rkdh+"");
  669. }else {
  670. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  671. }
  672. window.location.reload();
  673. }else {
  674. alert(data.status);
  675. }
  676. },
  677. "error": function(){
  678. alert("确认失败!");
  679. },
  680. "complete": function(){
  681. layer.close(tip);
  682. }
  683. });
  684. }else {
  685. alert("请选择发票!");
  686. }
  687. }
  688. }
  689. function getfp(){
  690. var tip = layer.load(2);
  691. var url = "getgyfp.do";
  692. $.ajax({
  693. "url" : url,
  694. "type" : "POST",
  695. "dataType" : "json",
  696. "async" : true,
  697. "success" : function(data) {
  698. if(data != null && data != ""){
  699. $("#fpid").empty();
  700. $("#fpid").append("_$tag_____________$tag____");
  701. for(var i = 0; i < data.length; i++){
  702. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  703. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  704. }
  705. }
  706. },
  707. "error" : function(msg){
  708. },
  709. "complete": function(){
  710. layer.close(tip);
  711. }
  712. });
  713. }
  714. $("#fpid").change(function(){
  715. var tip = layer.load(2);
  716. var url = "getgyrkxx.do";
  717. var sum_total=0;
  718. $.ajax({
  719. "url" : url,
  720. "data" : {
  721. "fpId" : $("#fpid").val()
  722. },
  723. "type" : "POST",
  724. "dataType" : "json",
  725. "async" : true,
  726. "success" : function(data) {
  727. $("#dataTable").html("");
  728. if(data != null && data != ""){
  729. var html = "";
  730. for(var i = 0; i < data.length; i++){
  731. var ID = data[i].id == null ? "" : data[i].id;
  732. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  733. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  734. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  735. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  736. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  737. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  738. var GOODS = data[i].goods == null ? "" : data[i].goods;
  739. var NAME = data[i].name == null ? "" : data[i].name;
  740. var SPEC = data[i].spec == null ? "" : data[i].spec;
  741. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  742. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  743. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  744. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  745. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  746. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  747. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  748. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  749. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  750. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  751. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  752. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  753. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  754. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  755. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  756. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  757. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  758. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  759. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  760. sum_total = sum_total + DSUMVALUE
  761. var invoice_type_cn =null;
  762. if (invoice_type =="00" ){
  763. invoice_type_cn="销售发票";
  764. }else if (invoice_type == "01") {
  765. invoice_type_cn="更正(对冲)发票";
  766. }else if (invoice_type == "02") {
  767. invoice_type_cn="其它类型发票";
  768. }
  769. html += "_$ta";
  770. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  771. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  772. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  773. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  774. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  775. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  776. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  777. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  778. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  779. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  780. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  781. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  782. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  783. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  784. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  785. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  786. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  787. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  788. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  789. html += "_$tag";
  790. }
  791. html += "_$ta";
  792. html += "_$tag_____________$tag____________________________________________________________________$tag";
  793. html += "_$tag_____________$tag____________________________________________________________________$tag";
  794. html += "_$tag_____________$tag____________________________________________________________________$tag";
  795. html += "_$tag_____________$tag____________________________________________________________________$tag";
  796. html += "_$tag_____________$tag_合计:_$tag___$tag";
  797. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  798. html += "_$tag_____________$tag____________________________________________________________________$tag";
  799. html += "_$tag_____________$tag____________________________________________________________________$tag";
  800. html += "_$tag_____________$tag____________________________________________________________________$tag";
  801. html += "_$tag_____________$tag____________________________________________________________________$tag";
  802. html += "_$tag_____________$tag____________________________________________________________________$tag";
  803. html += "_$tag_____________$tag____________________________________________________________________$tag";
  804. html += "_$tag_____________$tag____________________________________________________________________$tag";
  805. html += "_$tag_____________$tag____________________________________________________________________$tag";
  806. html += "_$tag_____________$tag____________________________________________________________________$tag";
  807. html += "_$tag_____________$tag____________________________________________________________________$tag";
  808. html += "_$tag_____________$tag____________________________________________________________________$tag";
  809. html += "_$tag_____________$tag____________________________________________________________________$tag";
  810. html += "_$tag";
  811. $("#dataTable").html(html);
  812. }else {
  813. $("#dataTable").html("");
  814. }
  815. },
  816. "error" : function(msg){
  817. },
  818. "complete": function(){
  819. layer.close(tip);
  820. }
  821. });
  822. });
  823. Date.prototype.Format = function (fmt) {
  824. var o = {
  825. "M+": this.getMonth() + 1, //月份
  826. "d+": this.getDate(), //日
  827. "h+": this.getHours(), //小时
  828. "m+": this.getMinutes(), //分
  829. "s+": this.getSeconds(), //秒
  830. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  831. "S": this.getMilliseconds() //毫秒
  832. };
  833. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  834. for (var k in o)
  835. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  836. return fmt;
  837. }
  838. $("#jrjc").change(function() {
  839. if ($("#jrjc").prop('checked') == true){
  840. $("#departmentId").removeAttr("disabled");
  841. }else {
  842. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  843. }
  844. });
  845. ----------------------------------- SOURCE END -------------------------------------
  846. !STACK 0
  847. java.lang.NullPointerException
  848. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:53.559
  849. !MESSAGE Error while processing working copy
  850. !STACK 1
  851. JavaScript Model Exception: java.lang.NullPointerException
  852. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  853. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  854. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  855. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  856. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  857. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  858. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  859. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  860. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  861. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  862. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  863. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  864. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  865. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  866. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  867. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  868. at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
  869. at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
  870. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
  871. at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
  872. at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
  873. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
  874. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  875. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  876. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  877. at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
  878. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
  879. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  880. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  881. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  882. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  883. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  884. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  885. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  886. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  887. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  888. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  889. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  890. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  891. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  892. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  893. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  894. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  895. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  896. at java.lang.reflect.Method.invoke(Unknown Source)
  897. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  898. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  899. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  900. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  901. Caused by: java.lang.NullPointerException
  902. Caused by: java.lang.NullPointerException
  903. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:21:53.560
  904. !MESSAGE java.lang.NullPointerException
  905. !STACK 0
  906. java.lang.NullPointerException
  907. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:54.219
  908. !MESSAGE Exception occurred during problem detection:
  909. ----------------------------------- SOURCE BEGIN -------------------------------------
  910. (function(){WdatePicker();})();
  911. (function(){WdatePicker();})();
  912. (function(){Data.get();})();
  913. (function(){Data.set();})();
  914. (function(){search();})();
  915. $(function(){
  916. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  917. getfp();
  918. });
  919. var Data = {
  920. "get" : function(){
  921. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  922. var tip = layer.load(2);
  923. var result="";
  924. var url = "getgyxml.do";
  925. $.ajax({
  926. "url" : url,
  927. "data" : {
  928. "start_date" : $("#dateBegin").val(),
  929. "end_date" : $("#dateEnd").val()
  930. },
  931. "type" : "POST",
  932. "dataType" : "json",
  933. "success" : function(data) {
  934. if(data != null && data != ""){
  935. if ( data.status =="success"){
  936. getfp();
  937. alert("获取成功!");
  938. }else {
  939. alert(data.status);
  940. }
  941. }else {
  942. alert("获取失败!");
  943. }
  944. },
  945. "complete": function(){
  946. layer.close(tip);
  947. }
  948. });
  949. }else {
  950. alert("请选择日期!");
  951. }
  952. },
  953. "set" : function(){
  954. if ( $("#fpid option:selected").text() !=""){
  955. var tip = layer.load(2);
  956. var gitem = $("#form1").serialize();
  957. var jrjc;
  958. if ($("#jrjc").prop('checked') == true){
  959. jrjc = $("#departmentId").val();
  960. }else {
  961. jrjc ='N'
  962. }
  963. var url = "saverk.do";
  964. $.ajax({
  965. "url" : url,
  966. "data" : {
  967. "gitem" : gitem,
  968. "jrjc" : jrjc
  969. },
  970. "type" : "POST",
  971. "dataType" : "json",
  972. "async" : true,
  973. "success" : function(data) {
  974. if(data.status =="success"){
  975. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  976. alert("入库成功!\n入库单号:"+data.rkdh+"");
  977. }else {
  978. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  979. }
  980. window.location.reload();
  981. }else {
  982. alert(data.status);
  983. }
  984. },
  985. "error": function(){
  986. alert("确认失败!");
  987. },
  988. "complete": function(){
  989. layer.close(tip);
  990. }
  991. });
  992. }else {
  993. alert("请选择发票!");
  994. }
  995. }
  996. }
  997. function getfp(){
  998. var tip = layer.load(2);
  999. var url = "getgyfp.do";
  1000. $.ajax({
  1001. "url" : url,
  1002. "type" : "POST",
  1003. "dataType" : "json",
  1004. "async" : true,
  1005. "success" : function(data) {
  1006. if(data != null && data != ""){
  1007. $("#fpid").empty();
  1008. $("#fpid").append("_$tag_____________$tag____");
  1009. for(var i = 0; i < data.length; i++){
  1010. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  1011. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  1012. }
  1013. }
  1014. },
  1015. "error" : function(msg){
  1016. },
  1017. "complete": function(){
  1018. layer.close(tip);
  1019. }
  1020. });
  1021. }
  1022. $("#fpid").change(function(){
  1023. var tip = layer.load(2);
  1024. var url = "getgyrkxx.do";
  1025. var sum_total=0;
  1026. $.ajax({
  1027. "url" : url,
  1028. "data" : {
  1029. "fpId" : $("#fpid").val()
  1030. },
  1031. "type" : "POST",
  1032. "dataType" : "json",
  1033. "async" : true,
  1034. "success" : function(data) {
  1035. $("#dataTable").html("");
  1036. if(data != null && data != ""){
  1037. var html = "";
  1038. for(var i = 0; i < data.length; i++){
  1039. var ID = data[i].id == null ? "" : data[i].id;
  1040. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  1041. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  1042. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  1043. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  1044. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  1045. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  1046. var GOODS = data[i].goods == null ? "" : data[i].goods;
  1047. var NAME = data[i].name == null ? "" : data[i].name;
  1048. var SPEC = data[i].spec == null ? "" : data[i].spec;
  1049. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  1050. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  1051. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  1052. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  1053. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  1054. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  1055. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  1056. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  1057. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  1058. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  1059. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  1060. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  1061. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  1062. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  1063. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  1064. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  1065. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  1066. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  1067. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  1068. sum_total = sum_total + DSUMVALUE
  1069. var invoice_type_cn =null;
  1070. if (invoice_type =="00" ){
  1071. invoice_type_cn="销售发票";
  1072. }else if (invoice_type == "01") {
  1073. invoice_type_cn="更正(对冲)发票";
  1074. }else if (invoice_type == "02") {
  1075. invoice_type_cn="其它类型发票";
  1076. }
  1077. html += "_$ta";
  1078. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1079. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1080. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  1081. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1082. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1083. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  1084. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1085. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1086. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1087. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  1088. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  1089. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  1090. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1091. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1092. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1093. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1094. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  1095. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  1096. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  1097. html += "_$tag";
  1098. }
  1099. html += "_$ta";
  1100. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1101. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1102. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1103. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1104. html += "_$tag_____________$tag_合计:_$tag___$tag";
  1105. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  1106. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1107. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1108. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1109. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1110. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1111. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1112. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1113. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1114. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1115. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1116. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1117. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1118. html += "_$tag";
  1119. $("#dataTable").html(html);
  1120. }else {
  1121. $("#dataTable").html("");
  1122. }
  1123. },
  1124. "error" : function(msg){
  1125. },
  1126. "complete": function(){
  1127. layer.close(tip);
  1128. }
  1129. });
  1130. });
  1131. Date.prototype.Format = function (fmt) {
  1132. var o = {
  1133. "M+": this.getMonth() + 1, //月份
  1134. "d+": this.getDate(), //日
  1135. "h+": this.getHours(), //小时
  1136. "m+": this.getMinutes(), //分
  1137. "s+": this.getSeconds(), //秒
  1138. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1139. "S": this.getMilliseconds() //毫秒
  1140. };
  1141. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1142. for (var k in o)
  1143. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1144. return fmt;
  1145. }
  1146. $("#jrjc").change(function() {
  1147. if ($("#jrjc").prop('checked') == true){
  1148. $("#departmentId").removeAttr("disabled");
  1149. }else {
  1150. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1151. }
  1152. });
  1153. ----------------------------------- SOURCE END -------------------------------------
  1154. !STACK 0
  1155. java.lang.NullPointerException
  1156. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:54.874
  1157. !MESSAGE Exception occurred during problem detection:
  1158. ----------------------------------- SOURCE BEGIN -------------------------------------
  1159. (function(){WdatePicker();})();
  1160. (function(){WdatePicker();})();
  1161. (function(){Data.get();})();
  1162. (function(){Data.set();})();
  1163. (function(){search();})();
  1164. $(function(){
  1165. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1166. getfp();
  1167. });
  1168. var Data = {
  1169. "get" : function(){
  1170. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  1171. var tip = layer.load(2);
  1172. var result="";
  1173. var url = "getgyxml.do";
  1174. $.ajax({
  1175. "url" : url,
  1176. "data" : {
  1177. "start_date" : $("#dateBegin").val(),
  1178. "end_date" : $("#dateEnd").val()
  1179. },
  1180. "type" : "POST",
  1181. "dataType" : "json",
  1182. "success" : function(data) {
  1183. if(data != null && data != ""){
  1184. if ( data.status =="success"){
  1185. getfp();
  1186. alert("获取成功!");
  1187. }else {
  1188. alert(data.status);
  1189. }
  1190. }else {
  1191. alert("获取失败!");
  1192. }
  1193. },
  1194. "complete": function(){
  1195. layer.close(tip);
  1196. }
  1197. });
  1198. }else {
  1199. alert("请选择日期!");
  1200. }
  1201. },
  1202. "set" : function(){
  1203. if ( $("#fpid option:selected").text() !=""){
  1204. var tip = layer.load(2);
  1205. var gitem = $("#form1").serialize();
  1206. var jrjc;
  1207. if ($("#jrjc").prop('checked') == true){
  1208. jrjc = $("#departmentId").val();
  1209. }else {
  1210. jrjc ='N'
  1211. }
  1212. var url = "saverk.do";
  1213. $.ajax({
  1214. "url" : url,
  1215. "data" : {
  1216. "gitem" : gitem,
  1217. "jrjc" : jrjc
  1218. },
  1219. "type" : "POST",
  1220. "dataType" : "json",
  1221. "async" : true,
  1222. "success" : function(data) {
  1223. if(data.status =="success"){
  1224. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  1225. alert("入库成功!\n入库单号:"+data.rkdh+"");
  1226. }else {
  1227. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  1228. }
  1229. window.location.reload();
  1230. }else {
  1231. alert(data.status);
  1232. }
  1233. },
  1234. "error": function(){
  1235. alert("确认失败!");
  1236. },
  1237. "complete": function(){
  1238. layer.close(tip);
  1239. }
  1240. });
  1241. }else {
  1242. alert("请选择发票!");
  1243. }
  1244. }
  1245. }
  1246. function getfp(){
  1247. var tip = layer.load(2);
  1248. var url = "getgyfp.do";
  1249. $.ajax({
  1250. "url" : url,
  1251. "type" : "POST",
  1252. "dataType" : "json",
  1253. "async" : true,
  1254. "success" : function(data) {
  1255. if(data != null && data != ""){
  1256. $("#fpid").empty();
  1257. $("#fpid").append("_$tag_____________$tag____");
  1258. for(var i = 0; i < data.length; i++){
  1259. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  1260. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  1261. }
  1262. }
  1263. },
  1264. "error" : function(msg){
  1265. },
  1266. "complete": function(){
  1267. layer.close(tip);
  1268. }
  1269. });
  1270. }
  1271. $("#fpid").change(function(){
  1272. var tip = layer.load(2);
  1273. var url = "getgyrkxx.do";
  1274. var sum_total=0;
  1275. $.ajax({
  1276. "url" : url,
  1277. "data" : {
  1278. "fpId" : $("#fpid").val()
  1279. },
  1280. "type" : "POST",
  1281. "dataType" : "json",
  1282. "async" : true,
  1283. "success" : function(data) {
  1284. $("#dataTable").html("");
  1285. if(data != null && data != ""){
  1286. var html = "";
  1287. for(var i = 0; i < data.length; i++){
  1288. var ID = data[i].id == null ? "" : data[i].id;
  1289. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  1290. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  1291. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  1292. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  1293. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  1294. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  1295. var GOODS = data[i].goods == null ? "" : data[i].goods;
  1296. var NAME = data[i].name == null ? "" : data[i].name;
  1297. var SPEC = data[i].spec == null ? "" : data[i].spec;
  1298. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  1299. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  1300. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  1301. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  1302. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  1303. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  1304. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  1305. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  1306. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  1307. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  1308. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  1309. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  1310. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  1311. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  1312. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  1313. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  1314. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  1315. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  1316. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  1317. sum_total = sum_total + DSUMVALUE
  1318. var invoice_type_cn =null;
  1319. if (invoice_type =="00" ){
  1320. invoice_type_cn="销售发票";
  1321. }else if (invoice_type == "01") {
  1322. invoice_type_cn="更正(对冲)发票";
  1323. }else if (invoice_type == "02") {
  1324. invoice_type_cn="其它类型发票";
  1325. }
  1326. html += "_$ta";
  1327. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1328. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1329. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  1330. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1331. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1332. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  1333. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1334. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1335. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1336. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  1337. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  1338. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  1339. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1340. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1341. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1342. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1343. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  1344. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  1345. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  1346. html += "_$tag";
  1347. }
  1348. html += "_$ta";
  1349. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1350. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1351. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1352. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1353. html += "_$tag_____________$tag_合计:_$tag___$tag";
  1354. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  1355. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1356. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1357. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1358. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1359. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1360. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1361. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1362. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1363. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1364. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1365. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1366. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1367. html += "_$tag";
  1368. $("#dataTable").html(html);
  1369. }else {
  1370. $("#dataTable").html("");
  1371. }
  1372. },
  1373. "error" : function(msg){
  1374. },
  1375. "complete": function(){
  1376. layer.close(tip);
  1377. }
  1378. });
  1379. });
  1380. Date.prototype.Format = function (fmt) {
  1381. var o = {
  1382. "M+": this.getMonth() + 1, //月份
  1383. "d+": this.getDate(), //日
  1384. "h+": this.getHours(), //小时
  1385. "m+": this.getMinutes(), //分
  1386. "s+": this.getSeconds(), //秒
  1387. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1388. "S": this.getMilliseconds() //毫秒
  1389. };
  1390. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1391. for (var k in o)
  1392. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1393. return fmt;
  1394. }
  1395. $("#jrjc").change(function() {
  1396. if ($("#jrjc").prop('checked') == true){
  1397. $("#departmentId").removeAttr("disabled");
  1398. }else {
  1399. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1400. }
  1401. });
  1402. ----------------------------------- SOURCE END -------------------------------------
  1403. !STACK 0
  1404. java.lang.NullPointerException
  1405. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:54.874
  1406. !MESSAGE Error while processing working copy
  1407. !STACK 1
  1408. JavaScript Model Exception: java.lang.NullPointerException
  1409. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  1410. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  1411. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  1412. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  1413. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  1414. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  1415. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  1416. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  1417. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  1418. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  1419. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  1420. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  1421. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  1422. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  1423. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  1424. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  1425. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  1426. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  1427. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  1428. Caused by: java.lang.NullPointerException
  1429. Caused by: java.lang.NullPointerException
  1430. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:21:54.874
  1431. !MESSAGE java.lang.NullPointerException
  1432. !STACK 0
  1433. java.lang.NullPointerException
  1434. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:21:56.399
  1435. !MESSAGE Exception occurred during problem detection:
  1436. ----------------------------------- SOURCE BEGIN -------------------------------------
  1437. (function(){WdatePicker();})();
  1438. (function(){WdatePicker();})();
  1439. (function(){Data.get();})();
  1440. (function(){Data.set();})();
  1441. (function(){search();})();
  1442. $(function(){
  1443. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1444. getfp();
  1445. });
  1446. var Data = {
  1447. "get" : function(){
  1448. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  1449. var tip = layer.load(2);
  1450. var result="";
  1451. var url = "getgyxml.do";
  1452. $.ajax({
  1453. "url" : url,
  1454. "data" : {
  1455. "start_date" : $("#dateBegin").val(),
  1456. "end_date" : $("#dateEnd").val()
  1457. },
  1458. "type" : "POST",
  1459. "dataType" : "json",
  1460. "success" : function(data) {
  1461. if(data != null && data != ""){
  1462. if ( data.status =="success"){
  1463. getfp();
  1464. alert("获取成功!");
  1465. }else {
  1466. alert(data.status);
  1467. }
  1468. }else {
  1469. alert("获取失败!");
  1470. }
  1471. },
  1472. "complete": function(){
  1473. layer.close(tip);
  1474. }
  1475. });
  1476. }else {
  1477. alert("请选择日期!");
  1478. }
  1479. },
  1480. "set" : function(){
  1481. if ( $("#fpid option:selected").text() !=""){
  1482. var tip = layer.load(2);
  1483. var gitem = $("#form1").serialize();
  1484. var jrjc;
  1485. if ($("#jrjc").prop('checked') == true){
  1486. jrjc = $("#departmentId").val();
  1487. }else {
  1488. jrjc ='N'
  1489. }
  1490. var url = "saverk.do";
  1491. $.ajax({
  1492. "url" : url,
  1493. "data" : {
  1494. "gitem" : gitem,
  1495. "jrjc" : jrjc
  1496. },
  1497. "type" : "POST",
  1498. "dataType" : "json",
  1499. "async" : true,
  1500. "success" : function(data) {
  1501. if(data.status =="success"){
  1502. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  1503. alert("入库成功!\n入库单号:"+data.rkdh+"");
  1504. }else {
  1505. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  1506. }
  1507. window.location.reload();
  1508. }else {
  1509. alert(data.status);
  1510. }
  1511. },
  1512. "error": function(){
  1513. alert("确认失败!");
  1514. },
  1515. "complete": function(){
  1516. layer.close(tip);
  1517. }
  1518. });
  1519. }else {
  1520. alert("请选择发票!");
  1521. }
  1522. }
  1523. }
  1524. function getfp(){
  1525. var tip = layer.load(2);
  1526. var url = "getgyfp.do";
  1527. $.ajax({
  1528. "url" : url,
  1529. "type" : "POST",
  1530. "dataType" : "json",
  1531. "async" : true,
  1532. "success" : function(data) {
  1533. if(data != null && data != ""){
  1534. $("#fpid").empty();
  1535. $("#fpid").append("_$tag_____________$tag____");
  1536. for(var i = 0; i < data.length; i++){
  1537. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  1538. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  1539. }
  1540. }
  1541. },
  1542. "error" : function(msg){
  1543. },
  1544. "complete": function(){
  1545. layer.close(tip);
  1546. }
  1547. });
  1548. }
  1549. $("#fpid").change(function(){
  1550. var tip = layer.load(2);
  1551. var url = "getgyrkxx.do";
  1552. var sum_total=0;
  1553. $.ajax({
  1554. "url" : url,
  1555. "data" : {
  1556. "fpId" : $("#fpid").val()
  1557. },
  1558. "type" : "POST",
  1559. "dataType" : "json",
  1560. "async" : true,
  1561. "success" : function(data) {
  1562. $("#dataTable").html("");
  1563. if(data != null && data != ""){
  1564. var html = "";
  1565. for(var i = 0; i < data.length; i++){
  1566. var ID = data[i].id == null ? "" : data[i].id;
  1567. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  1568. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  1569. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  1570. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  1571. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  1572. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  1573. var GOODS = data[i].goods == null ? "" : data[i].goods;
  1574. var NAME = data[i].name == null ? "" : data[i].name;
  1575. var SPEC = data[i].spec == null ? "" : data[i].spec;
  1576. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  1577. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  1578. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  1579. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  1580. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  1581. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  1582. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  1583. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  1584. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  1585. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  1586. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  1587. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  1588. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  1589. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  1590. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  1591. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  1592. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  1593. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  1594. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  1595. sum_total = sum_total + DSUMVALUE
  1596. var invoice_type_cn =null;
  1597. if (invoice_type =="00" ){
  1598. invoice_type_cn="销售发票";
  1599. }else if (invoice_type == "01") {
  1600. invoice_type_cn="更正(对冲)发票";
  1601. }else if (invoice_type == "02") {
  1602. invoice_type_cn="其它类型发票";
  1603. }
  1604. html += "_$ta";
  1605. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1606. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1607. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  1608. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1609. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1610. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  1611. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1612. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1613. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1614. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  1615. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  1616. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  1617. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1618. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1619. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1620. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1621. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  1622. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  1623. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  1624. html += "_$tag";
  1625. }
  1626. html += "_$ta";
  1627. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1628. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1629. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1630. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1631. html += "_$tag_____________$tag_合计:_$tag___$tag";
  1632. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  1633. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1634. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1635. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1636. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1637. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1638. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1639. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1640. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1641. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1642. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1643. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1644. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1645. html += "_$tag";
  1646. $("#dataTable").html(html);
  1647. }else {
  1648. $("#dataTable").html("");
  1649. }
  1650. },
  1651. "error" : function(msg){
  1652. },
  1653. "complete": function(){
  1654. layer.close(tip);
  1655. }
  1656. });
  1657. });
  1658. Date.prototype.Format = function (fmt) {
  1659. var o = {
  1660. "M+": this.getMonth() + 1, //月份
  1661. "d+": this.getDate(), //日
  1662. "h+": this.getHours(), //小时
  1663. "m+": this.getMinutes(), //分
  1664. "s+": this.getSeconds(), //秒
  1665. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1666. "S": this.getMilliseconds() //毫秒
  1667. };
  1668. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1669. for (var k in o)
  1670. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1671. return fmt;
  1672. }
  1673. $("#jrjc").change(function() {
  1674. if ($("#jrjc").prop('checked') == true){
  1675. $("#departmentId").removeAttr("disabled");
  1676. }else {
  1677. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1678. }
  1679. });
  1680. ----------------------------------- SOURCE END -------------------------------------
  1681. !STACK 0
  1682. java.lang.NullPointerException
  1683. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:22:03.609
  1684. !MESSAGE Exception occurred during problem detection:
  1685. ----------------------------------- SOURCE BEGIN -------------------------------------
  1686. (function(){WdatePicker();})();
  1687. (function(){WdatePicker();})();
  1688. (function(){Data.get();})();
  1689. (function(){Data.set();})();
  1690. (function(){search();})();
  1691. $(function(){
  1692. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1693. getfp();
  1694. });
  1695. var Data = {
  1696. "get" : function(){
  1697. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  1698. var tip = layer.load(2);
  1699. var result="";
  1700. var url = "getgyxml.do";
  1701. $.ajax({
  1702. "url" : url,
  1703. "data" : {
  1704. "start_date" : $("#dateBegin").val(),
  1705. "end_date" : $("#dateEnd").val()
  1706. },
  1707. "type" : "POST",
  1708. "dataType" : "json",
  1709. "success" : function(data) {
  1710. if(data != null && data != ""){
  1711. if ( data.status =="success"){
  1712. getfp();
  1713. alert("获取成功!");
  1714. }else {
  1715. alert(data.status);
  1716. }
  1717. }else {
  1718. alert("获取失败!");
  1719. }
  1720. },
  1721. "complete": function(){
  1722. layer.close(tip);
  1723. }
  1724. });
  1725. }else {
  1726. alert("请选择日期!");
  1727. }
  1728. },
  1729. "set" : function(){
  1730. if ( $("#fpid option:selected").text() !=""){
  1731. var tip = layer.load(2);
  1732. var gitem = $("#form1").serialize();
  1733. var jrjc;
  1734. if ($("#jrjc").prop('checked') == true){
  1735. jrjc = $("#departmentId").val();
  1736. }else {
  1737. jrjc ='N'
  1738. }
  1739. var url = "saverk.do";
  1740. $.ajax({
  1741. "url" : url,
  1742. "data" : {
  1743. "gitem" : gitem,
  1744. "jrjc" : jrjc
  1745. },
  1746. "type" : "POST",
  1747. "dataType" : "json",
  1748. "async" : true,
  1749. "success" : function(data) {
  1750. if(data.status =="success"){
  1751. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  1752. alert("入库成功!\n入库单号:"+data.rkdh+"");
  1753. }else {
  1754. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  1755. }
  1756. window.location.reload();
  1757. }else {
  1758. alert(data.status);
  1759. }
  1760. },
  1761. "error": function(){
  1762. alert("确认失败!");
  1763. },
  1764. "complete": function(){
  1765. layer.close(tip);
  1766. }
  1767. });
  1768. }else {
  1769. alert("请选择发票!");
  1770. }
  1771. }
  1772. }
  1773. function getfp(){
  1774. var tip = layer.load(2);
  1775. var url = "getgyfp.do";
  1776. $.ajax({
  1777. "url" : url,
  1778. "type" : "POST",
  1779. "dataType" : "json",
  1780. "async" : true,
  1781. "success" : function(data) {
  1782. if(data != null && data != ""){
  1783. $("#fpid").empty();
  1784. $("#fpid").append("_$tag_____________$tag____");
  1785. for(var i = 0; i < data.length; i++){
  1786. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  1787. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  1788. }
  1789. }
  1790. },
  1791. "error" : function(msg){
  1792. },
  1793. "complete": function(){
  1794. layer.close(tip);
  1795. }
  1796. });
  1797. }
  1798. $("#fpid").change(function(){
  1799. var tip = layer.load(2);
  1800. var url = "getgyrkxx.do";
  1801. var sum_total=0;
  1802. $.ajax({
  1803. "url" : url,
  1804. "data" : {
  1805. "fpId" : $("#fpid").val()
  1806. },
  1807. "type" : "POST",
  1808. "dataType" : "json",
  1809. "async" : true,
  1810. "success" : function(data) {
  1811. $("#dataTable").html("");
  1812. if(data != null && data != ""){
  1813. var html = "";
  1814. for(var i = 0; i < data.length; i++){
  1815. var ID = data[i].id == null ? "" : data[i].id;
  1816. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  1817. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  1818. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  1819. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  1820. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  1821. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  1822. var GOODS = data[i].goods == null ? "" : data[i].goods;
  1823. var NAME = data[i].name == null ? "" : data[i].name;
  1824. var SPEC = data[i].spec == null ? "" : data[i].spec;
  1825. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  1826. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  1827. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  1828. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  1829. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  1830. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  1831. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  1832. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  1833. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  1834. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  1835. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  1836. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  1837. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  1838. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  1839. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  1840. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  1841. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  1842. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  1843. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  1844. sum_total = sum_total + DSUMVALUE
  1845. var invoice_type_cn =null;
  1846. if (invoice_type =="00" ){
  1847. invoice_type_cn="销售发票";
  1848. }else if (invoice_type == "01") {
  1849. invoice_type_cn="更正(对冲)发票";
  1850. }else if (invoice_type == "02") {
  1851. invoice_type_cn="其它类型发票";
  1852. }
  1853. html += "_$ta";
  1854. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1855. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1856. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  1857. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1858. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1859. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  1860. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1861. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1862. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1863. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  1864. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  1865. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  1866. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1867. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1868. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1869. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1870. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  1871. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  1872. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  1873. html += "_$tag";
  1874. }
  1875. html += "_$ta";
  1876. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1877. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1878. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1879. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1880. html += "_$tag_____________$tag_合计:_$tag___$tag";
  1881. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  1882. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1883. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1884. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1885. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1886. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1887. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1888. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1889. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1890. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1891. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1892. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1893. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1894. html += "_$tag_____________$tag____________________________________________________________________$tag";
  1895. html += "_$tag";
  1896. $("#dataTable").html(html);
  1897. }else {
  1898. $("#dataTable").html("");
  1899. }
  1900. },
  1901. "error" : function(msg){
  1902. },
  1903. "complete": function(){
  1904. layer.close(tip);
  1905. }
  1906. });
  1907. });
  1908. Date.prototype.Format = function (fmt) {
  1909. var o = {
  1910. "M+": this.getMonth() + 1, //月份
  1911. "d+": this.getDate(), //日
  1912. "h+": this.getHours(), //小时
  1913. "m+": this.getMinutes(), //分
  1914. "s+": this.getSeconds(), //秒
  1915. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1916. "S": this.getMilliseconds() //毫秒
  1917. };
  1918. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1919. for (var k in o)
  1920. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1921. return fmt;
  1922. }
  1923. $("#jrjc").change(function() {
  1924. if ($("#jrjc").prop('checked') == true){
  1925. $("#departmentId").removeAttr("disabled");
  1926. }else {
  1927. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1928. }
  1929. });
  1930. ----------------------------------- SOURCE END -------------------------------------
  1931. !STACK 0
  1932. java.lang.NullPointerException
  1933. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:22:03.610
  1934. !MESSAGE java.lang.NullPointerException
  1935. !STACK 1
  1936. JavaScript Model Exception: java.lang.NullPointerException
  1937. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  1938. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  1939. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  1940. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  1941. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  1942. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  1943. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  1944. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  1945. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  1946. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  1947. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  1948. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  1949. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  1950. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  1951. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  1952. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  1953. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  1954. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  1955. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  1956. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  1957. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  1958. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  1959. Caused by: java.lang.NullPointerException
  1960. Caused by: java.lang.NullPointerException
  1961. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:22:03.610
  1962. !MESSAGE java.lang.NullPointerException
  1963. !STACK 0
  1964. java.lang.NullPointerException
  1965. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:22:08.172
  1966. !MESSAGE Exception occurred during problem detection:
  1967. ----------------------------------- SOURCE BEGIN -------------------------------------
  1968. (function(){WdatePicker();})();
  1969. (function(){WdatePicker();})();
  1970. (function(){Data.get();})();
  1971. (function(){Data.set();})();
  1972. (function(){search();})();
  1973. $(function(){
  1974. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1975. getfp();
  1976. });
  1977. var Data = {
  1978. "get" : function(){
  1979. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  1980. var tip = layer.load(2);
  1981. var result="";
  1982. var url = "getgyxml.do";
  1983. $.ajax({
  1984. "url" : url,
  1985. "data" : {
  1986. "start_date" : $("#dateBegin").val(),
  1987. "end_date" : $("#dateEnd").val()
  1988. },
  1989. "type" : "POST",
  1990. "dataType" : "json",
  1991. "success" : function(data) {
  1992. if(data != null && data != ""){
  1993. if ( data.status =="success"){
  1994. getfp();
  1995. alert("获取成功!");
  1996. }else {
  1997. alert(data.status);
  1998. }
  1999. }else {
  2000. alert("获取失败!");
  2001. }
  2002. },
  2003. "complete": function(){
  2004. layer.close(tip);
  2005. }
  2006. });
  2007. }else {
  2008. alert("请选择日期!");
  2009. }
  2010. },
  2011. "set" : function(){
  2012. if ( $("#fpid option:selected").text() !=""){
  2013. var tip = layer.load(2);
  2014. var gitem = $("#form1").serialize();
  2015. var jrjc;
  2016. if ($("#jrjc").prop('checked') == true){
  2017. jrjc = $("#departmentId").val();
  2018. }else {
  2019. jrjc ='N'
  2020. }
  2021. var url = "saverk.do";
  2022. $.ajax({
  2023. "url" : url,
  2024. "data" : {
  2025. "gitem" : gitem,
  2026. "jrjc" : jrjc
  2027. },
  2028. "type" : "POST",
  2029. "dataType" : "json",
  2030. "async" : true,
  2031. "success" : function(data) {
  2032. if(data.status =="success"){
  2033. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  2034. alert("入库成功!\n入库单号:"+data.rkdh+"");
  2035. }else {
  2036. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  2037. }
  2038. window.location.reload();
  2039. }else {
  2040. alert(data.status);
  2041. }
  2042. },
  2043. "error": function(){
  2044. alert("确认失败!");
  2045. },
  2046. "complete": function(){
  2047. layer.close(tip);
  2048. }
  2049. });
  2050. }else {
  2051. alert("请选择发票!");
  2052. }
  2053. }
  2054. }
  2055. function getfp(){
  2056. var tip = layer.load(2);
  2057. var url = "getgyfp.do";
  2058. $.ajax({
  2059. "url" : url,
  2060. "type" : "POST",
  2061. "dataType" : "json",
  2062. "async" : true,
  2063. "success" : function(data) {
  2064. if(data != null && data != ""){
  2065. $("#fpid").empty();
  2066. $("#fpid").append("_$tag_____________$tag____");
  2067. for(var i = 0; i < data.length; i++){
  2068. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  2069. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  2070. }
  2071. }
  2072. },
  2073. "error" : function(msg){
  2074. },
  2075. "complete": function(){
  2076. layer.close(tip);
  2077. }
  2078. });
  2079. }
  2080. $("#fpid").change(function(){
  2081. var tip = layer.load(2);
  2082. var url = "getgyrkxx.do";
  2083. var sum_total=0;
  2084. $.ajax({
  2085. "url" : url,
  2086. "data" : {
  2087. "fpId" : $("#fpid").val()
  2088. },
  2089. "type" : "POST",
  2090. "dataType" : "json",
  2091. "async" : true,
  2092. "success" : function(data) {
  2093. $("#dataTable").html("");
  2094. if(data != null && data != ""){
  2095. var html = "";
  2096. for(var i = 0; i < data.length; i++){
  2097. var ID = data[i].id == null ? "" : data[i].id;
  2098. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  2099. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  2100. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  2101. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  2102. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  2103. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  2104. var GOODS = data[i].goods == null ? "" : data[i].goods;
  2105. var NAME = data[i].name == null ? "" : data[i].name;
  2106. var SPEC = data[i].spec == null ? "" : data[i].spec;
  2107. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  2108. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  2109. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  2110. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  2111. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  2112. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  2113. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  2114. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  2115. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  2116. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  2117. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  2118. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  2119. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  2120. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  2121. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  2122. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  2123. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  2124. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  2125. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  2126. sum_total = sum_total + DSUMVALUE
  2127. var invoice_type_cn =null;
  2128. if (invoice_type =="00" ){
  2129. invoice_type_cn="销售发票";
  2130. }else if (invoice_type == "01") {
  2131. invoice_type_cn="更正(对冲)发票";
  2132. }else if (invoice_type == "02") {
  2133. invoice_type_cn="其它类型发票";
  2134. }
  2135. html += "_$ta";
  2136. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2137. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2138. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  2139. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2140. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2141. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  2142. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2143. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2144. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2145. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  2146. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  2147. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  2148. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2149. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2150. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2151. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2152. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  2153. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  2154. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  2155. html += "_$tag";
  2156. }
  2157. html += "_$ta";
  2158. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2159. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2160. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2161. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2162. html += "_$tag_____________$tag_合计:_$tag___$tag";
  2163. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  2164. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2165. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2166. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2167. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2168. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2169. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2170. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2171. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2172. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2173. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2174. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2175. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2176. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2177. html += "_$tag";
  2178. $("#dataTable").html(html);
  2179. }else {
  2180. $("#dataTable").html("");
  2181. }
  2182. },
  2183. "error" : function(msg){
  2184. },
  2185. "complete": function(){
  2186. layer.close(tip);
  2187. }
  2188. });
  2189. });
  2190. Date.prototype.Format = function (fmt) {
  2191. var o = {
  2192. "M+": this.getMonth() + 1, //月份
  2193. "d+": this.getDate(), //日
  2194. "h+": this.getHours(), //小时
  2195. "m+": this.getMinutes(), //分
  2196. "s+": this.getSeconds(), //秒
  2197. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2198. "S": this.getMilliseconds() //毫秒
  2199. };
  2200. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2201. for (var k in o)
  2202. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2203. return fmt;
  2204. }
  2205. $("#jrjc").change(function() {
  2206. if ($("#jrjc").prop('checked') == true){
  2207. $("#departmentId").removeAttr("disabled");
  2208. }else {
  2209. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2210. }
  2211. });
  2212. ----------------------------------- SOURCE END -------------------------------------
  2213. !STACK 0
  2214. java.lang.NullPointerException
  2215. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:22:08.173
  2216. !MESSAGE Error while processing working copy
  2217. !STACK 1
  2218. JavaScript Model Exception: java.lang.NullPointerException
  2219. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  2220. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  2221. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  2222. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  2223. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  2224. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  2225. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  2226. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  2227. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  2228. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  2229. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  2230. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  2231. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  2232. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  2233. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  2234. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  2235. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  2236. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  2237. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  2238. Caused by: java.lang.NullPointerException
  2239. Caused by: java.lang.NullPointerException
  2240. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:22:08.173
  2241. !MESSAGE java.lang.NullPointerException
  2242. !STACK 0
  2243. java.lang.NullPointerException
  2244. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:22:09.143
  2245. !MESSAGE Exception occurred during problem detection:
  2246. ----------------------------------- SOURCE BEGIN -------------------------------------
  2247. (function(){WdatePicker();})();
  2248. (function(){WdatePicker();})();
  2249. (function(){Data.get();})();
  2250. (function(){Data.set();})();
  2251. (function(){search();})();
  2252. $(function(){
  2253. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2254. getfp();
  2255. });
  2256. var Data = {
  2257. "get" : function(){
  2258. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  2259. var tip = layer.load(2);
  2260. var result="";
  2261. var url = "getgyxml.do";
  2262. $.ajax({
  2263. "url" : url,
  2264. "data" : {
  2265. "start_date" : $("#dateBegin").val(),
  2266. "end_date" : $("#dateEnd").val()
  2267. },
  2268. "type" : "POST",
  2269. "dataType" : "json",
  2270. "success" : function(data) {
  2271. if(data != null && data != ""){
  2272. if ( data.status =="success"){
  2273. getfp();
  2274. alert("获取成功!");
  2275. }else {
  2276. alert(data.status);
  2277. }
  2278. }else {
  2279. alert("获取失败!");
  2280. }
  2281. },
  2282. "complete": function(){
  2283. layer.close(tip);
  2284. }
  2285. });
  2286. }else {
  2287. alert("请选择日期!");
  2288. }
  2289. },
  2290. "set" : function(){
  2291. if ( $("#fpid option:selected").text() !=""){
  2292. var tip = layer.load(2);
  2293. var gitem = $("#form1").serialize();
  2294. var jrjc;
  2295. if ($("#jrjc").prop('checked') == true){
  2296. jrjc = $("#departmentId").val();
  2297. }else {
  2298. jrjc ='N'
  2299. }
  2300. var url = "saverk.do";
  2301. $.ajax({
  2302. "url" : url,
  2303. "data" : {
  2304. "gitem" : gitem,
  2305. "jrjc" : jrjc
  2306. },
  2307. "type" : "POST",
  2308. "dataType" : "json",
  2309. "async" : true,
  2310. "success" : function(data) {
  2311. if(data.status =="success"){
  2312. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  2313. alert("入库成功!\n入库单号:"+data.rkdh+"");
  2314. }else {
  2315. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  2316. }
  2317. window.location.reload();
  2318. }else {
  2319. alert(data.status);
  2320. }
  2321. },
  2322. "error": function(){
  2323. alert("确认失败!");
  2324. },
  2325. "complete": function(){
  2326. layer.close(tip);
  2327. }
  2328. });
  2329. }else {
  2330. alert("请选择发票!");
  2331. }
  2332. }
  2333. }
  2334. function getfp(){
  2335. var tip = layer.load(2);
  2336. var url = "getgyfp.do";
  2337. $.ajax({
  2338. "url" : url,
  2339. "type" : "POST",
  2340. "dataType" : "json",
  2341. "async" : true,
  2342. "success" : function(data) {
  2343. if(data != null && data != ""){
  2344. $("#fpid").empty();
  2345. $("#fpid").append("_$tag_____________$tag____");
  2346. for(var i = 0; i < data.length; i++){
  2347. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  2348. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  2349. }
  2350. }
  2351. },
  2352. "error" : function(msg){
  2353. },
  2354. "complete": function(){
  2355. layer.close(tip);
  2356. }
  2357. });
  2358. }
  2359. $("#fpid").change(function(){
  2360. var tip = layer.load(2);
  2361. var url = "getgyrkxx.do";
  2362. var sum_total=0;
  2363. $.ajax({
  2364. "url" : url,
  2365. "data" : {
  2366. "fpId" : $("#fpid").val()
  2367. },
  2368. "type" : "POST",
  2369. "dataType" : "json",
  2370. "async" : true,
  2371. "success" : function(data) {
  2372. $("#dataTable").html("");
  2373. if(data != null && data != ""){
  2374. var html = "";
  2375. for(var i = 0; i < data.length; i++){
  2376. var ID = data[i].id == null ? "" : data[i].id;
  2377. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  2378. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  2379. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  2380. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  2381. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  2382. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  2383. var GOODS = data[i].goods == null ? "" : data[i].goods;
  2384. var NAME = data[i].name == null ? "" : data[i].name;
  2385. var SPEC = data[i].spec == null ? "" : data[i].spec;
  2386. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  2387. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  2388. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  2389. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  2390. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  2391. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  2392. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  2393. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  2394. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  2395. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  2396. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  2397. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  2398. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  2399. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  2400. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  2401. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  2402. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  2403. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  2404. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  2405. sum_total = sum_total + DSUMVALUE
  2406. var invoice_type_cn =null;
  2407. if (invoice_type =="00" ){
  2408. invoice_type_cn="销售发票";
  2409. }else if (invoice_type == "01") {
  2410. invoice_type_cn="更正(对冲)发票";
  2411. }else if (invoice_type == "02") {
  2412. invoice_type_cn="其它类型发票";
  2413. }
  2414. html += "_$ta";
  2415. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2416. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2417. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  2418. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2419. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2420. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  2421. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2422. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2423. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2424. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  2425. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  2426. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  2427. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2428. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2429. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2430. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2431. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  2432. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  2433. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  2434. html += "_$tag";
  2435. }
  2436. html += "_$ta";
  2437. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2438. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2439. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2440. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2441. html += "_$tag_____________$tag_合计:_$tag___$tag";
  2442. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  2443. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2444. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2445. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2446. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2447. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2448. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2449. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2450. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2451. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2452. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2453. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2454. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2455. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2456. html += "_$tag";
  2457. $("#dataTable").html(html);
  2458. }else {
  2459. $("#dataTable").html("");
  2460. }
  2461. },
  2462. "error" : function(msg){
  2463. },
  2464. "complete": function(){
  2465. layer.close(tip);
  2466. }
  2467. });
  2468. });
  2469. Date.prototype.Format = function (fmt) {
  2470. var o = {
  2471. "M+": this.getMonth() + 1, //月份
  2472. "d+": this.getDate(), //日
  2473. "h+": this.getHours(), //小时
  2474. "m+": this.getMinutes(), //分
  2475. "s+": this.getSeconds(), //秒
  2476. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2477. "S": this.getMilliseconds() //毫秒
  2478. };
  2479. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2480. for (var k in o)
  2481. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2482. return fmt;
  2483. }
  2484. $("#jrjc").change(function() {
  2485. if ($("#jrjc").prop('checked') == true){
  2486. $("#departmentId").removeAttr("disabled");
  2487. }else {
  2488. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2489. }
  2490. });
  2491. ----------------------------------- SOURCE END -------------------------------------
  2492. !STACK 0
  2493. java.lang.NullPointerException
  2494. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:10.586
  2495. !MESSAGE Exception occurred during problem detection:
  2496. ----------------------------------- SOURCE BEGIN -------------------------------------
  2497. (function(){WdatePicker();})();
  2498. (function(){WdatePicker();})();
  2499. (function(){Data.get();})();
  2500. (function(){Data.set();})();
  2501. (function(){search();})();
  2502. $(function(){
  2503. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2504. getfp();
  2505. });
  2506. var Data = {
  2507. "get" : function(){
  2508. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  2509. var tip = layer.load(2);
  2510. var result="";
  2511. var url = "getgyxml.do";
  2512. $.ajax({
  2513. "url" : url,
  2514. "data" : {
  2515. "start_date" : $("#dateBegin").val(),
  2516. "end_date" : $("#dateEnd").val()
  2517. },
  2518. "type" : "POST",
  2519. "dataType" : "json",
  2520. "success" : function(data) {
  2521. if(data != null && data != ""){
  2522. if ( data.status =="success"){
  2523. getfp();
  2524. alert("获取成功!");
  2525. }else {
  2526. alert(data.status);
  2527. }
  2528. }else {
  2529. alert("获取失败!");
  2530. }
  2531. },
  2532. "complete": function(){
  2533. layer.close(tip);
  2534. }
  2535. });
  2536. }else {
  2537. alert("请选择日期!");
  2538. }
  2539. },
  2540. "set" : function(){
  2541. if ( $("#fpid option:selected").text() !=""){
  2542. var tip = layer.load(2);
  2543. var gitem = $("#form1").serialize();
  2544. var jrjc;
  2545. if ($("#jrjc").prop('checked') == true){
  2546. jrjc = $("#departmentId").val();
  2547. }else {
  2548. jrjc ='N'
  2549. }
  2550. var url = "saverk.do";
  2551. $.ajax({
  2552. "url" : url,
  2553. "data" : {
  2554. "gitem" : gitem,
  2555. "jrjc" : jrjc
  2556. },
  2557. "type" : "POST",
  2558. "dataType" : "json",
  2559. "async" : true,
  2560. "success" : function(data) {
  2561. if(data.status =="success"){
  2562. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  2563. alert("入库成功!\n入库单号:"+data.rkdh+"");
  2564. }else {
  2565. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  2566. }
  2567. window.location.reload();
  2568. }else {
  2569. alert(data.status);
  2570. }
  2571. },
  2572. "error": function(){
  2573. alert("确认失败!");
  2574. },
  2575. "complete": function(){
  2576. layer.close(tip);
  2577. }
  2578. });
  2579. }else {
  2580. alert("请选择发票!");
  2581. }
  2582. }
  2583. }
  2584. function getfp(){
  2585. var tip = layer.load(2);
  2586. var url = "getgyfp.do";
  2587. $.ajax({
  2588. "url" : url,
  2589. "type" : "POST",
  2590. "dataType" : "json",
  2591. "async" : true,
  2592. "success" : function(data) {
  2593. if(data != null && data != ""){
  2594. $("#fpid").empty();
  2595. $("#fpid").append("_$tag_____________$tag____");
  2596. for(var i = 0; i < data.length; i++){
  2597. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  2598. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  2599. }
  2600. }
  2601. },
  2602. "error" : function(msg){
  2603. },
  2604. "complete": function(){
  2605. layer.close(tip);
  2606. }
  2607. });
  2608. }
  2609. $("#fpid").change(function(){
  2610. var tip = layer.load(2);
  2611. var url = "getgyrkxx.do";
  2612. var sum_total=0;
  2613. $.ajax({
  2614. "url" : url,
  2615. "data" : {
  2616. "fpId" : $("#fpid").val()
  2617. },
  2618. "type" : "POST",
  2619. "dataType" : "json",
  2620. "async" : true,
  2621. "success" : function(data) {
  2622. $("#dataTable").html("");
  2623. if(data != null && data != ""){
  2624. var html = "";
  2625. for(var i = 0; i < data.length; i++){
  2626. var ID = data[i].id == null ? "" : data[i].id;
  2627. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  2628. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  2629. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  2630. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  2631. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  2632. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  2633. var GOODS = data[i].goods == null ? "" : data[i].goods;
  2634. var NAME = data[i].name == null ? "" : data[i].name;
  2635. var SPEC = data[i].spec == null ? "" : data[i].spec;
  2636. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  2637. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  2638. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  2639. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  2640. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  2641. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  2642. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  2643. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  2644. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  2645. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  2646. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  2647. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  2648. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  2649. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  2650. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  2651. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  2652. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  2653. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  2654. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  2655. sum_total = sum_total + DSUMVALUE
  2656. var invoice_type_cn =null;
  2657. if (invoice_type =="00" ){
  2658. invoice_type_cn="销售发票";
  2659. }else if (invoice_type == "01") {
  2660. invoice_type_cn="更正(对冲)发票";
  2661. }else if (invoice_type == "02") {
  2662. invoice_type_cn="其它类型发票";
  2663. }
  2664. html += "_$ta";
  2665. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2666. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2667. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  2668. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2669. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2670. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  2671. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2672. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2673. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2674. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  2675. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  2676. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  2677. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2678. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2679. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2680. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2681. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  2682. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  2683. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  2684. html += "_$tag";
  2685. }
  2686. html += "_$ta";
  2687. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2688. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2689. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2690. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2691. html += "_$tag_____________$tag_合计:_$tag___$tag";
  2692. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  2693. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2694. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2695. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2696. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2697. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2698. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2699. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2700. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2701. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2702. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2703. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2704. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2705. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2706. html += "_$tag";
  2707. $("#dataTable").html(html);
  2708. }else {
  2709. $("#dataTable").html("");
  2710. }
  2711. },
  2712. "error" : function(msg){
  2713. },
  2714. "complete": function(){
  2715. layer.close(tip);
  2716. }
  2717. });
  2718. });
  2719. Date.prototype.Format = function (fmt) {
  2720. var o = {
  2721. "M+": this.getMonth() + 1, //月份
  2722. "d+": this.getDate(), //日
  2723. "h+": this.getHours(), //小时
  2724. "m+": this.getMinutes(), //分
  2725. "s+": this.getSeconds(), //秒
  2726. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2727. "S": this.getMilliseconds() //毫秒
  2728. };
  2729. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2730. for (var k in o)
  2731. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2732. return fmt;
  2733. }
  2734. $("#jrjc").change(function() {
  2735. if ($("#jrjc").prop('checked') == true){
  2736. $("#departmentId").removeAttr("disabled");
  2737. }else {
  2738. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2739. }
  2740. });
  2741. ----------------------------------- SOURCE END -------------------------------------
  2742. !STACK 0
  2743. java.lang.NullPointerException
  2744. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:28:10.615
  2745. !MESSAGE java.lang.NullPointerException
  2746. !STACK 1
  2747. JavaScript Model Exception: java.lang.NullPointerException
  2748. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  2749. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  2750. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  2751. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  2752. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  2753. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  2754. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  2755. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  2756. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  2757. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  2758. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  2759. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  2760. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  2761. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  2762. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  2763. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  2764. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  2765. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  2766. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  2767. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  2768. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  2769. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  2770. Caused by: java.lang.NullPointerException
  2771. Caused by: java.lang.NullPointerException
  2772. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:28:10.615
  2773. !MESSAGE java.lang.NullPointerException
  2774. !STACK 0
  2775. java.lang.NullPointerException
  2776. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:44.867
  2777. !MESSAGE Exception occurred during problem detection:
  2778. ----------------------------------- SOURCE BEGIN -------------------------------------
  2779. (function(){WdatePicker();})();
  2780. (function(){WdatePicker();})();
  2781. (function(){Data.get();})();
  2782. (function(){Data.set();})();
  2783. (function(){search();})();
  2784. $(function(){
  2785. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2786. getfp();
  2787. });
  2788. var Data = {
  2789. "get" : function(){
  2790. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  2791. var tip = layer.load(2);
  2792. var result="";
  2793. var url = "getgyxml.do";
  2794. $.ajax({
  2795. "url" : url,
  2796. "data" : {
  2797. "start_date" : $("#dateBegin").val(),
  2798. "end_date" : $("#dateEnd").val()
  2799. },
  2800. "type" : "POST",
  2801. "dataType" : "json",
  2802. "success" : function(data) {
  2803. if(data != null && data != ""){
  2804. if ( data.status =="success"){
  2805. getfp();
  2806. alert("获取成功!");
  2807. }else {
  2808. alert(data.status);
  2809. }
  2810. }else {
  2811. alert("获取失败!");
  2812. }
  2813. },
  2814. "complete": function(){
  2815. layer.close(tip);
  2816. }
  2817. });
  2818. }else {
  2819. alert("请选择日期!");
  2820. }
  2821. },
  2822. "set" : function(){
  2823. if ( $("#fpid option:selected").text() !=""){
  2824. var tip = layer.load(2);
  2825. var gitem = $("#form1").serialize();
  2826. var jrjc;
  2827. if ($("#jrjc").prop('checked') == true){
  2828. jrjc = $("#departmentId").val();
  2829. }else {
  2830. jrjc ='N'
  2831. }
  2832. var url = "saverk.do";
  2833. $.ajax({
  2834. "url" : url,
  2835. "data" : {
  2836. "gitem" : gitem,
  2837. "jrjc" : jrjc
  2838. },
  2839. "type" : "POST",
  2840. "dataType" : "json",
  2841. "async" : true,
  2842. "success" : function(data) {
  2843. if(data.status =="success"){
  2844. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  2845. alert("入库成功!\n入库单号:"+data.rkdh+"");
  2846. }else {
  2847. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  2848. }
  2849. window.location.reload();
  2850. }else {
  2851. alert(data.status);
  2852. }
  2853. },
  2854. "error": function(){
  2855. alert("确认失败!");
  2856. },
  2857. "complete": function(){
  2858. layer.close(tip);
  2859. }
  2860. });
  2861. }else {
  2862. alert("请选择发票!");
  2863. }
  2864. }
  2865. }
  2866. function getfp(){
  2867. var tip = layer.load(2);
  2868. var url = "getgyfp.do";
  2869. $.ajax({
  2870. "url" : url,
  2871. "type" : "POST",
  2872. "dataType" : "json",
  2873. "async" : true,
  2874. "success" : function(data) {
  2875. if(data != null && data != ""){
  2876. $("#fpid").empty();
  2877. $("#fpid").append("_$tag_____________$tag____");
  2878. for(var i = 0; i < data.length; i++){
  2879. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  2880. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  2881. }
  2882. }
  2883. },
  2884. "error" : function(msg){
  2885. },
  2886. "complete": function(){
  2887. layer.close(tip);
  2888. }
  2889. });
  2890. }
  2891. $("#fpid").change(function(){
  2892. var tip = layer.load(2);
  2893. var url = "getgyrkxx.do";
  2894. var sum_total=0;
  2895. $.ajax({
  2896. "url" : url,
  2897. "data" : {
  2898. "fpId" : $("#fpid").val()
  2899. },
  2900. "type" : "POST",
  2901. "dataType" : "json",
  2902. "async" : true,
  2903. "success" : function(data) {
  2904. $("#dataTable").html("");
  2905. if(data != null && data != ""){
  2906. var html = "";
  2907. for(var i = 0; i < data.length; i++){
  2908. var ID = data[i].id == null ? "" : data[i].id;
  2909. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  2910. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  2911. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  2912. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  2913. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  2914. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  2915. var GOODS = data[i].goods == null ? "" : data[i].goods;
  2916. var NAME = data[i].name == null ? "" : data[i].name;
  2917. var SPEC = data[i].spec == null ? "" : data[i].spec;
  2918. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  2919. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  2920. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  2921. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  2922. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  2923. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  2924. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  2925. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  2926. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  2927. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  2928. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  2929. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  2930. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  2931. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  2932. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  2933. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  2934. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  2935. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  2936. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  2937. sum_total = sum_total + DSUMVALUE
  2938. var invoice_type_cn =null;
  2939. if (invoice_type =="00" ){
  2940. invoice_type_cn="销售发票";
  2941. }else if (invoice_type == "01") {
  2942. invoice_type_cn="更正(对冲)发票";
  2943. }else if (invoice_type == "02") {
  2944. invoice_type_cn="其它类型发票";
  2945. }
  2946. html += "_$ta";
  2947. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2948. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2949. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  2950. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2951. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2952. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  2953. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2954. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2955. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2956. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  2957. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  2958. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  2959. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2960. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2961. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2962. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2963. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  2964. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  2965. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  2966. html += "_$tag";
  2967. }
  2968. html += "_$ta";
  2969. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2970. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2971. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2972. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2973. html += "_$tag_____________$tag_合计:_$tag___$tag";
  2974. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  2975. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2976. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2977. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2978. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2979. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2980. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2981. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2982. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2983. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2984. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2985. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2986. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2987. html += "_$tag_____________$tag____________________________________________________________________$tag";
  2988. html += "_$tag";
  2989. $("#dataTable").html(html);
  2990. }else {
  2991. $("#dataTable").html("");
  2992. }
  2993. },
  2994. "error" : function(msg){
  2995. },
  2996. "complete": function(){
  2997. layer.close(tip);
  2998. }
  2999. });
  3000. });
  3001. Date.prototype.Format = function (fmt) {
  3002. var o = {
  3003. "M+": this.getMonth() + 1, //月份
  3004. "d+": this.getDate(), //日
  3005. "h+": this.getHours(), //小时
  3006. "m+": this.getMinutes(), //分
  3007. "s+": this.getSeconds(), //秒
  3008. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3009. "S": this.getMilliseconds() //毫秒
  3010. };
  3011. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3012. for (var k in o)
  3013. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3014. return fmt;
  3015. }
  3016. $("#jrjc").change(function() {
  3017. if ($("#jrjc").prop('checked') == true){
  3018. $("#departmentId").removeAttr("disabled");
  3019. }else {
  3020. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3021. }
  3022. });
  3023. ----------------------------------- SOURCE END -------------------------------------
  3024. !STACK 0
  3025. java.lang.NullPointerException
  3026. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:44.867
  3027. !MESSAGE Error while processing working copy
  3028. !STACK 1
  3029. JavaScript Model Exception: java.lang.NullPointerException
  3030. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3031. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  3032. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3033. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3034. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  3035. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  3036. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  3037. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  3038. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  3039. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  3040. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  3041. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  3042. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  3043. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  3044. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  3045. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  3046. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  3047. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  3048. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  3049. Caused by: java.lang.NullPointerException
  3050. Caused by: java.lang.NullPointerException
  3051. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:28:44.868
  3052. !MESSAGE java.lang.NullPointerException
  3053. !STACK 0
  3054. java.lang.NullPointerException
  3055. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:46.190
  3056. !MESSAGE Exception occurred during problem detection:
  3057. ----------------------------------- SOURCE BEGIN -------------------------------------
  3058. (function(){WdatePicker();})();
  3059. (function(){WdatePicker();})();
  3060. (function(){Data.get();})();
  3061. (function(){Data.set();})();
  3062. (function(){search();})();
  3063. $(function(){
  3064. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3065. getfp();
  3066. });
  3067. var Data = {
  3068. "get" : function(){
  3069. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  3070. var tip = layer.load(2);
  3071. var result="";
  3072. var url = "getgyxml.do";
  3073. $.ajax({
  3074. "url" : url,
  3075. "data" : {
  3076. "start_date" : $("#dateBegin").val(),
  3077. "end_date" : $("#dateEnd").val()
  3078. },
  3079. "type" : "POST",
  3080. "dataType" : "json",
  3081. "success" : function(data) {
  3082. if(data != null && data != ""){
  3083. if ( data.status =="success"){
  3084. getfp();
  3085. alert("获取成功!");
  3086. }else {
  3087. alert(data.status);
  3088. }
  3089. }else {
  3090. alert("获取失败!");
  3091. }
  3092. },
  3093. "complete": function(){
  3094. layer.close(tip);
  3095. }
  3096. });
  3097. }else {
  3098. alert("请选择日期!");
  3099. }
  3100. },
  3101. "set" : function(){
  3102. if ( $("#fpid option:selected").text() !=""){
  3103. var tip = layer.load(2);
  3104. var gitem = $("#form1").serialize();
  3105. var jrjc;
  3106. if ($("#jrjc").prop('checked') == true){
  3107. jrjc = $("#departmentId").val();
  3108. }else {
  3109. jrjc ='N'
  3110. }
  3111. var url = "saverk.do";
  3112. $.ajax({
  3113. "url" : url,
  3114. "data" : {
  3115. "gitem" : gitem,
  3116. "jrjc" : jrjc
  3117. },
  3118. "type" : "POST",
  3119. "dataType" : "json",
  3120. "async" : true,
  3121. "success" : function(data) {
  3122. if(data.status =="success"){
  3123. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  3124. alert("入库成功!\n入库单号:"+data.rkdh+"");
  3125. }else {
  3126. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  3127. }
  3128. window.location.reload();
  3129. }else {
  3130. alert(data.status);
  3131. }
  3132. },
  3133. "error": function(){
  3134. alert("确认失败!");
  3135. },
  3136. "complete": function(){
  3137. layer.close(tip);
  3138. }
  3139. });
  3140. }else {
  3141. alert("请选择发票!");
  3142. }
  3143. }
  3144. }
  3145. function getfp(){
  3146. var tip = layer.load(2);
  3147. var url = "getgyfp.do";
  3148. $.ajax({
  3149. "url" : url,
  3150. "type" : "POST",
  3151. "dataType" : "json",
  3152. "async" : true,
  3153. "success" : function(data) {
  3154. if(data != null && data != ""){
  3155. $("#fpid").empty();
  3156. $("#fpid").append("_$tag_____________$tag____");
  3157. for(var i = 0; i < data.length; i++){
  3158. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  3159. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  3160. }
  3161. }
  3162. },
  3163. "error" : function(msg){
  3164. },
  3165. "complete": function(){
  3166. layer.close(tip);
  3167. }
  3168. });
  3169. }
  3170. $("#fpid").change(function(){
  3171. var tip = layer.load(2);
  3172. var url = "getgyrkxx.do";
  3173. var sum_total=0;
  3174. $.ajax({
  3175. "url" : url,
  3176. "data" : {
  3177. "fpId" : $("#fpid").val()
  3178. },
  3179. "type" : "POST",
  3180. "dataType" : "json",
  3181. "async" : true,
  3182. "success" : function(data) {
  3183. $("#dataTable").html("");
  3184. if(data != null && data != ""){
  3185. var html = "";
  3186. for(var i = 0; i < data.length; i++){
  3187. var ID = data[i].id == null ? "" : data[i].id;
  3188. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  3189. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  3190. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  3191. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  3192. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  3193. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  3194. var GOODS = data[i].goods == null ? "" : data[i].goods;
  3195. var NAME = data[i].name == null ? "" : data[i].name;
  3196. var SPEC = data[i].spec == null ? "" : data[i].spec;
  3197. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  3198. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  3199. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  3200. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  3201. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  3202. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  3203. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  3204. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  3205. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  3206. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  3207. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  3208. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  3209. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  3210. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  3211. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  3212. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  3213. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  3214. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  3215. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  3216. sum_total = sum_total + DSUMVALUE
  3217. var invoice_type_cn =null;
  3218. if (invoice_type =="00" ){
  3219. invoice_type_cn="销售发票";
  3220. }else if (invoice_type == "01") {
  3221. invoice_type_cn="更正(对冲)发票";
  3222. }else if (invoice_type == "02") {
  3223. invoice_type_cn="其它类型发票";
  3224. }
  3225. html += "_$ta";
  3226. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3227. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3228. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  3229. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3230. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3231. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  3232. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3233. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3234. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3235. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  3236. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  3237. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  3238. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3239. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3240. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3241. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3242. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  3243. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  3244. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  3245. html += "_$tag";
  3246. }
  3247. html += "_$ta";
  3248. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3249. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3250. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3251. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3252. html += "_$tag_____________$tag_合计:_$tag___$tag";
  3253. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  3254. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3255. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3256. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3257. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3258. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3259. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3260. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3261. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3262. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3263. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3264. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3265. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3266. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3267. html += "_$tag";
  3268. $("#dataTable").html(html);
  3269. }else {
  3270. $("#dataTable").html("");
  3271. }
  3272. },
  3273. "error" : function(msg){
  3274. },
  3275. "complete": function(){
  3276. layer.close(tip);
  3277. }
  3278. });
  3279. });
  3280. Date.prototype.Format = function (fmt) {
  3281. var o = {
  3282. "M+": this.getMonth() + 1, //月份
  3283. "d+": this.getDate(), //日
  3284. "h+": this.getHours(), //小时
  3285. "m+": this.getMinutes(), //分
  3286. "s+": this.getSeconds(), //秒
  3287. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3288. "S": this.getMilliseconds() //毫秒
  3289. };
  3290. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3291. for (var k in o)
  3292. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3293. return fmt;
  3294. }
  3295. $("#jrjc").change(function() {
  3296. if ($("#jrjc").prop('checked') == true){
  3297. $("#departmentId").removeAttr("disabled");
  3298. }else {
  3299. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3300. }
  3301. });
  3302. ----------------------------------- SOURCE END -------------------------------------
  3303. !STACK 0
  3304. java.lang.NullPointerException
  3305. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:28:46.556
  3306. !MESSAGE Exception occurred during problem detection:
  3307. ----------------------------------- SOURCE BEGIN -------------------------------------
  3308. (function(){WdatePicker();})();
  3309. (function(){WdatePicker();})();
  3310. (function(){Data.get();})();
  3311. (function(){Data.set();})();
  3312. (function(){search();})();
  3313. $(function(){
  3314. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3315. getfp();
  3316. });
  3317. var Data = {
  3318. "get" : function(){
  3319. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  3320. var tip = layer.load(2);
  3321. var result="";
  3322. var url = "getgyxml.do";
  3323. $.ajax({
  3324. "url" : url,
  3325. "data" : {
  3326. "start_date" : $("#dateBegin").val(),
  3327. "end_date" : $("#dateEnd").val()
  3328. },
  3329. "type" : "POST",
  3330. "dataType" : "json",
  3331. "success" : function(data) {
  3332. if(data != null && data != ""){
  3333. if ( data.status =="success"){
  3334. getfp();
  3335. alert("获取成功!");
  3336. }else {
  3337. alert(data.status);
  3338. }
  3339. }else {
  3340. alert("获取失败!");
  3341. }
  3342. },
  3343. "complete": function(){
  3344. layer.close(tip);
  3345. }
  3346. });
  3347. }else {
  3348. alert("请选择日期!");
  3349. }
  3350. },
  3351. "set" : function(){
  3352. if ( $("#fpid option:selected").text() !=""){
  3353. var tip = layer.load(2);
  3354. var gitem = $("#form1").serialize();
  3355. var jrjc;
  3356. if ($("#jrjc").prop('checked') == true){
  3357. jrjc = $("#departmentId").val();
  3358. }else {
  3359. jrjc ='N'
  3360. }
  3361. var url = "saverk.do";
  3362. $.ajax({
  3363. "url" : url,
  3364. "data" : {
  3365. "gitem" : gitem,
  3366. "jrjc" : jrjc
  3367. },
  3368. "type" : "POST",
  3369. "dataType" : "json",
  3370. "async" : true,
  3371. "success" : function(data) {
  3372. if(data.status =="success"){
  3373. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  3374. alert("入库成功!\n入库单号:"+data.rkdh+"");
  3375. }else {
  3376. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  3377. }
  3378. window.location.reload();
  3379. }else {
  3380. alert(data.status);
  3381. }
  3382. },
  3383. "error": function(){
  3384. alert("确认失败!");
  3385. },
  3386. "complete": function(){
  3387. layer.close(tip);
  3388. }
  3389. });
  3390. }else {
  3391. alert("请选择发票!");
  3392. }
  3393. }
  3394. }
  3395. function getfp(){
  3396. var tip = layer.load(2);
  3397. var url = "getgyfp.do";
  3398. $.ajax({
  3399. "url" : url,
  3400. "type" : "POST",
  3401. "dataType" : "json",
  3402. "async" : true,
  3403. "success" : function(data) {
  3404. if(data != null && data != ""){
  3405. $("#fpid").empty();
  3406. $("#fpid").append("_$tag_____________$tag____");
  3407. for(var i = 0; i < data.length; i++){
  3408. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  3409. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  3410. }
  3411. }
  3412. },
  3413. "error" : function(msg){
  3414. },
  3415. "complete": function(){
  3416. layer.close(tip);
  3417. }
  3418. });
  3419. }
  3420. $("#fpid").change(function(){
  3421. var tip = layer.load(2);
  3422. var url = "getgyrkxx.do";
  3423. var sum_total=0;
  3424. $.ajax({
  3425. "url" : url,
  3426. "data" : {
  3427. "fpId" : $("#fpid").val()
  3428. },
  3429. "type" : "POST",
  3430. "dataType" : "json",
  3431. "async" : true,
  3432. "success" : function(data) {
  3433. $("#dataTable").html("");
  3434. if(data != null && data != ""){
  3435. var html = "";
  3436. for(var i = 0; i < data.length; i++){
  3437. var ID = data[i].id == null ? "" : data[i].id;
  3438. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  3439. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  3440. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  3441. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  3442. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  3443. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  3444. var GOODS = data[i].goods == null ? "" : data[i].goods;
  3445. var NAME = data[i].name == null ? "" : data[i].name;
  3446. var SPEC = data[i].spec == null ? "" : data[i].spec;
  3447. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  3448. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  3449. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  3450. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  3451. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  3452. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  3453. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  3454. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  3455. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  3456. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  3457. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  3458. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  3459. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  3460. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  3461. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  3462. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  3463. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  3464. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  3465. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  3466. sum_total = sum_total + DSUMVALUE
  3467. var invoice_type_cn =null;
  3468. if (invoice_type =="00" ){
  3469. invoice_type_cn="销售发票";
  3470. }else if (invoice_type == "01") {
  3471. invoice_type_cn="更正(对冲)发票";
  3472. }else if (invoice_type == "02") {
  3473. invoice_type_cn="其它类型发票";
  3474. }
  3475. html += "_$ta";
  3476. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3477. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3478. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  3479. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3480. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3481. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  3482. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3483. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3484. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3485. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  3486. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  3487. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  3488. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3489. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3490. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3491. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3492. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  3493. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  3494. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  3495. html += "_$tag";
  3496. }
  3497. html += "_$ta";
  3498. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3499. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3500. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3501. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3502. html += "_$tag_____________$tag_合计:_$tag___$tag";
  3503. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  3504. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3505. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3506. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3507. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3508. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3509. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3510. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3511. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3512. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3513. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3514. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3515. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3516. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3517. html += "_$tag";
  3518. $("#dataTable").html(html);
  3519. }else {
  3520. $("#dataTable").html("");
  3521. }
  3522. },
  3523. "error" : function(msg){
  3524. },
  3525. "complete": function(){
  3526. layer.close(tip);
  3527. }
  3528. });
  3529. });
  3530. Date.prototype.Format = function (fmt) {
  3531. var o = {
  3532. "M+": this.getMonth() + 1, //月份
  3533. "d+": this.getDate(), //日
  3534. "h+": this.getHours(), //小时
  3535. "m+": this.getMinutes(), //分
  3536. "s+": this.getSeconds(), //秒
  3537. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3538. "S": this.getMilliseconds() //毫秒
  3539. };
  3540. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3541. for (var k in o)
  3542. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3543. return fmt;
  3544. }
  3545. $("#jrjc").change(function() {
  3546. if ($("#jrjc").prop('checked') == true){
  3547. $("#departmentId").removeAttr("disabled");
  3548. }else {
  3549. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3550. }
  3551. });
  3552. ----------------------------------- SOURCE END -------------------------------------
  3553. !STACK 0
  3554. java.lang.NullPointerException
  3555. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:28:46.557
  3556. !MESSAGE java.lang.NullPointerException
  3557. !STACK 1
  3558. JavaScript Model Exception: java.lang.NullPointerException
  3559. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3560. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  3561. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3562. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3563. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  3564. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  3565. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  3566. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  3567. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  3568. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  3569. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  3570. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  3571. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  3572. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  3573. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  3574. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  3575. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  3576. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  3577. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  3578. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  3579. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  3580. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  3581. Caused by: java.lang.NullPointerException
  3582. Caused by: java.lang.NullPointerException
  3583. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:28:46.557
  3584. !MESSAGE java.lang.NullPointerException
  3585. !STACK 0
  3586. java.lang.NullPointerException
  3587. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:31:18.290
  3588. !MESSAGE Exception occurred during problem detection:
  3589. ----------------------------------- SOURCE BEGIN -------------------------------------
  3590. (function(){WdatePicker();})();
  3591. (function(){WdatePicker();})();
  3592. (function(){Data.get();})();
  3593. (function(){Data.set();})();
  3594. (function(){search();})();
  3595. $(function(){
  3596. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3597. getfp();
  3598. });
  3599. var Data = {
  3600. "get" : function(){
  3601. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  3602. var tip = layer.load(2);
  3603. var result="";
  3604. var url = "getgyxml.do";
  3605. $.ajax({
  3606. "url" : url,
  3607. "data" : {
  3608. "start_date" : $("#dateBegin").val(),
  3609. "end_date" : $("#dateEnd").val()
  3610. },
  3611. "type" : "POST",
  3612. "dataType" : "json",
  3613. "success" : function(data) {
  3614. if(data != null && data != ""){
  3615. if ( data.status =="success"){
  3616. getfp();
  3617. alert("获取成功!");
  3618. }else {
  3619. alert(data.status);
  3620. }
  3621. }else {
  3622. alert("获取失败!");
  3623. }
  3624. },
  3625. "complete": function(){
  3626. layer.close(tip);
  3627. }
  3628. });
  3629. }else {
  3630. alert("请选择日期!");
  3631. }
  3632. },
  3633. "set" : function(){
  3634. if ( $("#fpid option:selected").text() !=""){
  3635. var tip = layer.load(2);
  3636. var gitem = $("#form1").serialize();
  3637. var jrjc;
  3638. if ($("#jrjc").prop('checked') == true){
  3639. jrjc = $("#departmentId").val();
  3640. }else {
  3641. jrjc ='N'
  3642. }
  3643. var url = "saverk.do";
  3644. $.ajax({
  3645. "url" : url,
  3646. "data" : {
  3647. "gitem" : gitem,
  3648. "jrjc" : jrjc
  3649. },
  3650. "type" : "POST",
  3651. "dataType" : "json",
  3652. "async" : true,
  3653. "success" : function(data) {
  3654. if(data.status =="success"){
  3655. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  3656. alert("入库成功!\n入库单号:"+data.rkdh+"");
  3657. }else {
  3658. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  3659. }
  3660. window.location.reload();
  3661. }else {
  3662. alert(data.status);
  3663. }
  3664. },
  3665. "error": function(){
  3666. alert("确认失败!");
  3667. },
  3668. "complete": function(){
  3669. layer.close(tip);
  3670. }
  3671. });
  3672. }else {
  3673. alert("请选择发票!");
  3674. }
  3675. }
  3676. }
  3677. function getfp(){
  3678. var tip = layer.load(2);
  3679. var url = "getgyfp.do";
  3680. $.ajax({
  3681. "url" : url,
  3682. "type" : "POST",
  3683. "dataType" : "json",
  3684. "async" : true,
  3685. "success" : function(data) {
  3686. if(data != null && data != ""){
  3687. $("#fpid").empty();
  3688. $("#fpid").append("_$tag_____________$tag____");
  3689. for(var i = 0; i < data.length; i++){
  3690. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  3691. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  3692. }
  3693. }
  3694. },
  3695. "error" : function(msg){
  3696. },
  3697. "complete": function(){
  3698. layer.close(tip);
  3699. }
  3700. });
  3701. }
  3702. $("#fpid").change(function(){
  3703. var tip = layer.load(2);
  3704. var url = "getgyrkxx.do";
  3705. var sum_total=0;
  3706. $.ajax({
  3707. "url" : url,
  3708. "data" : {
  3709. "fpId" : $("#fpid").val()
  3710. },
  3711. "type" : "POST",
  3712. "dataType" : "json",
  3713. "async" : true,
  3714. "success" : function(data) {
  3715. $("#dataTable").html("");
  3716. if(data != null && data != ""){
  3717. var html = "";
  3718. for(var i = 0; i < data.length; i++){
  3719. var ID = data[i].id == null ? "" : data[i].id;
  3720. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  3721. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  3722. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  3723. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  3724. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  3725. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  3726. var GOODS = data[i].goods == null ? "" : data[i].goods;
  3727. var NAME = data[i].name == null ? "" : data[i].name;
  3728. var SPEC = data[i].spec == null ? "" : data[i].spec;
  3729. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  3730. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  3731. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  3732. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  3733. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  3734. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  3735. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  3736. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  3737. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  3738. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  3739. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  3740. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  3741. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  3742. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  3743. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  3744. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  3745. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  3746. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  3747. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  3748. sum_total = sum_total + DSUMVALUE
  3749. var invoice_type_cn =null;
  3750. if (invoice_type =="00" ){
  3751. invoice_type_cn="销售发票";
  3752. }else if (invoice_type == "01") {
  3753. invoice_type_cn="更正(对冲)发票";
  3754. }else if (invoice_type == "02") {
  3755. invoice_type_cn="其它类型发票";
  3756. }
  3757. html += "_$ta";
  3758. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3759. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3760. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  3761. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3762. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3763. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  3764. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3765. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3766. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3767. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  3768. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  3769. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  3770. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3771. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3772. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3773. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3774. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  3775. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  3776. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  3777. html += "_$tag";
  3778. }
  3779. html += "_$ta";
  3780. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3781. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3782. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3783. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3784. html += "_$tag_____________$tag_合计:_$tag___$tag";
  3785. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  3786. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3787. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3788. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3789. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3790. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3791. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3792. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3793. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3794. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3795. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3796. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3797. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3798. html += "_$tag_____________$tag____________________________________________________________________$tag";
  3799. html += "_$tag";
  3800. $("#dataTable").html(html);
  3801. }else {
  3802. $("#dataTable").html("");
  3803. }
  3804. },
  3805. "error" : function(msg){
  3806. },
  3807. "complete": function(){
  3808. layer.close(tip);
  3809. }
  3810. });
  3811. });
  3812. Date.prototype.Format = function (fmt) {
  3813. var o = {
  3814. "M+": this.getMonth() + 1, //月份
  3815. "d+": this.getDate(), //日
  3816. "h+": this.getHours(), //小时
  3817. "m+": this.getMinutes(), //分
  3818. "s+": this.getSeconds(), //秒
  3819. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3820. "S": this.getMilliseconds() //毫秒
  3821. };
  3822. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3823. for (var k in o)
  3824. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3825. return fmt;
  3826. }
  3827. $("#jrjc").change(function() {
  3828. if ($("#jrjc").prop('checked') == true){
  3829. $("#departmentId").removeAttr("disabled");
  3830. }else {
  3831. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3832. }
  3833. });
  3834. ----------------------------------- SOURCE END -------------------------------------
  3835. !STACK 0
  3836. java.lang.NullPointerException
  3837. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:31:18.291
  3838. !MESSAGE java.lang.NullPointerException
  3839. !STACK 1
  3840. JavaScript Model Exception: java.lang.NullPointerException
  3841. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3842. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  3843. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3844. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3845. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  3846. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  3847. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  3848. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  3849. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  3850. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  3851. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  3852. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  3853. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  3854. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  3855. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  3856. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  3857. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  3858. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  3859. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  3860. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  3861. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  3862. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  3863. Caused by: java.lang.NullPointerException
  3864. Caused by: java.lang.NullPointerException
  3865. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:31:18.291
  3866. !MESSAGE java.lang.NullPointerException
  3867. !STACK 0
  3868. java.lang.NullPointerException
  3869. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:31:41.160
  3870. !MESSAGE Exception occurred during problem detection:
  3871. ----------------------------------- SOURCE BEGIN -------------------------------------
  3872. (function(){WdatePicker();})();
  3873. (function(){WdatePicker();})();
  3874. (function(){Data.get();})();
  3875. (function(){Data.set();})();
  3876. (function(){search();})();
  3877. $(function(){
  3878. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3879. getfp();
  3880. });
  3881. var Data = {
  3882. "get" : function(){
  3883. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  3884. var tip = layer.load(2);
  3885. var result="";
  3886. var url = "getgyxml.do";
  3887. $.ajax({
  3888. "url" : url,
  3889. "data" : {
  3890. "start_date" : $("#dateBegin").val(),
  3891. "end_date" : $("#dateEnd").val()
  3892. },
  3893. "type" : "POST",
  3894. "dataType" : "json",
  3895. "success" : function(data) {
  3896. if(data != null && data != ""){
  3897. if ( data.status =="success"){
  3898. getfp();
  3899. alert("获取成功!");
  3900. }else {
  3901. alert(data.status);
  3902. }
  3903. }else {
  3904. alert("获取失败!");
  3905. }
  3906. },
  3907. "complete": function(){
  3908. layer.close(tip);
  3909. }
  3910. });
  3911. }else {
  3912. alert("请选择日期!");
  3913. }
  3914. },
  3915. "set" : function(){
  3916. if ( $("#fpid option:selected").text() !=""){
  3917. var tip = layer.load(2);
  3918. var gitem = $("#form1").serialize();
  3919. var jrjc;
  3920. if ($("#jrjc").prop('checked') == true){
  3921. jrjc = $("#departmentId").val();
  3922. }else {
  3923. jrjc ='N'
  3924. }
  3925. var url = "saverk.do";
  3926. $.ajax({
  3927. "url" : url,
  3928. "data" : {
  3929. "gitem" : gitem,
  3930. "jrjc" : jrjc
  3931. },
  3932. "type" : "POST",
  3933. "dataType" : "json",
  3934. "async" : true,
  3935. "success" : function(data) {
  3936. if(data.status =="success"){
  3937. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  3938. alert("入库成功!\n入库单号:"+data.rkdh+"");
  3939. }else {
  3940. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  3941. }
  3942. window.location.reload();
  3943. }else {
  3944. alert(data.status);
  3945. }
  3946. },
  3947. "error": function(){
  3948. alert("确认失败!");
  3949. },
  3950. "complete": function(){
  3951. layer.close(tip);
  3952. }
  3953. });
  3954. }else {
  3955. alert("请选择发票!");
  3956. }
  3957. }
  3958. }
  3959. function getfp(){
  3960. var tip = layer.load(2);
  3961. var url = "getgyfp.do";
  3962. $.ajax({
  3963. "url" : url,
  3964. "type" : "POST",
  3965. "dataType" : "json",
  3966. "async" : true,
  3967. "success" : function(data) {
  3968. if(data != null && data != ""){
  3969. $("#fpid").empty();
  3970. $("#fpid").append("_$tag_____________$tag____");
  3971. for(var i = 0; i < data.length; i++){
  3972. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  3973. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  3974. }
  3975. }
  3976. },
  3977. "error" : function(msg){
  3978. },
  3979. "complete": function(){
  3980. layer.close(tip);
  3981. }
  3982. });
  3983. }
  3984. $("#fpid").change(function(){
  3985. var tip = layer.load(2);
  3986. var url = "getgyrkxx.do";
  3987. var sum_total=0;
  3988. $.ajax({
  3989. "url" : url,
  3990. "data" : {
  3991. "fpId" : $("#fpid").val()
  3992. },
  3993. "type" : "POST",
  3994. "dataType" : "json",
  3995. "async" : true,
  3996. "success" : function(data) {
  3997. $("#dataTable").html("");
  3998. if(data != null && data != ""){
  3999. var html = "";
  4000. for(var i = 0; i < data.length; i++){
  4001. var ID = data[i].id == null ? "" : data[i].id;
  4002. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  4003. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  4004. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  4005. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  4006. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  4007. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  4008. var GOODS = data[i].goods == null ? "" : data[i].goods;
  4009. var NAME = data[i].name == null ? "" : data[i].name;
  4010. var SPEC = data[i].spec == null ? "" : data[i].spec;
  4011. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  4012. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  4013. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  4014. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  4015. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  4016. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  4017. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  4018. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  4019. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  4020. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  4021. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  4022. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  4023. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  4024. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  4025. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  4026. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  4027. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  4028. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  4029. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  4030. sum_total = sum_total + DSUMVALUE
  4031. var invoice_type_cn =null;
  4032. if (invoice_type =="00" ){
  4033. invoice_type_cn="销售发票";
  4034. }else if (invoice_type == "01") {
  4035. invoice_type_cn="更正(对冲)发票";
  4036. }else if (invoice_type == "02") {
  4037. invoice_type_cn="其它类型发票";
  4038. }
  4039. html += "_$ta";
  4040. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4041. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4042. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  4043. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4044. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4045. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  4046. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4047. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4048. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4049. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  4050. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  4051. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  4052. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4053. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4054. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4055. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4056. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  4057. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  4058. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  4059. html += "_$tag";
  4060. }
  4061. html += "_$ta";
  4062. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4063. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4064. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4065. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4066. html += "_$tag_____________$tag_合计:_$tag___$tag";
  4067. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  4068. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4069. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4070. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4071. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4072. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4073. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4074. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4075. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4076. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4077. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4078. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4079. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4080. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4081. html += "_$tag";
  4082. $("#dataTable").html(html);
  4083. }else {
  4084. $("#dataTable").html("");
  4085. }
  4086. },
  4087. "error" : function(msg){
  4088. },
  4089. "complete": function(){
  4090. layer.close(tip);
  4091. }
  4092. });
  4093. });
  4094. Date.prototype.Format = function (fmt) {
  4095. var o = {
  4096. "M+": this.getMonth() + 1, //月份
  4097. "d+": this.getDate(), //日
  4098. "h+": this.getHours(), //小时
  4099. "m+": this.getMinutes(), //分
  4100. "s+": this.getSeconds(), //秒
  4101. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4102. "S": this.getMilliseconds() //毫秒
  4103. };
  4104. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4105. for (var k in o)
  4106. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4107. return fmt;
  4108. }
  4109. $("#jrjc").change(function() {
  4110. if ($("#jrjc").prop('checked') == true){
  4111. $("#departmentId").removeAttr("disabled");
  4112. }else {
  4113. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4114. }
  4115. });
  4116. ----------------------------------- SOURCE END -------------------------------------
  4117. !STACK 0
  4118. java.lang.NullPointerException
  4119. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:31:41.161
  4120. !MESSAGE java.lang.NullPointerException
  4121. !STACK 1
  4122. JavaScript Model Exception: java.lang.NullPointerException
  4123. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4124. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  4125. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4126. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4127. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  4128. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  4129. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  4130. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  4131. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  4132. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  4133. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  4134. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  4135. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  4136. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  4137. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  4138. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  4139. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  4140. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  4141. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  4142. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  4143. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  4144. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  4145. Caused by: java.lang.NullPointerException
  4146. Caused by: java.lang.NullPointerException
  4147. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:31:41.161
  4148. !MESSAGE java.lang.NullPointerException
  4149. !STACK 0
  4150. java.lang.NullPointerException
  4151. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:21.712
  4152. !MESSAGE Exception occurred during problem detection:
  4153. ----------------------------------- SOURCE BEGIN -------------------------------------
  4154. (function(){WdatePicker();})();
  4155. (function(){WdatePicker();})();
  4156. (function(){Data.get();})();
  4157. (function(){Data.set();})();
  4158. (function(){search();})();
  4159. $(function(){
  4160. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4161. getfp();
  4162. });
  4163. var Data = {
  4164. "get" : function(){
  4165. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  4166. var tip = layer.load(2);
  4167. var result="";
  4168. var url = "getgyxml.do";
  4169. $.ajax({
  4170. "url" : url,
  4171. "data" : {
  4172. "start_date" : $("#dateBegin").val(),
  4173. "end_date" : $("#dateEnd").val()
  4174. },
  4175. "type" : "POST",
  4176. "dataType" : "json",
  4177. "success" : function(data) {
  4178. if(data != null && data != ""){
  4179. if ( data.status =="success"){
  4180. getfp();
  4181. alert("获取成功!");
  4182. }else {
  4183. alert(data.status);
  4184. }
  4185. }else {
  4186. alert("获取失败!");
  4187. }
  4188. },
  4189. "complete": function(){
  4190. layer.close(tip);
  4191. }
  4192. });
  4193. }else {
  4194. alert("请选择日期!");
  4195. }
  4196. },
  4197. "set" : function(){
  4198. if ( $("#fpid option:selected").text() !=""){
  4199. var tip = layer.load(2);
  4200. var gitem = $("#form1").serialize();
  4201. var jrjc;
  4202. if ($("#jrjc").prop('checked') == true){
  4203. jrjc = $("#departmentId").val();
  4204. }else {
  4205. jrjc ='N'
  4206. }
  4207. var url = "saverk.do";
  4208. $.ajax({
  4209. "url" : url,
  4210. "data" : {
  4211. "gitem" : gitem,
  4212. "jrjc" : jrjc
  4213. },
  4214. "type" : "POST",
  4215. "dataType" : "json",
  4216. "async" : true,
  4217. "success" : function(data) {
  4218. if(data.status =="success"){
  4219. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  4220. alert("入库成功!\n入库单号:"+data.rkdh+"");
  4221. }else {
  4222. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  4223. }
  4224. window.location.reload();
  4225. }else {
  4226. alert(data.status);
  4227. }
  4228. },
  4229. "error": function(){
  4230. alert("确认失败!");
  4231. },
  4232. "complete": function(){
  4233. layer.close(tip);
  4234. }
  4235. });
  4236. }else {
  4237. alert("请选择发票!");
  4238. }
  4239. }
  4240. }
  4241. function getfp(){
  4242. var tip = layer.load(2);
  4243. var url = "getgyfp.do";
  4244. $.ajax({
  4245. "url" : url,
  4246. "type" : "POST",
  4247. "dataType" : "json",
  4248. "async" : true,
  4249. "success" : function(data) {
  4250. if(data != null && data != ""){
  4251. $("#fpid").empty();
  4252. $("#fpid").append("_$tag_____________$tag____");
  4253. for(var i = 0; i < data.length; i++){
  4254. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  4255. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  4256. }
  4257. }
  4258. },
  4259. "error" : function(msg){
  4260. },
  4261. "complete": function(){
  4262. layer.close(tip);
  4263. }
  4264. });
  4265. }
  4266. $("#fpid").change(function(){
  4267. var tip = layer.load(2);
  4268. var url = "getgyrkxx.do";
  4269. var sum_total=0;
  4270. $.ajax({
  4271. "url" : url,
  4272. "data" : {
  4273. "fpId" : $("#fpid").val()
  4274. },
  4275. "type" : "POST",
  4276. "dataType" : "json",
  4277. "async" : true,
  4278. "success" : function(data) {
  4279. $("#dataTable").html("");
  4280. if(data != null && data != ""){
  4281. var html = "";
  4282. for(var i = 0; i < data.length; i++){
  4283. var ID = data[i].id == null ? "" : data[i].id;
  4284. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  4285. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  4286. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  4287. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  4288. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  4289. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  4290. var GOODS = data[i].goods == null ? "" : data[i].goods;
  4291. var NAME = data[i].name == null ? "" : data[i].name;
  4292. var SPEC = data[i].spec == null ? "" : data[i].spec;
  4293. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  4294. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  4295. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  4296. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  4297. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  4298. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  4299. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  4300. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  4301. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  4302. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  4303. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  4304. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  4305. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  4306. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  4307. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  4308. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  4309. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  4310. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  4311. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  4312. sum_total = sum_total + DSUMVALUE
  4313. var invoice_type_cn =null;
  4314. if (invoice_type =="00" ){
  4315. invoice_type_cn="销售发票";
  4316. }else if (invoice_type == "01") {
  4317. invoice_type_cn="更正(对冲)发票";
  4318. }else if (invoice_type == "02") {
  4319. invoice_type_cn="其它类型发票";
  4320. }
  4321. html += "_$ta";
  4322. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4323. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4324. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  4325. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4326. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4327. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  4328. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4329. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4330. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4331. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  4332. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  4333. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  4334. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4335. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4336. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4337. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4338. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  4339. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  4340. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  4341. html += "_$tag";
  4342. }
  4343. html += "_$ta";
  4344. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4345. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4346. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4347. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4348. html += "_$tag_____________$tag_合计:_$tag___$tag";
  4349. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  4350. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4351. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4352. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4353. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4354. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4355. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4356. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4357. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4358. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4359. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4360. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4361. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4362. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4363. html += "_$tag";
  4364. $("#dataTable").html(html);
  4365. }else {
  4366. $("#dataTable").html("");
  4367. }
  4368. },
  4369. "error" : function(msg){
  4370. },
  4371. "complete": function(){
  4372. layer.close(tip);
  4373. }
  4374. });
  4375. });
  4376. Date.prototype.Format = function (fmt) {
  4377. var o = {
  4378. "M+": this.getMonth() + 1, //月份
  4379. "d+": this.getDate(), //日
  4380. "h+": this.getHours(), //小时
  4381. "m+": this.getMinutes(), //分
  4382. "s+": this.getSeconds(), //秒
  4383. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4384. "S": this.getMilliseconds() //毫秒
  4385. };
  4386. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4387. for (var k in o)
  4388. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4389. return fmt;
  4390. }
  4391. $("#jrjc").change(function() {
  4392. if ($("#jrjc").prop('checked') == true){
  4393. $("#departmentId").removeAttr("disabled");
  4394. }else {
  4395. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4396. }
  4397. });
  4398. ----------------------------------- SOURCE END -------------------------------------
  4399. !STACK 0
  4400. java.lang.NullPointerException
  4401. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:39:21.713
  4402. !MESSAGE java.lang.NullPointerException
  4403. !STACK 1
  4404. JavaScript Model Exception: java.lang.NullPointerException
  4405. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4406. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  4407. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4408. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4409. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  4410. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  4411. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  4412. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  4413. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  4414. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  4415. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  4416. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  4417. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  4418. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  4419. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  4420. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  4421. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  4422. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  4423. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  4424. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  4425. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  4426. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  4427. Caused by: java.lang.NullPointerException
  4428. Caused by: java.lang.NullPointerException
  4429. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:39:21.713
  4430. !MESSAGE java.lang.NullPointerException
  4431. !STACK 0
  4432. java.lang.NullPointerException
  4433. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:33.176
  4434. !MESSAGE Exception occurred during problem detection:
  4435. ----------------------------------- SOURCE BEGIN -------------------------------------
  4436. (function(){WdatePicker();})();
  4437. (function(){WdatePicker();})();
  4438. (function(){Data.get();})();
  4439. (function(){Data.set();})();
  4440. (function(){search();})();
  4441. $(function(){
  4442. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4443. getfp();
  4444. });
  4445. var Data = {
  4446. "get" : function(){
  4447. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  4448. var tip = layer.load(2);
  4449. var result="";
  4450. var url = "getgyxml.do";
  4451. $.ajax({
  4452. "url" : url,
  4453. "data" : {
  4454. "start_date" : $("#dateBegin").val(),
  4455. "end_date" : $("#dateEnd").val()
  4456. },
  4457. "type" : "POST",
  4458. "dataType" : "json",
  4459. "success" : function(data) {
  4460. if(data != null && data != ""){
  4461. if ( data.status =="success"){
  4462. getfp();
  4463. alert("获取成功!");
  4464. }else {
  4465. alert(data.status);
  4466. }
  4467. }else {
  4468. alert("获取失败!");
  4469. }
  4470. },
  4471. "complete": function(){
  4472. layer.close(tip);
  4473. }
  4474. });
  4475. }else {
  4476. alert("请选择日期!");
  4477. }
  4478. },
  4479. "set" : function(){
  4480. if ( $("#fpid option:selected").text() !=""){
  4481. var tip = layer.load(2);
  4482. var gitem = $("#form1").serialize();
  4483. var jrjc;
  4484. if ($("#jrjc").prop('checked') == true){
  4485. jrjc = $("#departmentId").val();
  4486. }else {
  4487. jrjc ='N'
  4488. }
  4489. var url = "saverk.do";
  4490. $.ajax({
  4491. "url" : url,
  4492. "data" : {
  4493. "gitem" : gitem,
  4494. "jrjc" : jrjc
  4495. },
  4496. "type" : "POST",
  4497. "dataType" : "json",
  4498. "async" : true,
  4499. "success" : function(data) {
  4500. if(data.status =="success"){
  4501. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  4502. alert("入库成功!\n入库单号:"+data.rkdh+"");
  4503. }else {
  4504. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  4505. }
  4506. window.location.reload();
  4507. }else {
  4508. alert(data.status);
  4509. }
  4510. },
  4511. "error": function(){
  4512. alert("确认失败!");
  4513. },
  4514. "complete": function(){
  4515. layer.close(tip);
  4516. }
  4517. });
  4518. }else {
  4519. alert("请选择发票!");
  4520. }
  4521. }
  4522. }
  4523. function getfp(){
  4524. var tip = layer.load(2);
  4525. var url = "getgyfp.do";
  4526. $.ajax({
  4527. "url" : url,
  4528. "type" : "POST",
  4529. "dataType" : "json",
  4530. "async" : true,
  4531. "success" : function(data) {
  4532. if(data != null && data != ""){
  4533. $("#fpid").empty();
  4534. $("#fpid").append("_$tag_____________$tag____");
  4535. for(var i = 0; i < data.length; i++){
  4536. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  4537. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  4538. }
  4539. }
  4540. },
  4541. "error" : function(msg){
  4542. },
  4543. "complete": function(){
  4544. layer.close(tip);
  4545. }
  4546. });
  4547. }
  4548. $("#fpid").change(function(){
  4549. var tip = layer.load(2);
  4550. var url = "getgyrkxx.do";
  4551. var sum_total=0;
  4552. $.ajax({
  4553. "url" : url,
  4554. "data" : {
  4555. "fpId" : $("#fpid").val()
  4556. },
  4557. "type" : "POST",
  4558. "dataType" : "json",
  4559. "async" : true,
  4560. "success" : function(data) {
  4561. $("#dataTable").html("");
  4562. if(data != null && data != ""){
  4563. var html = "";
  4564. for(var i = 0; i < data.length; i++){
  4565. var ID = data[i].id == null ? "" : data[i].id;
  4566. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  4567. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  4568. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  4569. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  4570. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  4571. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  4572. var GOODS = data[i].goods == null ? "" : data[i].goods;
  4573. var NAME = data[i].name == null ? "" : data[i].name;
  4574. var SPEC = data[i].spec == null ? "" : data[i].spec;
  4575. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  4576. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  4577. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  4578. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  4579. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  4580. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  4581. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  4582. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  4583. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  4584. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  4585. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  4586. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  4587. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  4588. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  4589. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  4590. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  4591. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  4592. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  4593. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  4594. sum_total = sum_total + DSUMVALUE
  4595. var invoice_type_cn =null;
  4596. if (invoice_type =="00" ){
  4597. invoice_type_cn="销售发票";
  4598. }else if (invoice_type == "01") {
  4599. invoice_type_cn="更正(对冲)发票";
  4600. }else if (invoice_type == "02") {
  4601. invoice_type_cn="其它类型发票";
  4602. }
  4603. html += "_$ta";
  4604. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4605. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4606. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  4607. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4608. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4609. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  4610. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4611. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4612. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4613. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  4614. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  4615. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  4616. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4617. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4618. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4619. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4620. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  4621. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  4622. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  4623. html += "_$tag";
  4624. }
  4625. html += "_$ta";
  4626. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4627. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4628. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4629. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4630. html += "_$tag_____________$tag_合计:_$tag___$tag";
  4631. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  4632. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4633. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4634. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4635. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4636. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4637. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4638. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4639. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4640. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4641. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4642. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4643. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4644. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4645. html += "_$tag";
  4646. $("#dataTable").html(html);
  4647. }else {
  4648. $("#dataTable").html("");
  4649. }
  4650. },
  4651. "error" : function(msg){
  4652. },
  4653. "complete": function(){
  4654. layer.close(tip);
  4655. }
  4656. });
  4657. });
  4658. Date.prototype.Format = function (fmt) {
  4659. var o = {
  4660. "M+": this.getMonth() + 1, //月份
  4661. "d+": this.getDate(), //日
  4662. "h+": this.getHours(), //小时
  4663. "m+": this.getMinutes(), //分
  4664. "s+": this.getSeconds(), //秒
  4665. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4666. "S": this.getMilliseconds() //毫秒
  4667. };
  4668. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4669. for (var k in o)
  4670. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4671. return fmt;
  4672. }
  4673. $("#jrjc").change(function() {
  4674. if ($("#jrjc").prop('checked') == true){
  4675. $("#departmentId").removeAttr("disabled");
  4676. }else {
  4677. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4678. }
  4679. });
  4680. ----------------------------------- SOURCE END -------------------------------------
  4681. !STACK 0
  4682. java.lang.NullPointerException
  4683. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:33.177
  4684. !MESSAGE Error while processing working copy
  4685. !STACK 1
  4686. JavaScript Model Exception: java.lang.NullPointerException
  4687. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4688. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  4689. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4690. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4691. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  4692. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  4693. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  4694. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  4695. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  4696. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  4697. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  4698. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  4699. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  4700. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  4701. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  4702. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  4703. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  4704. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  4705. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  4706. Caused by: java.lang.NullPointerException
  4707. Caused by: java.lang.NullPointerException
  4708. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:39:33.177
  4709. !MESSAGE java.lang.NullPointerException
  4710. !STACK 0
  4711. java.lang.NullPointerException
  4712. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:54.083
  4713. !MESSAGE Exception occurred during problem detection:
  4714. ----------------------------------- SOURCE BEGIN -------------------------------------
  4715. (function(){WdatePicker();})();
  4716. (function(){WdatePicker();})();
  4717. (function(){Data.get();})();
  4718. (function(){Data.set();})();
  4719. (function(){search();})();
  4720. $(function(){
  4721. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4722. getfp();
  4723. });
  4724. var Data = {
  4725. "get" : function(){
  4726. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  4727. var tip = layer.load(2);
  4728. var result="";
  4729. var url = "getgyxml.do";
  4730. $.ajax({
  4731. "url" : url,
  4732. "data" : {
  4733. "start_date" : $("#dateBegin").val(),
  4734. "end_date" : $("#dateEnd").val()
  4735. },
  4736. "type" : "POST",
  4737. "dataType" : "json",
  4738. "success" : function(data) {
  4739. if(data != null && data != ""){
  4740. if ( data.status =="success"){
  4741. getfp();
  4742. alert("获取成功!");
  4743. }else {
  4744. alert(data.status);
  4745. }
  4746. }else {
  4747. alert("获取失败!");
  4748. }
  4749. },
  4750. "complete": function(){
  4751. layer.close(tip);
  4752. }
  4753. });
  4754. }else {
  4755. alert("请选择日期!");
  4756. }
  4757. },
  4758. "set" : function(){
  4759. if ( $("#fpid option:selected").text() !=""){
  4760. var tip = layer.load(2);
  4761. var gitem = $("#form1").serialize();
  4762. var jrjc;
  4763. if ($("#jrjc").prop('checked') == true){
  4764. jrjc = $("#departmentId").val();
  4765. }else {
  4766. jrjc ='N'
  4767. }
  4768. var url = "saverk.do";
  4769. $.ajax({
  4770. "url" : url,
  4771. "data" : {
  4772. "gitem" : gitem,
  4773. "jrjc" : jrjc
  4774. },
  4775. "type" : "POST",
  4776. "dataType" : "json",
  4777. "async" : true,
  4778. "success" : function(data) {
  4779. if(data.status =="success"){
  4780. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  4781. alert("入库成功!\n入库单号:"+data.rkdh+"");
  4782. }else {
  4783. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  4784. }
  4785. window.location.reload();
  4786. }else {
  4787. alert(data.status);
  4788. }
  4789. },
  4790. "error": function(){
  4791. alert("确认失败!");
  4792. },
  4793. "complete": function(){
  4794. layer.close(tip);
  4795. }
  4796. });
  4797. }else {
  4798. alert("请选择发票!");
  4799. }
  4800. }
  4801. }
  4802. function getfp(){
  4803. var tip = layer.load(2);
  4804. var url = "getgyfp.do";
  4805. $.ajax({
  4806. "url" : url,
  4807. "type" : "POST",
  4808. "dataType" : "json",
  4809. "async" : true,
  4810. "success" : function(data) {
  4811. if(data != null && data != ""){
  4812. $("#fpid").empty();
  4813. $("#fpid").append("_$tag_____________$tag____");
  4814. for(var i = 0; i < data.length; i++){
  4815. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  4816. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  4817. }
  4818. }
  4819. },
  4820. "error" : function(msg){
  4821. },
  4822. "complete": function(){
  4823. layer.close(tip);
  4824. }
  4825. });
  4826. }
  4827. $("#fpid").change(function(){
  4828. var tip = layer.load(2);
  4829. var url = "getgyrkxx.do";
  4830. var sum_total=0;
  4831. $.ajax({
  4832. "url" : url,
  4833. "data" : {
  4834. "fpId" : $("#fpid").val()
  4835. },
  4836. "type" : "POST",
  4837. "dataType" : "json",
  4838. "async" : true,
  4839. "success" : function(data) {
  4840. $("#dataTable").html("");
  4841. if(data != null && data != ""){
  4842. var html = "";
  4843. for(var i = 0; i < data.length; i++){
  4844. var ID = data[i].id == null ? "" : data[i].id;
  4845. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  4846. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  4847. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  4848. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  4849. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  4850. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  4851. var GOODS = data[i].goods == null ? "" : data[i].goods;
  4852. var NAME = data[i].name == null ? "" : data[i].name;
  4853. var SPEC = data[i].spec == null ? "" : data[i].spec;
  4854. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  4855. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  4856. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  4857. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  4858. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  4859. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  4860. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  4861. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  4862. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  4863. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  4864. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  4865. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  4866. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  4867. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  4868. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  4869. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  4870. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  4871. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  4872. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  4873. sum_total = sum_total + DSUMVALUE
  4874. var invoice_type_cn =null;
  4875. if (invoice_type =="00" ){
  4876. invoice_type_cn="销售发票";
  4877. }else if (invoice_type == "01") {
  4878. invoice_type_cn="更正(对冲)发票";
  4879. }else if (invoice_type == "02") {
  4880. invoice_type_cn="其它类型发票";
  4881. }
  4882. html += "_$ta";
  4883. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4884. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4885. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  4886. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4887. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4888. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  4889. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4890. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4891. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4892. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  4893. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  4894. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  4895. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4896. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4897. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4898. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4899. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  4900. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  4901. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  4902. html += "_$tag";
  4903. }
  4904. html += "_$ta";
  4905. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4906. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4907. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4908. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4909. html += "_$tag_____________$tag_合计:_$tag___$tag";
  4910. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  4911. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4912. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4913. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4914. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4915. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4916. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4917. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4918. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4919. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4920. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4921. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4922. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4923. html += "_$tag_____________$tag____________________________________________________________________$tag";
  4924. html += "_$tag";
  4925. $("#dataTable").html(html);
  4926. }else {
  4927. $("#dataTable").html("");
  4928. }
  4929. },
  4930. "error" : function(msg){
  4931. },
  4932. "complete": function(){
  4933. layer.close(tip);
  4934. }
  4935. });
  4936. });
  4937. Date.prototype.Format = function (fmt) {
  4938. var o = {
  4939. "M+": this.getMonth() + 1, //月份
  4940. "d+": this.getDate(), //日
  4941. "h+": this.getHours(), //小时
  4942. "m+": this.getMinutes(), //分
  4943. "s+": this.getSeconds(), //秒
  4944. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4945. "S": this.getMilliseconds() //毫秒
  4946. };
  4947. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4948. for (var k in o)
  4949. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4950. return fmt;
  4951. }
  4952. $("#jrjc").change(function() {
  4953. if ($("#jrjc").prop('checked') == true){
  4954. $("#departmentId").removeAttr("disabled");
  4955. }else {
  4956. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4957. }
  4958. });
  4959. ----------------------------------- SOURCE END -------------------------------------
  4960. !STACK 0
  4961. java.lang.NullPointerException
  4962. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:54.083
  4963. !MESSAGE Error while processing working copy
  4964. !STACK 1
  4965. JavaScript Model Exception: java.lang.NullPointerException
  4966. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4967. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  4968. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4969. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4970. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  4971. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  4972. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  4973. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  4974. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  4975. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  4976. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  4977. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  4978. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  4979. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  4980. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  4981. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  4982. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  4983. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  4984. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  4985. Caused by: java.lang.NullPointerException
  4986. Caused by: java.lang.NullPointerException
  4987. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:39:54.084
  4988. !MESSAGE java.lang.NullPointerException
  4989. !STACK 0
  4990. java.lang.NullPointerException
  4991. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:55.781
  4992. !MESSAGE Exception occurred during problem detection:
  4993. ----------------------------------- SOURCE BEGIN -------------------------------------
  4994. (function(){WdatePicker();})();
  4995. (function(){WdatePicker();})();
  4996. (function(){Data.get();})();
  4997. (function(){Data.set();})();
  4998. (function(){search();})();
  4999. $(function(){
  5000. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5001. getfp();
  5002. });
  5003. var Data = {
  5004. "get" : function(){
  5005. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  5006. var tip = layer.load(2);
  5007. var result="";
  5008. var url = "getgyxml.do";
  5009. $.ajax({
  5010. "url" : url,
  5011. "data" : {
  5012. "start_date" : $("#dateBegin").val(),
  5013. "end_date" : $("#dateEnd").val()
  5014. },
  5015. "type" : "POST",
  5016. "dataType" : "json",
  5017. "success" : function(data) {
  5018. if(data != null && data != ""){
  5019. if ( data.status =="success"){
  5020. getfp();
  5021. alert("获取成功!");
  5022. }else {
  5023. alert(data.status);
  5024. }
  5025. }else {
  5026. alert("获取失败!");
  5027. }
  5028. },
  5029. "complete": function(){
  5030. layer.close(tip);
  5031. }
  5032. });
  5033. }else {
  5034. alert("请选择日期!");
  5035. }
  5036. },
  5037. "set" : function(){
  5038. if ( $("#fpid option:selected").text() !=""){
  5039. var tip = layer.load(2);
  5040. var gitem = $("#form1").serialize();
  5041. var jrjc;
  5042. if ($("#jrjc").prop('checked') == true){
  5043. jrjc = $("#departmentId").val();
  5044. }else {
  5045. jrjc ='N'
  5046. }
  5047. var url = "saverk.do";
  5048. $.ajax({
  5049. "url" : url,
  5050. "data" : {
  5051. "gitem" : gitem,
  5052. "jrjc" : jrjc
  5053. },
  5054. "type" : "POST",
  5055. "dataType" : "json",
  5056. "async" : true,
  5057. "success" : function(data) {
  5058. if(data.status =="success"){
  5059. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  5060. alert("入库成功!\n入库单号:"+data.rkdh+"");
  5061. }else {
  5062. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  5063. }
  5064. window.location.reload();
  5065. }else {
  5066. alert(data.status);
  5067. }
  5068. },
  5069. "error": function(){
  5070. alert("确认失败!");
  5071. },
  5072. "complete": function(){
  5073. layer.close(tip);
  5074. }
  5075. });
  5076. }else {
  5077. alert("请选择发票!");
  5078. }
  5079. }
  5080. }
  5081. function getfp(){
  5082. var tip = layer.load(2);
  5083. var url = "getgyfp.do";
  5084. $.ajax({
  5085. "url" : url,
  5086. "type" : "POST",
  5087. "dataType" : "json",
  5088. "async" : true,
  5089. "success" : function(data) {
  5090. if(data != null && data != ""){
  5091. $("#fpid").empty();
  5092. $("#fpid").append("_$tag_____________$tag____");
  5093. for(var i = 0; i < data.length; i++){
  5094. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  5095. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  5096. }
  5097. }
  5098. },
  5099. "error" : function(msg){
  5100. },
  5101. "complete": function(){
  5102. layer.close(tip);
  5103. }
  5104. });
  5105. }
  5106. $("#fpid").change(function(){
  5107. var tip = layer.load(2);
  5108. var url = "getgyrkxx.do";
  5109. var sum_total=0;
  5110. $.ajax({
  5111. "url" : url,
  5112. "data" : {
  5113. "fpId" : $("#fpid").val()
  5114. },
  5115. "type" : "POST",
  5116. "dataType" : "json",
  5117. "async" : true,
  5118. "success" : function(data) {
  5119. $("#dataTable").html("");
  5120. if(data != null && data != ""){
  5121. var html = "";
  5122. for(var i = 0; i < data.length; i++){
  5123. var ID = data[i].id == null ? "" : data[i].id;
  5124. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  5125. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  5126. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  5127. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  5128. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  5129. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  5130. var GOODS = data[i].goods == null ? "" : data[i].goods;
  5131. var NAME = data[i].name == null ? "" : data[i].name;
  5132. var SPEC = data[i].spec == null ? "" : data[i].spec;
  5133. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  5134. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  5135. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  5136. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  5137. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  5138. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  5139. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  5140. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  5141. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  5142. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  5143. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  5144. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  5145. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  5146. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  5147. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  5148. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  5149. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  5150. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  5151. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  5152. sum_total = sum_total + DSUMVALUE
  5153. var invoice_type_cn =null;
  5154. if (invoice_type =="00" ){
  5155. invoice_type_cn="销售发票";
  5156. }else if (invoice_type == "01") {
  5157. invoice_type_cn="更正(对冲)发票";
  5158. }else if (invoice_type == "02") {
  5159. invoice_type_cn="其它类型发票";
  5160. }
  5161. html += "_$ta";
  5162. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5163. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5164. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  5165. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5166. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5167. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  5168. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5169. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5170. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5171. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  5172. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  5173. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  5174. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5175. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5176. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5177. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5178. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  5179. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  5180. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  5181. html += "_$tag";
  5182. }
  5183. html += "_$ta";
  5184. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5185. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5186. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5187. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5188. html += "_$tag_____________$tag_合计:_$tag___$tag";
  5189. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  5190. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5191. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5192. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5193. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5194. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5195. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5196. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5197. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5198. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5199. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5200. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5201. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5202. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5203. html += "_$tag";
  5204. $("#dataTable").html(html);
  5205. }else {
  5206. $("#dataTable").html("");
  5207. }
  5208. },
  5209. "error" : function(msg){
  5210. },
  5211. "complete": function(){
  5212. layer.close(tip);
  5213. }
  5214. });
  5215. });
  5216. Date.prototype.Format = function (fmt) {
  5217. var o = {
  5218. "M+": this.getMonth() + 1, //月份
  5219. "d+": this.getDate(), //日
  5220. "h+": this.getHours(), //小时
  5221. "m+": this.getMinutes(), //分
  5222. "s+": this.getSeconds(), //秒
  5223. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5224. "S": this.getMilliseconds() //毫秒
  5225. };
  5226. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5227. for (var k in o)
  5228. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5229. return fmt;
  5230. }
  5231. $("#jrjc").change(function() {
  5232. if ($("#jrjc").prop('checked') == true){
  5233. $("#departmentId").removeAttr("disabled");
  5234. }else {
  5235. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5236. }
  5237. });
  5238. ----------------------------------- SOURCE END -------------------------------------
  5239. !STACK 0
  5240. java.lang.NullPointerException
  5241. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:39:55.781
  5242. !MESSAGE Error while processing working copy
  5243. !STACK 1
  5244. JavaScript Model Exception: java.lang.NullPointerException
  5245. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5246. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  5247. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5248. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5249. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  5250. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  5251. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  5252. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  5253. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  5254. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  5255. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  5256. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  5257. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  5258. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  5259. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  5260. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  5261. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  5262. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  5263. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  5264. Caused by: java.lang.NullPointerException
  5265. Caused by: java.lang.NullPointerException
  5266. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:39:55.782
  5267. !MESSAGE java.lang.NullPointerException
  5268. !STACK 0
  5269. java.lang.NullPointerException
  5270. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:45:47.132
  5271. !MESSAGE Exception occurred during problem detection:
  5272. ----------------------------------- SOURCE BEGIN -------------------------------------
  5273. (function(){WdatePicker();})();
  5274. (function(){WdatePicker();})();
  5275. (function(){Data.get();})();
  5276. (function(){Data.set();})();
  5277. (function(){search();})();
  5278. $(function(){
  5279. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5280. getfp();
  5281. });
  5282. var Data = {
  5283. "get" : function(){
  5284. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  5285. var tip = layer.load(2);
  5286. var result="";
  5287. var url = "getgyxml.do";
  5288. $.ajax({
  5289. "url" : url,
  5290. "data" : {
  5291. "start_date" : $("#dateBegin").val(),
  5292. "end_date" : $("#dateEnd").val()
  5293. },
  5294. "type" : "POST",
  5295. "dataType" : "json",
  5296. "success" : function(data) {
  5297. if(data != null && data != ""){
  5298. if ( data.status =="success"){
  5299. getfp();
  5300. alert("获取成功!");
  5301. }else {
  5302. alert(data.status);
  5303. }
  5304. }else {
  5305. alert("获取失败!");
  5306. }
  5307. },
  5308. "complete": function(){
  5309. layer.close(tip);
  5310. }
  5311. });
  5312. }else {
  5313. alert("请选择日期!");
  5314. }
  5315. },
  5316. "set" : function(){
  5317. if ( $("#fpid option:selected").text() !=""){
  5318. var tip = layer.load(2);
  5319. var gitem = $("#form1").serialize();
  5320. var jrjc;
  5321. if ($("#jrjc").prop('checked') == true){
  5322. jrjc = $("#departmentId").val();
  5323. }else {
  5324. jrjc ='N'
  5325. }
  5326. var url = "saverk.do";
  5327. $.ajax({
  5328. "url" : url,
  5329. "data" : {
  5330. "gitem" : gitem,
  5331. "jrjc" : jrjc
  5332. },
  5333. "type" : "POST",
  5334. "dataType" : "json",
  5335. "async" : true,
  5336. "success" : function(data) {
  5337. if(data.status =="success"){
  5338. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  5339. alert("入库成功!\n入库单号:"+data.rkdh+"");
  5340. }else {
  5341. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  5342. }
  5343. window.location.reload();
  5344. }else {
  5345. alert(data.status);
  5346. }
  5347. },
  5348. "error": function(){
  5349. alert("确认失败!");
  5350. },
  5351. "complete": function(){
  5352. layer.close(tip);
  5353. }
  5354. });
  5355. }else {
  5356. alert("请选择发票!");
  5357. }
  5358. }
  5359. }
  5360. function getfp(){
  5361. var tip = layer.load(2);
  5362. var url = "getgyfp.do";
  5363. $.ajax({
  5364. "url" : url,
  5365. "type" : "POST",
  5366. "dataType" : "json",
  5367. "async" : true,
  5368. "success" : function(data) {
  5369. if(data != null && data != ""){
  5370. $("#fpid").empty();
  5371. $("#fpid").append("_$tag_____________$tag____");
  5372. for(var i = 0; i < data.length; i++){
  5373. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  5374. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  5375. }
  5376. }
  5377. },
  5378. "error" : function(msg){
  5379. },
  5380. "complete": function(){
  5381. layer.close(tip);
  5382. }
  5383. });
  5384. }
  5385. $("#fpid").change(function(){
  5386. var tip = layer.load(2);
  5387. var url = "getgyrkxx.do";
  5388. var sum_total=0;
  5389. $.ajax({
  5390. "url" : url,
  5391. "data" : {
  5392. "fpId" : $("#fpid").val()
  5393. },
  5394. "type" : "POST",
  5395. "dataType" : "json",
  5396. "async" : true,
  5397. "success" : function(data) {
  5398. $("#dataTable").html("");
  5399. if(data != null && data != ""){
  5400. var html = "";
  5401. for(var i = 0; i < data.length; i++){
  5402. var ID = data[i].id == null ? "" : data[i].id;
  5403. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  5404. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  5405. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  5406. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  5407. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  5408. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  5409. var GOODS = data[i].goods == null ? "" : data[i].goods;
  5410. var NAME = data[i].name == null ? "" : data[i].name;
  5411. var SPEC = data[i].spec == null ? "" : data[i].spec;
  5412. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  5413. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  5414. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  5415. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  5416. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  5417. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  5418. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  5419. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  5420. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  5421. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  5422. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  5423. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  5424. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  5425. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  5426. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  5427. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  5428. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  5429. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  5430. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  5431. sum_total = sum_total + DSUMVALUE
  5432. var invoice_type_cn =null;
  5433. if (invoice_type =="00" ){
  5434. invoice_type_cn="销售发票";
  5435. }else if (invoice_type == "01") {
  5436. invoice_type_cn="更正(对冲)发票";
  5437. }else if (invoice_type == "02") {
  5438. invoice_type_cn="其它类型发票";
  5439. }
  5440. html += "_$ta";
  5441. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5442. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5443. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  5444. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5445. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5446. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  5447. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5448. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5449. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5450. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  5451. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  5452. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  5453. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5454. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5455. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5456. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5457. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  5458. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  5459. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  5460. html += "_$tag";
  5461. }
  5462. html += "_$ta";
  5463. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5464. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5465. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5466. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5467. html += "_$tag_____________$tag_合计:_$tag___$tag";
  5468. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  5469. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5470. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5471. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5472. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5473. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5474. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5475. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5476. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5477. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5478. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5479. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5480. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5481. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5482. html += "_$tag";
  5483. $("#dataTable").html(html);
  5484. }else {
  5485. $("#dataTable").html("");
  5486. }
  5487. },
  5488. "error" : function(msg){
  5489. },
  5490. "complete": function(){
  5491. layer.close(tip);
  5492. }
  5493. });
  5494. });
  5495. Date.prototype.Format = function (fmt) {
  5496. var o = {
  5497. "M+": this.getMonth() + 1, //月份
  5498. "d+": this.getDate(), //日
  5499. "h+": this.getHours(), //小时
  5500. "m+": this.getMinutes(), //分
  5501. "s+": this.getSeconds(), //秒
  5502. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5503. "S": this.getMilliseconds() //毫秒
  5504. };
  5505. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5506. for (var k in o)
  5507. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5508. return fmt;
  5509. }
  5510. $("#jrjc").change(function() {
  5511. if ($("#jrjc").prop('checked') == true){
  5512. $("#departmentId").removeAttr("disabled");
  5513. }else {
  5514. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5515. }
  5516. });
  5517. ----------------------------------- SOURCE END -------------------------------------
  5518. !STACK 0
  5519. java.lang.NullPointerException
  5520. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:45:47.133
  5521. !MESSAGE java.lang.NullPointerException
  5522. !STACK 1
  5523. JavaScript Model Exception: java.lang.NullPointerException
  5524. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5525. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  5526. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5527. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5528. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  5529. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  5530. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  5531. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  5532. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  5533. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  5534. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  5535. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  5536. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  5537. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  5538. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  5539. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  5540. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  5541. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  5542. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  5543. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  5544. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  5545. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  5546. Caused by: java.lang.NullPointerException
  5547. Caused by: java.lang.NullPointerException
  5548. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:45:47.133
  5549. !MESSAGE java.lang.NullPointerException
  5550. !STACK 0
  5551. java.lang.NullPointerException
  5552. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-10-31 14:45:59.522
  5553. !MESSAGE Exception occurred during problem detection:
  5554. ----------------------------------- SOURCE BEGIN -------------------------------------
  5555. (function(){WdatePicker();})();
  5556. (function(){WdatePicker();})();
  5557. (function(){Data.get();})();
  5558. (function(){Data.set();})();
  5559. (function(){search();})();
  5560. $(function(){
  5561. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5562. getfp();
  5563. });
  5564. var Data = {
  5565. "get" : function(){
  5566. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  5567. var tip = layer.load(2);
  5568. var result="";
  5569. var url = "getgyxml.do";
  5570. $.ajax({
  5571. "url" : url,
  5572. "data" : {
  5573. "start_date" : $("#dateBegin").val(),
  5574. "end_date" : $("#dateEnd").val()
  5575. },
  5576. "type" : "POST",
  5577. "dataType" : "json",
  5578. "success" : function(data) {
  5579. if(data != null && data != ""){
  5580. if ( data.status =="success"){
  5581. getfp();
  5582. alert("获取成功!");
  5583. }else {
  5584. alert(data.status);
  5585. }
  5586. }else {
  5587. alert("获取失败!");
  5588. }
  5589. },
  5590. "complete": function(){
  5591. layer.close(tip);
  5592. }
  5593. });
  5594. }else {
  5595. alert("请选择日期!");
  5596. }
  5597. },
  5598. "set" : function(){
  5599. if ( $("#fpid option:selected").text() !=""){
  5600. var tip = layer.load(2);
  5601. var gitem = $("#form1").serialize();
  5602. var jrjc;
  5603. if ($("#jrjc").prop('checked') == true){
  5604. jrjc = $("#departmentId").val();
  5605. }else {
  5606. jrjc ='N'
  5607. }
  5608. var url = "saverk.do";
  5609. $.ajax({
  5610. "url" : url,
  5611. "data" : {
  5612. "gitem" : gitem,
  5613. "jrjc" : jrjc
  5614. },
  5615. "type" : "POST",
  5616. "dataType" : "json",
  5617. "async" : true,
  5618. "success" : function(data) {
  5619. if(data.status =="success"){
  5620. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  5621. alert("入库成功!\n入库单号:"+data.rkdh+"");
  5622. }else {
  5623. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  5624. }
  5625. window.location.reload();
  5626. }else {
  5627. alert(data.status);
  5628. }
  5629. },
  5630. "error": function(){
  5631. alert("确认失败!");
  5632. },
  5633. "complete": function(){
  5634. layer.close(tip);
  5635. }
  5636. });
  5637. }else {
  5638. alert("请选择发票!");
  5639. }
  5640. }
  5641. }
  5642. function getfp(){
  5643. var tip = layer.load(2);
  5644. var url = "getgyfp.do";
  5645. $.ajax({
  5646. "url" : url,
  5647. "type" : "POST",
  5648. "dataType" : "json",
  5649. "async" : true,
  5650. "success" : function(data) {
  5651. if(data != null && data != ""){
  5652. $("#fpid").empty();
  5653. $("#fpid").append("_$tag_____________$tag____");
  5654. for(var i = 0; i < data.length; i++){
  5655. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  5656. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  5657. }
  5658. }
  5659. },
  5660. "error" : function(msg){
  5661. },
  5662. "complete": function(){
  5663. layer.close(tip);
  5664. }
  5665. });
  5666. }
  5667. $("#fpid").change(function(){
  5668. var tip = layer.load(2);
  5669. var url = "getgyrkxx.do";
  5670. var sum_total=0;
  5671. $.ajax({
  5672. "url" : url,
  5673. "data" : {
  5674. "fpId" : $("#fpid").val()
  5675. },
  5676. "type" : "POST",
  5677. "dataType" : "json",
  5678. "async" : true,
  5679. "success" : function(data) {
  5680. $("#dataTable").html("");
  5681. if(data != null && data != ""){
  5682. var html = "";
  5683. for(var i = 0; i < data.length; i++){
  5684. var ID = data[i].id == null ? "" : data[i].id;
  5685. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  5686. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  5687. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  5688. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  5689. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  5690. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  5691. var GOODS = data[i].goods == null ? "" : data[i].goods;
  5692. var NAME = data[i].name == null ? "" : data[i].name;
  5693. var SPEC = data[i].spec == null ? "" : data[i].spec;
  5694. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  5695. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  5696. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  5697. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  5698. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  5699. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  5700. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  5701. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  5702. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  5703. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  5704. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  5705. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  5706. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  5707. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  5708. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  5709. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  5710. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  5711. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  5712. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  5713. sum_total = sum_total + DSUMVALUE
  5714. var invoice_type_cn =null;
  5715. if (invoice_type =="00" ){
  5716. invoice_type_cn="销售发票";
  5717. }else if (invoice_type == "01") {
  5718. invoice_type_cn="更正(对冲)发票";
  5719. }else if (invoice_type == "02") {
  5720. invoice_type_cn="其它类型发票";
  5721. }
  5722. html += "_$ta";
  5723. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5724. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5725. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  5726. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5727. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5728. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  5729. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5730. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5731. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5732. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  5733. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  5734. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  5735. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5736. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5737. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5738. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5739. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  5740. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  5741. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  5742. html += "_$tag";
  5743. }
  5744. html += "_$ta";
  5745. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5746. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5747. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5748. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5749. html += "_$tag_____________$tag_合计:_$tag___$tag";
  5750. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  5751. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5752. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5753. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5754. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5755. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5756. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5757. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5758. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5759. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5760. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5761. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5762. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5763. html += "_$tag_____________$tag____________________________________________________________________$tag";
  5764. html += "_$tag";
  5765. $("#dataTable").html(html);
  5766. }else {
  5767. $("#dataTable").html("");
  5768. }
  5769. },
  5770. "error" : function(msg){
  5771. },
  5772. "complete": function(){
  5773. layer.close(tip);
  5774. }
  5775. });
  5776. });
  5777. Date.prototype.Format = function (fmt) {
  5778. var o = {
  5779. "M+": this.getMonth() + 1, //月份
  5780. "d+": this.getDate(), //日
  5781. "h+": this.getHours(), //小时
  5782. "m+": this.getMinutes(), //分
  5783. "s+": this.getSeconds(), //秒
  5784. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5785. "S": this.getMilliseconds() //毫秒
  5786. };
  5787. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5788. for (var k in o)
  5789. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5790. return fmt;
  5791. }
  5792. $("#jrjc").change(function() {
  5793. if ($("#jrjc").prop('checked') == true){
  5794. $("#departmentId").removeAttr("disabled");
  5795. }else {
  5796. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5797. }
  5798. });
  5799. ----------------------------------- SOURCE END -------------------------------------
  5800. !STACK 0
  5801. java.lang.NullPointerException
  5802. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-10-31 14:45:59.522
  5803. !MESSAGE java.lang.NullPointerException
  5804. !STACK 1
  5805. JavaScript Model Exception: java.lang.NullPointerException
  5806. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5807. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  5808. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5809. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5810. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  5811. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  5812. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  5813. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  5814. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  5815. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  5816. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  5817. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  5818. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  5819. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  5820. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  5821. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  5822. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  5823. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  5824. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  5825. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  5826. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  5827. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  5828. Caused by: java.lang.NullPointerException
  5829. Caused by: java.lang.NullPointerException
  5830. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-10-31 14:45:59.522
  5831. !MESSAGE java.lang.NullPointerException
  5832. !STACK 0
  5833. java.lang.NullPointerException
  5834. !SESSION 2018-10-31 16:09:37.921 -----------------------------------------------
  5835. eclipse.buildId=4.4.2.M20150204-1700
  5836. java.version=1.7.0_80
  5837. java.vendor=Oracle Corporation
  5838. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  5839. Framework arguments: -product org.eclipse.epp.package.jee.product
  5840. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  5841. !ENTRY org.eclipse.egit.ui 2 0 2018-10-31 16:09:49.868
  5842. !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
  5843. Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
  5844. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
  5845. this system level configuration. The Git installation location can be configured on the
  5846. Team > Git > Configuration preference page's 'System Settings' tab.
  5847. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5848. !ENTRY org.eclipse.egit.ui 2 0 2018-10-31 16:09:49.891
  5849. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  5850. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  5851. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  5852. EGit might behave differently since they see different configuration options.
  5853. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5854. !SESSION 2018-11-01 11:42:54.520 -----------------------------------------------
  5855. eclipse.buildId=4.4.2.M20150204-1700
  5856. java.version=1.7.0_80
  5857. java.vendor=Oracle Corporation
  5858. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  5859. Framework arguments: -product org.eclipse.epp.package.jee.product
  5860. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  5861. !ENTRY org.eclipse.egit.ui 2 0 2018-11-01 11:43:17.610
  5862. !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
  5863. Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
  5864. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
  5865. this system level configuration. The Git installation location can be configured on the
  5866. Team > Git > Configuration preference page's 'System Settings' tab.
  5867. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5868. !ENTRY org.eclipse.egit.ui 2 0 2018-11-01 11:43:17.674
  5869. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  5870. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  5871. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  5872. EGit might behave differently since they see different configuration options.
  5873. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5874. !SESSION 2018-11-28 10:45:01.832 -----------------------------------------------
  5875. eclipse.buildId=4.4.2.M20150204-1700
  5876. java.version=1.7.0_80
  5877. java.vendor=Oracle Corporation
  5878. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  5879. Framework arguments: -product org.eclipse.epp.package.jee.product
  5880. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  5881. !ENTRY org.eclipse.egit.ui 2 0 2018-11-28 10:48:45.581
  5882. !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
  5883. Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
  5884. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
  5885. this system level configuration. The Git installation location can be configured on the
  5886. Team > Git > Configuration preference page's 'System Settings' tab.
  5887. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5888. !ENTRY org.eclipse.egit.ui 2 0 2018-11-28 10:48:45.728
  5889. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  5890. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  5891. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  5892. EGit might behave differently since they see different configuration options.
  5893. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5894. !SESSION 2018-11-28 10:56:41.724 -----------------------------------------------
  5895. eclipse.buildId=4.4.2.M20150204-1700
  5896. java.version=1.7.0_80
  5897. java.vendor=Oracle Corporation
  5898. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  5899. Framework arguments: -product org.eclipse.epp.package.jee.product
  5900. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  5901. !ENTRY org.eclipse.egit.ui 2 0 2018-11-28 10:56:54.551
  5902. !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
  5903. Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
  5904. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
  5905. this system level configuration. The Git installation location can be configured on the
  5906. Team > Git > Configuration preference page's 'System Settings' tab.
  5907. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5908. !ENTRY org.eclipse.egit.ui 2 0 2018-11-28 10:56:54.651
  5909. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  5910. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  5911. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  5912. EGit might behave differently since they see different configuration options.
  5913. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5914. !SESSION 2018-11-30 09:02:12.048 -----------------------------------------------
  5915. eclipse.buildId=4.4.2.M20150204-1700
  5916. java.version=1.7.0_80
  5917. java.vendor=Oracle Corporation
  5918. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  5919. Framework arguments: -product org.eclipse.epp.package.jee.product
  5920. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  5921. !ENTRY org.eclipse.egit.ui 2 0 2018-11-30 09:02:44.822
  5922. !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
  5923. Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
  5924. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
  5925. this system level configuration. The Git installation location can be configured on the
  5926. Team > Git > Configuration preference page's 'System Settings' tab.
  5927. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5928. !ENTRY org.eclipse.egit.ui 2 0 2018-11-30 09:02:44.862
  5929. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  5930. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  5931. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  5932. EGit might behave differently since they see different configuration options.
  5933. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5934. !SESSION 2019-03-25 09:46:18.566 -----------------------------------------------
  5935. eclipse.buildId=4.4.2.M20150204-1700
  5936. java.version=1.7.0_80
  5937. java.vendor=Oracle Corporation
  5938. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  5939. Framework arguments: -product org.eclipse.epp.package.jee.product
  5940. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  5941. !ENTRY org.eclipse.egit.ui 2 0 2019-03-25 09:47:08.823
  5942. !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
  5943. Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
  5944. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
  5945. this system level configuration. The Git installation location can be configured on the
  5946. Team > Git > Configuration preference page's 'System Settings' tab.
  5947. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5948. !ENTRY org.eclipse.egit.ui 2 0 2019-03-25 09:47:08.852
  5949. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  5950. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  5951. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  5952. EGit might behave differently since they see different configuration options.
  5953. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  5954. !ENTRY org.eclipse.jface 2 0 2019-03-25 09:47:11.461
  5955. !MESSAGE Ignored reentrant call while viewer is busy. This is only logged once per viewer instance, but similar calls will still be ignored.
  5956. !STACK 0
  5957. java.lang.RuntimeException
  5958. at org.eclipse.jface.viewers.ColumnViewer.checkBusy(ColumnViewer.java:759)
  5959. at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:526)
  5960. at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:350)
  5961. at org.eclipse.jst.j2ee.navigator.internal.LoadingDDUIJob.runInUIThread(LoadingDDUIJob.java:38)
  5962. at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
  5963. at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
  5964. at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
  5965. at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
  5966. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
  5967. at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:128)
  5968. at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled(EventLoopProgressMonitor.java:102)
  5969. at org.eclipse.core.internal.jobs.ThreadJob.isCanceled(ThreadJob.java:144)
  5970. at org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:233)
  5971. at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:197)
  5972. at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:92)
  5973. at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:290)
  5974. at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118)
  5975. at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2251)
  5976. at org.eclipse.core.internal.resources.Project.touch(Project.java:1401)
  5977. at org.eclipse.wst.jsdt.internal.core.SetContainerOperation.execute(SetContainerOperation.java:122)
  5978. at org.eclipse.wst.jsdt.core.JavaScriptCore.setJsGlobalScopeContainer(JavaScriptCore.java:3906)
  5979. at org.eclipse.wst.jsdt.libraries.BasicBrowserLibraryJsGlobalScopeContainerInitializer.initialize(BasicBrowserLibraryJsGlobalScopeContainerInitializer.java:135)
  5980. at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2215)
  5981. at org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1538)
  5982. at org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1324)
  5983. at org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2747)
  5984. at org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2026)
  5985. at org.eclipse.wst.jsdt.internal.core.SetContainerOperation.execute(SetContainerOperation.java:96)
  5986. at org.eclipse.wst.jsdt.core.JavaScriptCore.setJsGlobalScopeContainer(JavaScriptCore.java:3906)
  5987. at org.eclipse.wst.jsdt.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:48)
  5988. at org.eclipse.wst.jsdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2215)
  5989. at org.eclipse.wst.jsdt.internal.core.JavaModelManager.getJsGlobalScopeContainer(JavaModelManager.java:1538)
  5990. at org.eclipse.wst.jsdt.core.JavaScriptCore.getJsGlobalScopeContainer(JavaScriptCore.java:1324)
  5991. at org.eclipse.wst.jsdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2747)
  5992. at org.eclipse.wst.jsdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2026)
  5993. at org.eclipse.wst.jsdt.internal.core.JavaProject.buildStructure(JavaProject.java:465)
  5994. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5995. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5996. at org.eclipse.wst.jsdt.internal.core.JavaElement.getElementInfo(JavaElement.java:282)
  5997. at org.eclipse.wst.jsdt.internal.core.JavaElement.getElementInfo(JavaElement.java:268)
  5998. at org.eclipse.wst.jsdt.internal.core.JavaElement.getChildren(JavaElement.java:216)
  5999. at org.eclipse.wst.jsdt.internal.core.JavaProject.getPackageFragmentRoots(JavaProject.java:1902)
  6000. at org.eclipse.wst.jsdt.internal.ui.packageview.PackageExplorerContentProvider.getPackageFragmentRoots(PackageExplorerContentProvider.java:651)
  6001. at org.eclipse.wst.jsdt.ui.StandardJavaScriptElementContentProvider.getChildren(StandardJavaScriptElementContentProvider.java:163)
  6002. at org.eclipse.wst.jsdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(PackageExplorerContentProvider.java:398)
  6003. at org.eclipse.wst.jsdt.internal.ui.navigator.JavaNavigatorContentProvider.getChildren(JavaNavigatorContentProvider.java:157)
  6004. at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:96)
  6005. at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:275)
  6006. at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:94)
  6007. at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$1.run(NavigatorContentServiceContentProvider.java:152)
  6008. at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
  6009. at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.internalGetChildren(NavigatorContentServiceContentProvider.java:139)
  6010. at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.getChildren(NavigatorContentServiceContentProvider.java:125)
  6011. at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1365)
  6012. at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:353)
  6013. at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:905)
  6014. at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:617)
  6015. at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:813)
  6016. at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
  6017. at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:791)
  6018. at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:611)
  6019. at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:762)
  6020. at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1495)
  6021. at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:903)
  6022. at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1507)
  6023. at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132)
  6024. at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  6025. at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
  6026. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
  6027. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
  6028. at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
  6029. at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7633)
  6030. at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5618)
  6031. at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1935)
  6032. at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5169)
  6033. at org.eclipse.swt.widgets.Control.windowProc(Control.java:4666)
  6034. at org.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
  6035. at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
  6036. at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2443)
  6037. at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1553)
  6038. at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6501)
  6039. at org.eclipse.swt.widgets.Control.windowProc(Control.java:4646)
  6040. at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6024)
  6041. at org.eclipse.swt.widgets.Display.windowProc(Display.java:5023)
  6042. at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
  6043. at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
  6044. at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
  6045. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
  6046. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  6047. at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
  6048. at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
  6049. at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
  6050. at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  6051. at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
  6052. at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
  6053. at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
  6054. at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  6055. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
  6056. at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
  6057. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
  6058. at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
  6059. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  6060. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  6061. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  6062. at java.lang.reflect.Method.invoke(Unknown Source)
  6063. at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
  6064. at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
  6065. at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
  6066. at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
  6067. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-03-25 09:57:57.523
  6068. !MESSAGE Exception occurred during problem detection:
  6069. ----------------------------------- SOURCE BEGIN -------------------------------------
  6070. (function(){WdatePicker();})();
  6071. (function(){WdatePicker();})();
  6072. (function(){Data.get();})();
  6073. (function(){Data.set();})();
  6074. (function(){search();})();
  6075. $(function(){
  6076. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6077. getfp();
  6078. });
  6079. var Data = {
  6080. "get" : function(){
  6081. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  6082. var tip = layer.load(2);
  6083. var result="";
  6084. var url = "getgyxml.do";
  6085. $.ajax({
  6086. "url" : url,
  6087. "data" : {
  6088. "start_date" : $("#dateBegin").val(),
  6089. "end_date" : $("#dateEnd").val()
  6090. },
  6091. "type" : "POST",
  6092. "dataType" : "json",
  6093. "success" : function(data) {
  6094. if(data != null && data != ""){
  6095. if ( data.status =="success"){
  6096. getfp();
  6097. alert("获取成功!");
  6098. }else {
  6099. alert(data.status);
  6100. }
  6101. }else {
  6102. alert("获取失败!");
  6103. }
  6104. },
  6105. "complete": function(){
  6106. layer.close(tip);
  6107. }
  6108. });
  6109. }else {
  6110. alert("请选择日期!");
  6111. }
  6112. },
  6113. "set" : function(){
  6114. if ( $("#fpid option:selected").text() !=""){
  6115. var tip = layer.load(2);
  6116. var gitem = $("#form1").serialize();
  6117. var jrjc;
  6118. if ($("#jrjc").prop('checked') == true){
  6119. jrjc = $("#departmentId").val();
  6120. }else {
  6121. jrjc ='N'
  6122. }
  6123. var url = "saverk.do";
  6124. $.ajax({
  6125. "url" : url,
  6126. "data" : {
  6127. "gitem" : gitem,
  6128. "jrjc" : jrjc
  6129. },
  6130. "type" : "POST",
  6131. "dataType" : "json",
  6132. "async" : true,
  6133. "success" : function(data) {
  6134. if(data.status =="success"){
  6135. if (data.ckdh =="" || data.ckdh == null || typeof(data.ckdh) == "undefined"){
  6136. alert("入库成功!\n入库单号:"+data.rkdh+"");
  6137. }else {
  6138. alert("入库成功!\n入库单号:"+data.rkdh+"\n出库单号:"+data.ckdh+"");
  6139. }
  6140. window.location.reload();
  6141. }else {
  6142. alert(data.status);
  6143. }
  6144. },
  6145. "error": function(){
  6146. alert("确认失败!");
  6147. },
  6148. "complete": function(){
  6149. layer.close(tip);
  6150. }
  6151. });
  6152. }else {
  6153. alert("请选择发票!");
  6154. }
  6155. }
  6156. }
  6157. function getfp(){
  6158. var tip = layer.load(2);
  6159. var url = "getgyfp.do";
  6160. $.ajax({
  6161. "url" : url,
  6162. "type" : "POST",
  6163. "dataType" : "json",
  6164. "async" : true,
  6165. "success" : function(data) {
  6166. if(data != null && data != ""){
  6167. $("#fpid").empty();
  6168. $("#fpid").append("_$tag_____________$tag____");
  6169. for(var i = 0; i < data.length; i++){
  6170. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  6171. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  6172. }
  6173. }
  6174. },
  6175. "error" : function(msg){
  6176. },
  6177. "complete": function(){
  6178. layer.close(tip);
  6179. }
  6180. });
  6181. }
  6182. $("#fpid").change(function(){
  6183. var tip = layer.load(2);
  6184. var url = "getgyrkxx.do";
  6185. var sum_total=0;
  6186. $.ajax({
  6187. "url" : url,
  6188. "data" : {
  6189. "fpId" : $("#fpid").val()
  6190. },
  6191. "type" : "POST",
  6192. "dataType" : "json",
  6193. "async" : true,
  6194. "success" : function(data) {
  6195. $("#dataTable").html("");
  6196. if(data != null && data != ""){
  6197. var html = "";
  6198. for(var i = 0; i < data.length; i++){
  6199. var ID = data[i].id == null ? "" : data[i].id;
  6200. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  6201. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  6202. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  6203. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  6204. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  6205. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  6206. var GOODS = data[i].goods == null ? "" : data[i].goods;
  6207. var NAME = data[i].name == null ? "" : data[i].name;
  6208. var SPEC = data[i].spec == null ? "" : data[i].spec;
  6209. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  6210. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  6211. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  6212. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  6213. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  6214. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  6215. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  6216. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  6217. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  6218. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  6219. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  6220. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  6221. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  6222. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  6223. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  6224. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  6225. var ITEMID = data[i].itemId == null ? "" : data[i].itemId;
  6226. var HISPRICE = data[i].hisPrice == null ? "" : data[i].hisPrice;
  6227. var HISUNIT = data[i].hisUnit == null ? "" : data[i].hisUnit;
  6228. sum_total = sum_total + DSUMVALUE
  6229. var invoice_type_cn =null;
  6230. if (invoice_type =="00" ){
  6231. invoice_type_cn="销售发票";
  6232. }else if (invoice_type == "01") {
  6233. invoice_type_cn="更正(对冲)发票";
  6234. }else if (invoice_type == "02") {
  6235. invoice_type_cn="其它类型发票";
  6236. }
  6237. html += "_$ta";
  6238. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6239. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6240. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  6241. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6242. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6243. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  6244. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6245. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6246. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6247. html += "_$tag_____________$tag___________________________________________________________________________________________________________________$tag";
  6248. html += "_$tag_____________$tag___________________________________________________________________________________________________________$tag";
  6249. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________$tag";
  6250. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6251. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6252. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6253. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6254. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  6255. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  6256. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  6257. html += "_$tag";
  6258. }
  6259. html += "_$ta";
  6260. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6261. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6262. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6263. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6264. html += "_$tag_____________$tag_合计:_$tag___$tag";
  6265. html += "_$tag_____________$tag_"+sum_total+"_$tag___$tag";
  6266. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6267. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6268. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6269. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6270. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6271. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6272. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6273. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6274. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6275. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6276. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6277. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6278. html += "_$tag_____________$tag____________________________________________________________________$tag";
  6279. html += "_$tag";
  6280. $("#dataTable").html(html);
  6281. }else {
  6282. $("#dataTable").html("");
  6283. }
  6284. },
  6285. "error" : function(msg){
  6286. },
  6287. "complete": function(){
  6288. layer.close(tip);
  6289. }
  6290. });
  6291. });
  6292. Date.prototype.Format = function (fmt) {
  6293. var o = {
  6294. "M+": this.getMonth() + 1, //月份
  6295. "d+": this.getDate(), //日
  6296. "h+": this.getHours(), //小时
  6297. "m+": this.getMinutes(), //分
  6298. "s+": this.getSeconds(), //秒
  6299. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  6300. "S": this.getMilliseconds() //毫秒
  6301. };
  6302. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  6303. for (var k in o)
  6304. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  6305. return fmt;
  6306. }
  6307. $("#jrjc").change(function() {
  6308. if ($("#jrjc").prop('checked') == true){
  6309. $("#departmentId").removeAttr("disabled");
  6310. }else {
  6311. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6312. }
  6313. });
  6314. ----------------------------------- SOURCE END -------------------------------------
  6315. !STACK 0
  6316. java.lang.NullPointerException
  6317. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6318. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6319. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6320. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6321. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6322. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6323. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6324. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6325. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6326. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6327. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6328. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6329. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6330. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6331. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6332. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6333. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6334. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6335. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6336. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6337. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6338. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6339. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6340. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6341. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6342. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6343. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6344. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6345. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6346. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6347. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6348. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6349. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6350. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6351. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6352. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6353. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6354. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6355. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6356. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6357. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6358. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6359. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6360. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6361. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6362. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6363. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6364. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6365. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6366. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6367. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6368. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6369. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6370. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6371. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6372. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6373. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6374. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6375. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6376. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6377. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6378. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6379. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6380. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6381. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6382. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6383. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6384. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6385. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6386. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6387. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6388. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6389. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6390. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6391. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6392. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6393. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6394. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6395. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6396. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6397. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6398. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6399. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6400. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6401. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6402. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-03-25 09:57:57.541
  6403. !MESSAGE java.lang.NullPointerException
  6404. !STACK 1
  6405. JavaScript Model Exception: java.lang.NullPointerException
  6406. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  6407. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6408. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6409. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6410. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6411. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6412. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6413. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6414. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6415. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6416. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6417. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6418. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6419. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6420. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6421. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6422. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6423. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6424. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6425. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6426. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6427. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6428. Caused by: java.lang.NullPointerException
  6429. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6430. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6431. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6432. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6433. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6434. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6435. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6436. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6437. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6438. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6439. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6440. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6441. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6442. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6443. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6444. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6445. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6446. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6447. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6448. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6449. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6450. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6451. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6452. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6453. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6454. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6455. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6456. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6457. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6458. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6459. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6460. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6461. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6462. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6463. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6464. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6465. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6466. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6467. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6468. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6469. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6470. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6471. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6472. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6473. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6474. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6475. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6476. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6477. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6478. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6479. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6480. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6481. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6482. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6483. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6484. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6485. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6486. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6487. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6488. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6489. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6490. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6491. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6492. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6493. ... 21 more
  6494. Caused by: java.lang.NullPointerException
  6495. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6496. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6497. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6498. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6499. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6500. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6501. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6502. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6503. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6504. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6505. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6506. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6507. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6508. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6509. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6510. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6511. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6512. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6513. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6514. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6515. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6516. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6517. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6518. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6519. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6520. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6521. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6522. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6523. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6524. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6525. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6526. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6527. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6528. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6529. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6530. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6531. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6532. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6533. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6534. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6535. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6536. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6537. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6538. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6539. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6540. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6541. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6542. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6543. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6544. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6545. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6546. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6547. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6548. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6549. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6550. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6551. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6552. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6553. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6554. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6555. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6556. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6557. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6558. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6559. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6560. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6561. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6562. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6563. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6564. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6565. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6566. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6567. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6568. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6569. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6570. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6571. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6572. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6573. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6574. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6575. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6576. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6577. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6578. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6579. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6580. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-03-25 09:57:57.542
  6581. !MESSAGE java.lang.NullPointerException
  6582. !STACK 0
  6583. java.lang.NullPointerException
  6584. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6585. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6586. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6587. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6588. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6589. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6590. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6591. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6592. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6593. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6594. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6595. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6596. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6597. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6598. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6599. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6600. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6601. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6602. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6603. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6604. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6605. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6606. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6607. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6608. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6609. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6610. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6611. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6612. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6613. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6614. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6615. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6616. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6617. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6618. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6619. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6620. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6621. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6622. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6623. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6624. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6625. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6626. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6627. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6628. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6629. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6630. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6631. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6632. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6633. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6634. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6635. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6636. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6637. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6638. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6639. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6640. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6641. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6642. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6643. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6644. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6645. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6646. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6647. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6648. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6649. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6650. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6651. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6652. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6653. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6654. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6655. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6656. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6657. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6658. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6659. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6660. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6661. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6662. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6663. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6664. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6665. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6666. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6667. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6668. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6669. !SESSION 2019-05-05 09:07:51.889 -----------------------------------------------
  6670. eclipse.buildId=4.4.2.M20150204-1700
  6671. java.version=1.7.0_80
  6672. java.vendor=Oracle Corporation
  6673. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  6674. Framework arguments: -product org.eclipse.epp.package.jee.product
  6675. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  6676. !ENTRY org.eclipse.egit.ui 2 0 2019-05-05 09:08:35.052
  6677. !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
  6678. user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
  6679. not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
  6680. EGit might behave differently since they see different configuration options.
  6681. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
  6682. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:15:07.201
  6683. !MESSAGE Exception occurred during problem detection:
  6684. ----------------------------------- SOURCE BEGIN -------------------------------------
  6685. (function(){search();})();
  6686. (function(){WdatePicker();})();
  6687. (function(){WdatePicker();})();
  6688. (function(){Data.get();})();
  6689. var Data = {
  6690. "get" : function(){
  6691. var tip = layer.load(2);
  6692. var url = "listAjax.do";
  6693. $.ajax({
  6694. "url" : url,
  6695. "data" : {
  6696. "departmentId" : $("#departmentId").val(),
  6697. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  6698. "jzh" : $("#jzh").val(),
  6699. "begDate" : $("#dateBegin").val(),
  6700. "endDate" : $("#dateEnd").val(),
  6701. "searchKey" : $("#searchKey").val()
  6702. },
  6703. "type" : "POST",
  6704. "dataType" : "json",
  6705. "async" : true,
  6706. "success" : function(data) {
  6707. if(data != null && data != ""){
  6708. var html = "";
  6709. var sum =0;
  6710. var ypsz = new Array();
  6711. var jesz =new Array();
  6712. var tjrq="";
  6713. for(var i = 0; i < data.length; i++){
  6714. var index = i + 1;
  6715. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  6716. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  6717. var patient_name = data[i].XM == null ? "" : data[i].XM;
  6718. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  6719. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  6720. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  6721. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  6722. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  6723. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  6724. sum = sum +sum_total;
  6725. html += "_$ta";
  6726. html += "_$tag____________" + index + "_$tag";
  6727. html += "_$tag____________" + zyh + "_$tag";
  6728. html += "_$tag____________" + jzh + "_$tag";
  6729. html += "_$tag____________" + patient_name + "_$tag";
  6730. html += "_$tag____________" + item_id + "_$tag";
  6731. html += "_$tag____________" + item_cnname + "_$tag";
  6732. html += "_$tag____________" + medcftype_name + "_$tag";
  6733. html += "_$tag____________" + jsrq + "_$tag";
  6734. html += "_$tag____________" + sum_total +"_$tag";
  6735. html += "_$tag____________" + fempname + "_$tag";
  6736. html += "_$tag";
  6737. ypsz[i]=item_cnname;
  6738. jesz[i]=sum_total;
  6739. }
  6740. html += "_$ta";
  6741. html += "_$tag______________$tag";
  6742. html += "_$tag______________$tag";
  6743. html += "_$tag______________$tag";
  6744. html += "_$tag______________$tag";
  6745. html += "_$tag______________$tag";
  6746. html += "_$tag______________$tag";
  6747. html += "_$tag______________$tag";
  6748. html += "_$tag_____________总计_$tag";
  6749. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  6750. html += "_$tag______________$tag";
  6751. html += "_$tag";
  6752. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  6753. showpictab(ypsz,jesz,tjrq);
  6754. $("#dataTable").html(html);
  6755. }
  6756. },
  6757. "complete": function(){
  6758. layer.close(tip);
  6759. }
  6760. });
  6761. }
  6762. }
  6763. function search(){
  6764. $("#form").submit();
  6765. }
  6766. Date.prototype.Format = function (fmt) {
  6767. var o = {
  6768. "M+": this.getMonth() + 1, //月份
  6769. "d+": this.getDate(), //日
  6770. "h+": this.getHours(), //小时
  6771. "m+": this.getMinutes(), //分
  6772. "s+": this.getSeconds(), //秒
  6773. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  6774. "S": this.getMilliseconds() //毫秒
  6775. };
  6776. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  6777. for (var k in o)
  6778. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  6779. return fmt;
  6780. }
  6781. function showpictab(ypsz,jesz,tjrq){
  6782. require.config({
  6783. paths: {
  6784. echarts: '/zhcx/js/dist'
  6785. }
  6786. });
  6787. require(
  6788. [
  6789. 'echarts',
  6790. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  6791. 'echarts/chart/bar'
  6792. ],
  6793. function (ec) {
  6794. var myChart = ec.init(document.getElementById('main'));
  6795. var option = {
  6796. title : {
  6797. text: '住院医生病人费用统计报表',
  6798. subtext: tjrq
  6799. },
  6800. tooltip : {
  6801. trigger: 'axis'
  6802. },
  6803. toolbox: {
  6804. show : true,
  6805. feature : {
  6806. mark : {show: true},
  6807. dataView : {show: true, readOnly: false},
  6808. magicType : {show: true, type: ['line', 'bar']},
  6809. restore : {show: true},
  6810. saveAsImage : {show: true}
  6811. }
  6812. },
  6813. calculable : true,
  6814. xAxis : [
  6815. {
  6816. type : 'category',
  6817. data : ypsz
  6818. }
  6819. ],
  6820. yAxis : [
  6821. {
  6822. type : 'value'
  6823. }
  6824. ],
  6825. series : [
  6826. {
  6827. name:'金额',
  6828. type:'bar',
  6829. data:jesz,
  6830. markPoint : {
  6831. data : [
  6832. {type : 'max', name: '最大值'},
  6833. {type : 'min', name: '最小值'}
  6834. ]
  6835. },
  6836. markLine : {
  6837. data : [
  6838. {type : 'average', name: '平均值'}
  6839. ]
  6840. }
  6841. }
  6842. ]
  6843. };
  6844. myChart.setOption(option);
  6845. }
  6846. );
  6847. }
  6848. ----------------------------------- SOURCE END -------------------------------------
  6849. !STACK 0
  6850. java.lang.NullPointerException
  6851. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6852. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6853. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6854. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6855. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6856. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6857. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6858. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6859. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6860. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6861. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6862. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6863. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6864. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6865. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6866. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6867. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6868. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6869. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6870. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6871. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6872. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6873. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6874. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6875. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6876. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6877. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6878. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6879. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6880. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6881. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6882. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6883. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6884. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6885. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6886. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6887. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6888. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6889. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6890. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6891. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6892. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  6893. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  6894. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  6895. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6896. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6897. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6898. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  6899. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  6900. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6901. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6902. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6903. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6904. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6905. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  6906. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  6907. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6908. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  6909. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  6910. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  6911. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  6912. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  6913. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  6914. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  6915. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6916. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6917. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6918. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6919. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6920. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6921. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6922. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6923. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6924. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6925. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6926. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6927. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6928. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6929. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6930. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6931. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6932. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6933. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6934. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6935. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6936. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:15:07.272
  6937. !MESSAGE java.lang.NullPointerException
  6938. !STACK 1
  6939. JavaScript Model Exception: java.lang.NullPointerException
  6940. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  6941. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  6942. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6943. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6944. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  6945. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  6946. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  6947. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  6948. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  6949. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  6950. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  6951. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  6952. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  6953. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  6954. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  6955. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  6956. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  6957. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  6958. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  6959. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  6960. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  6961. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  6962. Caused by: java.lang.NullPointerException
  6963. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  6964. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  6965. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  6966. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  6967. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  6968. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  6969. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  6970. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  6971. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  6972. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6973. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  6974. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6975. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6976. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6977. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6978. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6979. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6980. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6981. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6982. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6983. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6984. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6985. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6986. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6987. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  6988. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  6989. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  6990. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  6991. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  6992. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  6993. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  6994. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6995. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  6996. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  6997. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  6998. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  6999. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7000. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7001. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7002. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7003. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7004. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7005. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7006. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7007. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7008. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7009. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7010. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7011. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7012. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7013. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7014. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7015. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7016. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7017. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7018. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7019. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7020. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7021. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7022. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7023. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7024. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7025. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7026. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7027. ... 21 more
  7028. Caused by: java.lang.NullPointerException
  7029. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  7030. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  7031. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  7032. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  7033. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  7034. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  7035. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  7036. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  7037. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7038. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7039. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7040. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7041. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7042. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7043. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7044. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7045. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7046. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7047. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7048. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7049. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7050. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7051. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7052. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7053. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7054. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7055. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7056. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7057. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7058. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7059. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7060. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7061. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7062. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7063. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  7064. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7065. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7066. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7067. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7068. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7069. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7070. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7071. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7072. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7073. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7074. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7075. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7076. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7077. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7078. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7079. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7080. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7081. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7082. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7083. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7084. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7085. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7086. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7087. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7088. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7089. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7090. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7091. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7092. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7093. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7094. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7095. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7096. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7097. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7098. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7099. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7100. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7101. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7102. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7103. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7104. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7105. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7106. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7107. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7108. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7109. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  7110. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  7111. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  7112. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  7113. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  7114. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:15:07.276
  7115. !MESSAGE java.lang.NullPointerException
  7116. !STACK 0
  7117. java.lang.NullPointerException
  7118. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  7119. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  7120. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  7121. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  7122. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  7123. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  7124. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  7125. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  7126. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7127. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7128. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7129. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7130. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7131. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7132. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7133. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7134. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7135. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7136. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7137. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7138. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7139. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7140. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7141. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7142. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7143. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7144. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7145. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7146. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7147. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7148. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7149. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7150. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7151. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7152. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  7153. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7154. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7155. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7156. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7157. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7158. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7159. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7160. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7161. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7162. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7163. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7164. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7165. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7166. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7167. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7168. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7169. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7170. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7171. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7172. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7173. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7174. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7175. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7176. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7177. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7178. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7179. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7180. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7181. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7182. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7183. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7184. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7185. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7186. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7187. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7188. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7189. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7190. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7191. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7192. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7193. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7194. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7195. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7196. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7197. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7198. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  7199. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  7200. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  7201. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  7202. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  7203. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:15:14.174
  7204. !MESSAGE Exception occurred during problem detection:
  7205. ----------------------------------- SOURCE BEGIN -------------------------------------
  7206. (function(){search();})();
  7207. (function(){WdatePicker();})();
  7208. (function(){WdatePicker();})();
  7209. (function(){Data.get();})();
  7210. var Data = {
  7211. "get" : function(){
  7212. var tip = layer.load(2);
  7213. var url = "listAjax.do";
  7214. $.ajax({
  7215. "url" : url,
  7216. "data" : {
  7217. "departmentId" : $("#departmentId").val(),
  7218. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  7219. "jzh" : $("#jzh").val(),
  7220. "begDate" : $("#dateBegin").val(),
  7221. "endDate" : $("#dateEnd").val(),
  7222. "searchKey" : $("#searchKey").val()
  7223. },
  7224. "type" : "POST",
  7225. "dataType" : "json",
  7226. "async" : true,
  7227. "success" : function(data) {
  7228. if(data != null && data != ""){
  7229. var html = "";
  7230. var sum =0;
  7231. var ypsz = new Array();
  7232. var jesz =new Array();
  7233. var tjrq="";
  7234. for(var i = 0; i < data.length; i++){
  7235. var index = i + 1;
  7236. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  7237. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  7238. var patient_name = data[i].XM == null ? "" : data[i].XM;
  7239. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  7240. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  7241. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  7242. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  7243. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7244. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  7245. sum = sum +sum_total;
  7246. html += "_$ta";
  7247. html += "_$tag____________" + index + "_$tag";
  7248. html += "_$tag____________" + zyh + "_$tag";
  7249. html += "_$tag____________" + jzh + "_$tag";
  7250. html += "_$tag____________" + patient_name + "_$tag";
  7251. html += "_$tag____________" + item_id + "_$tag";
  7252. html += "_$tag____________" + item_cnname + "_$tag";
  7253. html += "_$tag____________" + medcftype_name + "_$tag";
  7254. html += "_$tag____________" + jsrq + "_$tag";
  7255. html += "_$tag____________" + sum_total +"_$tag";
  7256. html += "_$tag____________" + fempname + "_$tag";
  7257. html += "_$tag";
  7258. ypsz[i]=item_cnname;
  7259. jesz[i]=sum_total;
  7260. }
  7261. html += "_$ta";
  7262. html += "_$tag______________$tag";
  7263. html += "_$tag______________$tag";
  7264. html += "_$tag______________$tag";
  7265. html += "_$tag______________$tag";
  7266. html += "_$tag______________$tag";
  7267. html += "_$tag______________$tag";
  7268. html += "_$tag______________$tag";
  7269. html += "_$tag_____________总计_$tag";
  7270. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7271. html += "_$tag______________$tag";
  7272. html += "_$tag";
  7273. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  7274. showpictab(ypsz,jesz,tjrq);
  7275. $("#dataTable").html(html);
  7276. }
  7277. },
  7278. "complete": function(){
  7279. layer.close(tip);
  7280. }
  7281. });
  7282. }
  7283. }
  7284. function search(){
  7285. $("#form").submit();
  7286. }
  7287. Date.prototype.Format = function (fmt) {
  7288. var o = {
  7289. "M+": this.getMonth() + 1, //月份
  7290. "d+": this.getDate(), //日
  7291. "h+": this.getHours(), //小时
  7292. "m+": this.getMinutes(), //分
  7293. "s+": this.getSeconds(), //秒
  7294. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7295. "S": this.getMilliseconds() //毫秒
  7296. };
  7297. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7298. for (var k in o)
  7299. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7300. return fmt;
  7301. }
  7302. function showpictab(ypsz,jesz,tjrq){
  7303. require.config({
  7304. paths: {
  7305. echarts: '/zhcx/js/dist'
  7306. }
  7307. });
  7308. require(
  7309. [
  7310. 'echarts',
  7311. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  7312. 'echarts/chart/bar'
  7313. ],
  7314. function (ec) {
  7315. var myChart = ec.init(document.getElementById('main'));
  7316. var option = {
  7317. title : {
  7318. text: '住院医生病人费用统计报表',
  7319. subtext: tjrq
  7320. },
  7321. tooltip : {
  7322. trigger: 'axis'
  7323. },
  7324. toolbox: {
  7325. show : true,
  7326. feature : {
  7327. mark : {show: true},
  7328. dataView : {show: true, readOnly: false},
  7329. magicType : {show: true, type: ['line', 'bar']},
  7330. restore : {show: true},
  7331. saveAsImage : {show: true}
  7332. }
  7333. },
  7334. calculable : true,
  7335. xAxis : [
  7336. {
  7337. type : 'category',
  7338. data : ypsz
  7339. }
  7340. ],
  7341. yAxis : [
  7342. {
  7343. type : 'value'
  7344. }
  7345. ],
  7346. series : [
  7347. {
  7348. name:'金额',
  7349. type:'bar',
  7350. data:jesz,
  7351. markPoint : {
  7352. data : [
  7353. {type : 'max', name: '最大值'},
  7354. {type : 'min', name: '最小值'}
  7355. ]
  7356. },
  7357. markLine : {
  7358. data : [
  7359. {type : 'average', name: '平均值'}
  7360. ]
  7361. }
  7362. }
  7363. ]
  7364. };
  7365. myChart.setOption(option);
  7366. }
  7367. );
  7368. }
  7369. ----------------------------------- SOURCE END -------------------------------------
  7370. !STACK 0
  7371. java.lang.NullPointerException
  7372. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  7373. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  7374. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  7375. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  7376. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  7377. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  7378. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  7379. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  7380. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7381. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7382. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7383. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7384. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7385. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7386. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7387. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7388. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7389. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7390. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7391. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7392. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7393. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7394. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7395. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7396. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7397. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7398. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7399. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7400. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7401. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7402. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7403. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7404. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7405. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7406. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  7407. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7408. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7409. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7410. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7411. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7412. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7413. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7414. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7415. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7416. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7417. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7418. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7419. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7420. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7421. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7422. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7423. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7424. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7425. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7426. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7427. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7428. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7429. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7430. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7431. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7432. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7433. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7434. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7435. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7436. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7437. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7438. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7439. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7440. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7441. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7442. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7443. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7444. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7445. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7446. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7447. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7448. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7449. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7450. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7451. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7452. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  7453. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  7454. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  7455. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  7456. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  7457. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:15:14.175
  7458. !MESSAGE java.lang.NullPointerException
  7459. !STACK 1
  7460. JavaScript Model Exception: java.lang.NullPointerException
  7461. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  7462. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7463. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7464. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7465. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7466. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7467. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7468. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7469. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7470. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7471. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7472. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7473. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7474. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7475. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7476. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7477. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7478. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  7479. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  7480. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  7481. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  7482. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  7483. Caused by: java.lang.NullPointerException
  7484. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  7485. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  7486. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  7487. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  7488. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  7489. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  7490. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  7491. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  7492. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7493. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7494. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7495. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7496. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7497. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7498. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7499. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7500. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7501. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7502. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7503. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7504. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7505. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7506. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7507. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7508. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7509. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7510. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7511. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7512. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7513. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7514. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7515. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7516. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7517. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7518. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  7519. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7520. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7521. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7522. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7523. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7524. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7525. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7526. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7527. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7528. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7529. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7530. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7531. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7532. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7533. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7534. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7535. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7536. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7537. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7538. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7539. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7540. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7541. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7542. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7543. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7544. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7545. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7546. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7547. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7548. ... 21 more
  7549. Caused by: java.lang.NullPointerException
  7550. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  7551. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  7552. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  7553. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  7554. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  7555. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  7556. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  7557. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  7558. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7559. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7560. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7561. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7562. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7563. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7564. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7565. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7566. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7567. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7568. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7569. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7570. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7571. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7572. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7573. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7574. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7575. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7576. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7577. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7578. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7579. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7580. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7581. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7582. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7583. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7584. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  7585. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7586. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7587. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7588. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7589. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7590. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7591. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7592. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7593. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7594. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7595. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7596. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7597. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7598. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7599. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7600. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7601. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7602. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7603. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7604. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7605. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7606. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7607. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7608. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7609. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7610. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7611. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7612. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7613. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7614. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7615. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7616. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7617. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7618. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7619. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7620. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7621. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7622. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7623. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7624. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7625. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7626. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7627. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7628. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7629. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7630. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  7631. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  7632. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  7633. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  7634. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  7635. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:15:14.175
  7636. !MESSAGE java.lang.NullPointerException
  7637. !STACK 0
  7638. java.lang.NullPointerException
  7639. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  7640. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  7641. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  7642. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  7643. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  7644. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  7645. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  7646. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  7647. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7648. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7649. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7650. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7651. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7652. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7653. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7654. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7655. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7656. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7657. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7658. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7659. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7660. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7661. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7662. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7663. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7664. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7665. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7666. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7667. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7668. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7669. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7670. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7671. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7672. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7673. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  7674. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7675. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7676. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7677. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7678. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7679. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7680. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7681. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7682. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7683. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7684. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7685. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7686. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7687. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7688. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7689. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7690. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7691. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7692. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7693. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7694. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7695. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7696. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7697. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7698. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7699. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7700. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7701. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7702. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7703. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7704. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7705. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7706. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7707. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7708. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7709. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7710. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7711. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7712. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7713. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7714. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7715. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7716. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7717. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7718. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7719. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  7720. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  7721. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  7722. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  7723. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  7724. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:15:42.516
  7725. !MESSAGE Exception occurred during problem detection:
  7726. ----------------------------------- SOURCE BEGIN -------------------------------------
  7727. (function(){search();})();
  7728. (function(){WdatePicker();})();
  7729. (function(){WdatePicker();})();
  7730. (function(){Data.get();})();
  7731. var Data = {
  7732. "get" : function(){
  7733. var tip = layer.load(2);
  7734. var url = "listAjax.do";
  7735. $.ajax({
  7736. "url" : url,
  7737. "data" : {
  7738. "departmentId" : $("#departmentId").val(),
  7739. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  7740. "jzh" : $("#jzh").val(),
  7741. "begDate" : $("#dateBegin").val(),
  7742. "endDate" : $("#dateEnd").val(),
  7743. "searchKey" : $("#searchKey").val()
  7744. },
  7745. "type" : "POST",
  7746. "dataType" : "json",
  7747. "async" : true,
  7748. "success" : function(data) {
  7749. if(data != null && data != ""){
  7750. var html = "";
  7751. var sum =0;
  7752. var ypsz = new Array();
  7753. var jesz =new Array();
  7754. var tjrq="";
  7755. for(var i = 0; i < data.length; i++){
  7756. var index = i + 1;
  7757. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  7758. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  7759. var patient_name = data[i].XM == null ? "" : data[i].XM;
  7760. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  7761. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  7762. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  7763. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  7764. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  7765. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  7766. sum = sum +sum_total;
  7767. html += "_$ta";
  7768. html += "_$tag____________" + index + "_$tag";
  7769. html += "_$tag____________" + zyh + "_$tag";
  7770. html += "_$tag____________" + jzh + "_$tag";
  7771. html += "_$tag____________" + patient_name + "_$tag";
  7772. html += "_$tag____________" + item_id + "_$tag";
  7773. html += "_$tag____________" + item_cnname + "_$tag";
  7774. html += "_$tag____________" + medcftype_name + "_$tag";
  7775. html += "_$tag____________" + jsrq + "_$tag";
  7776. html += "_$tag____________" + sum_total +"_$tag";
  7777. html += "_$tag____________" + fempname + "_$tag";
  7778. html += "_$tag";
  7779. ypsz[i]=item_cnname;
  7780. jesz[i]=sum_total;
  7781. }
  7782. html += "_$ta";
  7783. html += "_$tag______________$tag";
  7784. html += "_$tag______________$tag";
  7785. html += "_$tag______________$tag";
  7786. html += "_$tag______________$tag";
  7787. html += "_$tag______________$tag";
  7788. html += "_$tag______________$tag";
  7789. html += "_$tag______________$tag";
  7790. html += "_$tag_____________总计_$tag";
  7791. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  7792. html += "_$tag______________$tag";
  7793. html += "_$tag";
  7794. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  7795. showpictab(ypsz,jesz,tjrq);
  7796. $("#dataTable").html(html);
  7797. }
  7798. },
  7799. "complete": function(){
  7800. layer.close(tip);
  7801. }
  7802. });
  7803. }
  7804. }
  7805. function search(){
  7806. $("#form").submit();
  7807. }
  7808. Date.prototype.Format = function (fmt) {
  7809. var o = {
  7810. "M+": this.getMonth() + 1, //月份
  7811. "d+": this.getDate(), //日
  7812. "h+": this.getHours(), //小时
  7813. "m+": this.getMinutes(), //分
  7814. "s+": this.getSeconds(), //秒
  7815. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7816. "S": this.getMilliseconds() //毫秒
  7817. };
  7818. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7819. for (var k in o)
  7820. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7821. return fmt;
  7822. }
  7823. function showpictab(ypsz,jesz,tjrq){
  7824. require.config({
  7825. paths: {
  7826. echarts: '/zhcx/js/dist'
  7827. }
  7828. });
  7829. require(
  7830. [
  7831. 'echarts',
  7832. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  7833. 'echarts/chart/bar'
  7834. ],
  7835. function (ec) {
  7836. var myChart = ec.init(document.getElementById('main'));
  7837. var option = {
  7838. title : {
  7839. text: '住院医生病人费用统计报表',
  7840. subtext: tjrq
  7841. },
  7842. tooltip : {
  7843. trigger: 'axis'
  7844. },
  7845. toolbox: {
  7846. show : true,
  7847. feature : {
  7848. mark : {show: true},
  7849. dataView : {show: true, readOnly: false},
  7850. magicType : {show: true, type: ['line', 'bar']},
  7851. restore : {show: true},
  7852. saveAsImage : {show: true}
  7853. }
  7854. },
  7855. calculable : true,
  7856. xAxis : [
  7857. {
  7858. type : 'category',
  7859. data : ypsz
  7860. }
  7861. ],
  7862. yAxis : [
  7863. {
  7864. type : 'value'
  7865. }
  7866. ],
  7867. series : [
  7868. {
  7869. name:'金额',
  7870. type:'bar',
  7871. data:jesz,
  7872. markPoint : {
  7873. data : [
  7874. {type : 'max', name: '最大值'},
  7875. {type : 'min', name: '最小值'}
  7876. ]
  7877. },
  7878. markLine : {
  7879. data : [
  7880. {type : 'average', name: '平均值'}
  7881. ]
  7882. }
  7883. }
  7884. ]
  7885. };
  7886. myChart.setOption(option);
  7887. }
  7888. );
  7889. }
  7890. ----------------------------------- SOURCE END -------------------------------------
  7891. !STACK 0
  7892. java.lang.NullPointerException
  7893. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  7894. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  7895. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  7896. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  7897. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  7898. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  7899. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  7900. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  7901. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7902. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7903. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7904. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7905. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7906. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7907. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7908. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7909. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7910. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7911. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7912. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7913. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7914. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7915. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7916. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7917. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  7918. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  7919. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  7920. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  7921. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7922. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7923. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7924. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7925. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7926. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  7927. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  7928. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7929. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7930. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7931. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7932. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7933. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7934. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  7935. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  7936. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  7937. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7938. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7939. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  7940. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  7941. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  7942. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  7943. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  7944. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  7945. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  7946. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  7947. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  7948. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  7949. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  7950. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  7951. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  7952. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  7953. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  7954. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  7955. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  7956. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  7957. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7958. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7959. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7960. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7961. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7962. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7963. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7964. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7965. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7966. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7967. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7968. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7969. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7970. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7971. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7972. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7973. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  7974. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  7975. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  7976. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  7977. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  7978. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:15:42.517
  7979. !MESSAGE java.lang.NullPointerException
  7980. !STACK 1
  7981. JavaScript Model Exception: java.lang.NullPointerException
  7982. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  7983. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7984. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7985. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7986. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7987. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7988. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7989. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7990. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7991. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7992. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7993. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7994. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7995. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7996. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7997. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7998. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7999. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8000. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8001. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8002. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8003. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8004. Caused by: java.lang.NullPointerException
  8005. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8006. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8007. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8008. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8009. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8010. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8011. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8012. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8013. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8014. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8015. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8016. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8017. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8018. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8019. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8020. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8021. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8022. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8023. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8024. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8025. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8026. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8027. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8028. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8029. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8030. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8031. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8032. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8033. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8034. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8035. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8036. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8037. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8038. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8039. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8040. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8041. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8042. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8043. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8044. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8045. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8046. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8047. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8048. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8049. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8050. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8051. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8052. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8053. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8054. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8055. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8056. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8057. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8058. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8059. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8060. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8061. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8062. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8063. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8064. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8065. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8066. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8067. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8068. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8069. ... 21 more
  8070. Caused by: java.lang.NullPointerException
  8071. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8072. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8073. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8074. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8075. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8076. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8077. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8078. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8079. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8080. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8081. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8082. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8083. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8084. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8085. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8086. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8087. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8088. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8089. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8090. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8091. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8092. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8093. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8094. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8095. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8096. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8097. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8098. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8099. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8100. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8101. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8102. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8103. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8104. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8105. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8106. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8107. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8108. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8109. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8110. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8111. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8112. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8113. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8114. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8115. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8116. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8117. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8118. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8119. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8120. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8121. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8122. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8123. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8124. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8125. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8126. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8127. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8128. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8129. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8130. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8131. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8132. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8133. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8134. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8135. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8136. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8137. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8138. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8139. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8140. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8141. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8142. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8143. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8144. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8145. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8146. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8147. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8148. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8149. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8150. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8151. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8152. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8153. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8154. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8155. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8156. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:15:42.517
  8157. !MESSAGE java.lang.NullPointerException
  8158. !STACK 0
  8159. java.lang.NullPointerException
  8160. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8161. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8162. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8163. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8164. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8165. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8166. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8167. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8168. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8169. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8170. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8171. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8172. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8173. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8174. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8175. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8176. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8177. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8178. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8179. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8180. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8181. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8182. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8183. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8184. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8185. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8186. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8187. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8188. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8189. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8190. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8191. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8192. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8193. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8194. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8195. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8196. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8197. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8198. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8199. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8200. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8201. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8202. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8203. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8204. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8205. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8206. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8207. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8208. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8209. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8210. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8211. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8212. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8213. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8214. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8215. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8216. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8217. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8218. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8219. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8220. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8221. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8222. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8223. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8224. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8225. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8226. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8227. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8228. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8229. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8230. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8231. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8232. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8233. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8234. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8235. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8236. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8237. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8238. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8239. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8240. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8241. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8242. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8243. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8244. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8245. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:17:21.546
  8246. !MESSAGE Exception occurred during problem detection:
  8247. ----------------------------------- SOURCE BEGIN -------------------------------------
  8248. (function(){search();})();
  8249. (function(){WdatePicker();})();
  8250. (function(){WdatePicker();})();
  8251. (function(){Data.get();})();
  8252. var Data = {
  8253. "get" : function(){
  8254. var tip = layer.load(2);
  8255. var url = "listAjax.do";
  8256. $.ajax({
  8257. "url" : url,
  8258. "data" : {
  8259. "departmentId" : $("#departmentId").val(),
  8260. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  8261. "jzh" : $("#jzh").val(),
  8262. "begDate" : $("#dateBegin").val(),
  8263. "endDate" : $("#dateEnd").val(),
  8264. "searchKey" : $("#searchKey").val()
  8265. },
  8266. "type" : "POST",
  8267. "dataType" : "json",
  8268. "async" : true,
  8269. "success" : function(data) {
  8270. if(data != null && data != ""){
  8271. var html = "";
  8272. var sum =0;
  8273. var ypsz = new Array();
  8274. var jesz =new Array();
  8275. var tjrq="";
  8276. for(var i = 0; i < data.length; i++){
  8277. var index = i + 1;
  8278. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  8279. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  8280. var patient_name = data[i].XM == null ? "" : data[i].XM;
  8281. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  8282. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  8283. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  8284. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  8285. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8286. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  8287. sum = sum +sum_total;
  8288. html += "_$ta";
  8289. html += "_$tag____________" + index + "_$tag";
  8290. html += "_$tag____________" + zyh + "_$tag";
  8291. html += "_$tag____________" + jzh + "_$tag";
  8292. html += "_$tag____________" + patient_name + "_$tag";
  8293. html += "_$tag____________" + item_id + "_$tag";
  8294. html += "_$tag____________" + item_cnname + "_$tag";
  8295. html += "_$tag____________" + medcftype_name + "_$tag";
  8296. html += "_$tag____________" + jsrq + "_$tag";
  8297. html += "_$tag____________" + sum_total +"_$tag";
  8298. html += "_$tag____________" + fempname + "_$tag";
  8299. html += "_$tag";
  8300. ypsz[i]=item_cnname;
  8301. jesz[i]=sum_total;
  8302. }
  8303. html += "_$ta";
  8304. html += "_$tag______________$tag";
  8305. html += "_$tag______________$tag";
  8306. html += "_$tag______________$tag";
  8307. html += "_$tag______________$tag";
  8308. html += "_$tag______________$tag";
  8309. html += "_$tag______________$tag";
  8310. html += "_$tag______________$tag";
  8311. html += "_$tag_____________总计_$tag";
  8312. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8313. html += "_$tag______________$tag";
  8314. html += "_$tag";
  8315. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  8316. showpictab(ypsz,jesz,tjrq);
  8317. $("#dataTable").html(html);
  8318. }
  8319. },
  8320. "complete": function(){
  8321. layer.close(tip);
  8322. }
  8323. });
  8324. }
  8325. }
  8326. function search(){
  8327. $("#form").submit();
  8328. }
  8329. Date.prototype.Format = function (fmt) {
  8330. var o = {
  8331. "M+": this.getMonth() + 1, //月份
  8332. "d+": this.getDate(), //日
  8333. "h+": this.getHours(), //小时
  8334. "m+": this.getMinutes(), //分
  8335. "s+": this.getSeconds(), //秒
  8336. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8337. "S": this.getMilliseconds() //毫秒
  8338. };
  8339. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8340. for (var k in o)
  8341. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8342. return fmt;
  8343. }
  8344. function showpictab(ypsz,jesz,tjrq){
  8345. require.config({
  8346. paths: {
  8347. echarts: '/zhcx/js/dist'
  8348. }
  8349. });
  8350. require(
  8351. [
  8352. 'echarts',
  8353. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  8354. 'echarts/chart/bar'
  8355. ],
  8356. function (ec) {
  8357. var myChart = ec.init(document.getElementById('main'));
  8358. var option = {
  8359. title : {
  8360. text: '住院医生病人费用统计报表',
  8361. subtext: tjrq
  8362. },
  8363. tooltip : {
  8364. trigger: 'axis'
  8365. },
  8366. toolbox: {
  8367. show : true,
  8368. feature : {
  8369. mark : {show: true},
  8370. dataView : {show: true, readOnly: false},
  8371. magicType : {show: true, type: ['line', 'bar']},
  8372. restore : {show: true},
  8373. saveAsImage : {show: true}
  8374. }
  8375. },
  8376. calculable : true,
  8377. xAxis : [
  8378. {
  8379. type : 'category',
  8380. data : ypsz
  8381. }
  8382. ],
  8383. yAxis : [
  8384. {
  8385. type : 'value'
  8386. }
  8387. ],
  8388. series : [
  8389. {
  8390. name:'金额',
  8391. type:'bar',
  8392. data:jesz,
  8393. markPoint : {
  8394. data : [
  8395. {type : 'max', name: '最大值'},
  8396. {type : 'min', name: '最小值'}
  8397. ]
  8398. },
  8399. markLine : {
  8400. data : [
  8401. {type : 'average', name: '平均值'}
  8402. ]
  8403. }
  8404. }
  8405. ]
  8406. };
  8407. myChart.setOption(option);
  8408. }
  8409. );
  8410. }
  8411. ----------------------------------- SOURCE END -------------------------------------
  8412. !STACK 0
  8413. java.lang.NullPointerException
  8414. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8415. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8416. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8417. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8418. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8419. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8420. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8421. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8422. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8423. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8424. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8425. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8426. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8427. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8428. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8429. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8430. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8431. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8432. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8433. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8434. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8435. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8436. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8437. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8438. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8439. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8440. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8441. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8442. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8443. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8444. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8445. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8446. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8447. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8448. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8449. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8450. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8451. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8452. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8453. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8454. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8455. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8456. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8457. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8458. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8459. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8460. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8461. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8462. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8463. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8464. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8465. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8466. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8467. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8468. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8469. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8470. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8471. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8472. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8473. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8474. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8475. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8476. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8477. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8478. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8479. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8480. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8481. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8482. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8483. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8484. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8485. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8486. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8487. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8488. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8489. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8490. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8491. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8492. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8493. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8494. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8495. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8496. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8497. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8498. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8499. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:17:21.547
  8500. !MESSAGE java.lang.NullPointerException
  8501. !STACK 1
  8502. JavaScript Model Exception: java.lang.NullPointerException
  8503. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  8504. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8505. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8506. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8507. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8508. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8509. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8510. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8511. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8512. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8513. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8514. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8515. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8516. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8517. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8518. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8519. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8520. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8521. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8522. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8523. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8524. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8525. Caused by: java.lang.NullPointerException
  8526. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8527. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8528. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8529. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8530. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8531. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8532. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8533. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8534. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8535. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8536. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8537. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8538. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8539. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8540. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8541. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8542. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8543. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8544. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8545. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8546. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8547. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8548. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8549. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8550. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8551. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8552. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8553. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8554. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8555. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8556. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8557. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8558. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8559. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8560. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8561. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8562. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8563. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8564. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8565. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8566. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8567. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8568. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8569. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8570. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8571. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8572. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8573. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8574. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8575. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8576. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8577. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8578. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8579. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8580. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8581. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8582. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8583. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8584. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8585. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8586. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8587. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8588. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8589. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8590. ... 21 more
  8591. Caused by: java.lang.NullPointerException
  8592. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8593. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8594. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8595. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8596. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8597. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8598. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8599. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8600. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8601. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8602. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8603. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8604. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8605. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8606. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8607. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8608. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8609. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8610. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8611. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8612. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8613. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8614. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8615. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8616. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8617. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8618. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8619. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8620. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8621. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8622. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8623. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8624. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8625. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8626. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8627. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8628. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8629. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8630. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8631. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8632. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8633. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8634. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8635. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8636. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8637. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8638. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8639. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8640. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8641. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8642. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8643. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8644. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8645. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8646. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8647. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8648. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8649. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8650. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8651. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8652. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8653. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8654. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8655. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8656. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8657. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8658. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8659. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8660. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8661. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8662. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8663. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8664. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8665. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8666. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8667. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8668. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8669. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8670. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8671. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8672. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8673. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8674. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8675. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8676. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8677. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:17:21.548
  8678. !MESSAGE java.lang.NullPointerException
  8679. !STACK 0
  8680. java.lang.NullPointerException
  8681. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8682. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8683. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8684. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8685. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8686. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8687. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8688. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8689. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8690. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8691. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8692. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8693. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8694. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8695. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8696. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8697. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8698. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8699. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8700. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8701. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8702. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8703. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8704. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8705. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8706. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8707. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8708. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8709. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8710. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8711. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8712. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8713. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8714. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8715. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8716. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8717. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8718. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8719. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8720. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8721. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8722. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8723. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8724. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8725. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8726. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8727. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8728. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8729. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8730. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8731. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8732. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8733. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8734. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8735. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8736. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8737. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8738. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8739. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8740. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8741. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8742. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8743. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8744. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8745. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8746. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8747. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8748. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8749. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8750. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8751. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8752. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8753. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8754. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8755. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8756. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8757. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8758. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8759. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8760. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8761. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8762. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8763. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8764. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8765. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8766. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:21:11.518
  8767. !MESSAGE Exception occurred during problem detection:
  8768. ----------------------------------- SOURCE BEGIN -------------------------------------
  8769. (function(){search();})();
  8770. (function(){WdatePicker();})();
  8771. (function(){WdatePicker();})();
  8772. (function(){Data.get();})();
  8773. var Data = {
  8774. "get" : function(){
  8775. var tip = layer.load(2);
  8776. var url = "listAjax.do";
  8777. $.ajax({
  8778. "url" : url,
  8779. "data" : {
  8780. "departmentId" : $("#departmentId").val(),
  8781. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  8782. "jzh" : $("#jzh").val(),
  8783. "begDate" : $("#dateBegin").val(),
  8784. "endDate" : $("#dateEnd").val(),
  8785. "searchKey" : $("#searchKey").val()
  8786. },
  8787. "type" : "POST",
  8788. "dataType" : "json",
  8789. "async" : true,
  8790. "success" : function(data) {
  8791. if(data != null && data != ""){
  8792. var html = "";
  8793. var sum =0;
  8794. var ypsz = new Array();
  8795. var jesz =new Array();
  8796. var tjrq="";
  8797. for(var i = 0; i < data.length; i++){
  8798. var index = i + 1;
  8799. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  8800. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  8801. var patient_name = data[i].XM == null ? "" : data[i].XM;
  8802. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  8803. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  8804. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  8805. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  8806. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  8807. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  8808. sum = sum +sum_total;
  8809. html += "_$ta";
  8810. html += "_$tag____________" + index + "_$tag";
  8811. html += "_$tag____________" + zyh + "_$tag";
  8812. html += "_$tag____________" + jzh + "_$tag";
  8813. html += "_$tag____________" + patient_name + "_$tag";
  8814. html += "_$tag____________" + item_id + "_$tag";
  8815. html += "_$tag____________" + item_cnname + "_$tag";
  8816. html += "_$tag____________" + medcftype_name + "_$tag";
  8817. html += "_$tag____________" + jsrq + "_$tag";
  8818. html += "_$tag____________" + sum_total +"_$tag";
  8819. html += "_$tag____________" + fempname + "_$tag";
  8820. html += "_$tag";
  8821. ypsz[i]=item_cnname;
  8822. jesz[i]=sum_total;
  8823. }
  8824. html += "_$ta";
  8825. html += "_$tag______________$tag";
  8826. html += "_$tag______________$tag";
  8827. html += "_$tag______________$tag";
  8828. html += "_$tag______________$tag";
  8829. html += "_$tag______________$tag";
  8830. html += "_$tag______________$tag";
  8831. html += "_$tag______________$tag";
  8832. html += "_$tag_____________总计_$tag";
  8833. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  8834. html += "_$tag______________$tag";
  8835. html += "_$tag";
  8836. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  8837. showpictab(ypsz,jesz,tjrq);
  8838. $("#dataTable").html(html);
  8839. }
  8840. },
  8841. "complete": function(){
  8842. layer.close(tip);
  8843. }
  8844. });
  8845. }
  8846. }
  8847. function search(){
  8848. $("#form").submit();
  8849. }
  8850. Date.prototype.Format = function (fmt) {
  8851. var o = {
  8852. "M+": this.getMonth() + 1, //月份
  8853. "d+": this.getDate(), //日
  8854. "h+": this.getHours(), //小时
  8855. "m+": this.getMinutes(), //分
  8856. "s+": this.getSeconds(), //秒
  8857. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8858. "S": this.getMilliseconds() //毫秒
  8859. };
  8860. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8861. for (var k in o)
  8862. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8863. return fmt;
  8864. }
  8865. function showpictab(ypsz,jesz,tjrq){
  8866. require.config({
  8867. paths: {
  8868. echarts: '/zhcx/js/dist'
  8869. }
  8870. });
  8871. require(
  8872. [
  8873. 'echarts',
  8874. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  8875. 'echarts/chart/bar'
  8876. ],
  8877. function (ec) {
  8878. var myChart = ec.init(document.getElementById('main'));
  8879. var option = {
  8880. title : {
  8881. text: '住院医生病人费用统计报表',
  8882. subtext: tjrq
  8883. },
  8884. tooltip : {
  8885. trigger: 'axis'
  8886. },
  8887. toolbox: {
  8888. show : true,
  8889. feature : {
  8890. mark : {show: true},
  8891. dataView : {show: true, readOnly: false},
  8892. magicType : {show: true, type: ['line', 'bar']},
  8893. restore : {show: true},
  8894. saveAsImage : {show: true}
  8895. }
  8896. },
  8897. calculable : true,
  8898. xAxis : [
  8899. {
  8900. type : 'category',
  8901. data : ypsz
  8902. }
  8903. ],
  8904. yAxis : [
  8905. {
  8906. type : 'value'
  8907. }
  8908. ],
  8909. series : [
  8910. {
  8911. name:'金额',
  8912. type:'bar',
  8913. data:jesz,
  8914. markPoint : {
  8915. data : [
  8916. {type : 'max', name: '最大值'},
  8917. {type : 'min', name: '最小值'}
  8918. ]
  8919. },
  8920. markLine : {
  8921. data : [
  8922. {type : 'average', name: '平均值'}
  8923. ]
  8924. }
  8925. }
  8926. ]
  8927. };
  8928. myChart.setOption(option);
  8929. }
  8930. );
  8931. }
  8932. ----------------------------------- SOURCE END -------------------------------------
  8933. !STACK 0
  8934. java.lang.NullPointerException
  8935. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8936. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8937. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8938. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8939. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8940. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8941. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8942. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8943. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8944. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8945. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8946. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8947. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8948. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8949. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8950. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8951. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8952. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8953. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8954. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8955. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8956. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8957. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8958. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8959. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8960. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8961. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8962. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8963. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8964. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8965. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8966. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8967. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8968. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8969. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8970. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8971. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8972. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8973. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8974. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8975. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8976. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8977. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8978. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8979. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8980. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8981. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8982. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8983. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8984. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8985. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8986. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8987. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8988. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8989. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8990. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8991. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8992. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8993. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8994. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8995. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8996. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8997. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8998. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8999. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9000. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9001. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9002. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9003. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9004. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9005. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9006. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9007. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9008. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9009. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9010. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9011. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9012. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9013. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9014. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9015. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9016. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9017. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9018. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9019. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9020. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:21:11.519
  9021. !MESSAGE java.lang.NullPointerException
  9022. !STACK 1
  9023. JavaScript Model Exception: java.lang.NullPointerException
  9024. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  9025. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9026. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9027. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9028. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9029. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9030. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9031. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9032. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9033. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9034. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9035. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9036. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9037. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9038. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9039. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9040. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9041. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9042. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9043. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9044. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9045. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9046. Caused by: java.lang.NullPointerException
  9047. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9048. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9049. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9050. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9051. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9052. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9053. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9054. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9055. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9056. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9057. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9058. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9059. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9060. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9061. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9062. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9063. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9064. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9065. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9066. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9067. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9068. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9069. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9070. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9071. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9072. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9073. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9074. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9075. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9076. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9077. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9078. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9079. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9080. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9081. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9082. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9083. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9084. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9085. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9086. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9087. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9088. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9089. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9090. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9091. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9092. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9093. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9094. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9095. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9096. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9097. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9098. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9099. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9100. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9101. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9102. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9103. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9104. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9105. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9106. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9107. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9108. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9109. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9110. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9111. ... 21 more
  9112. Caused by: java.lang.NullPointerException
  9113. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9114. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9115. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9116. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9117. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9118. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9119. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9120. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9121. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9122. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9123. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9124. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9125. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9126. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9127. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9128. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9129. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9130. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9131. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9132. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9133. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9134. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9135. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9136. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9137. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9138. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9139. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9140. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9141. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9142. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9143. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9144. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9145. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9146. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9147. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9148. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9149. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9150. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9151. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9152. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9153. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9154. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9155. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9156. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9157. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9158. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9159. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9160. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9161. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9162. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9163. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9164. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9165. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9166. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9167. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9168. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9169. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9170. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9171. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9172. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9173. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9174. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9175. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9176. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9177. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9178. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9179. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9180. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9181. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9182. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9183. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9184. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9185. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9186. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9187. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9188. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9189. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9190. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9191. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9192. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9193. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9194. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9195. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9196. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9197. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9198. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:21:11.519
  9199. !MESSAGE java.lang.NullPointerException
  9200. !STACK 0
  9201. java.lang.NullPointerException
  9202. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9203. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9204. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9205. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9206. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9207. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9208. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9209. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9210. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9211. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9212. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9213. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9214. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9215. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9216. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9217. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9218. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9219. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9220. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9221. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9222. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9223. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9224. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9225. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9226. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9227. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9228. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9229. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9230. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9231. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9232. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9233. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9234. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9235. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9236. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9237. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9238. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9239. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9240. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9241. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9242. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9243. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9244. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9245. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9246. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9247. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9248. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9249. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9250. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9251. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9252. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9253. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9254. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9255. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9256. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9257. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9258. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9259. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9260. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9261. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9262. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9263. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9264. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9265. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9266. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9267. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9268. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9269. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9270. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9271. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9272. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9273. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9274. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9275. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9276. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9277. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9278. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9279. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9280. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9281. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9282. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9283. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9284. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9285. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9286. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9287. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:21:36.053
  9288. !MESSAGE Exception occurred during problem detection:
  9289. ----------------------------------- SOURCE BEGIN -------------------------------------
  9290. (function(){search();})();
  9291. (function(){WdatePicker();})();
  9292. (function(){WdatePicker();})();
  9293. (function(){Data.get();})();
  9294. var Data = {
  9295. "get" : function(){
  9296. var tip = layer.load(2);
  9297. var url = "listAjax.do";
  9298. $.ajax({
  9299. "url" : url,
  9300. "data" : {
  9301. "departmentId" : $("#departmentId").val(),
  9302. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  9303. "jzh" : $("#jzh").val(),
  9304. "begDate" : $("#dateBegin").val(),
  9305. "endDate" : $("#dateEnd").val(),
  9306. "searchKey" : $("#searchKey").val()
  9307. },
  9308. "type" : "POST",
  9309. "dataType" : "json",
  9310. "async" : true,
  9311. "success" : function(data) {
  9312. if(data != null && data != ""){
  9313. var html = "";
  9314. var sum =0;
  9315. var ypsz = new Array();
  9316. var jesz =new Array();
  9317. var tjrq="";
  9318. for(var i = 0; i < data.length; i++){
  9319. var index = i + 1;
  9320. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  9321. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  9322. var patient_name = data[i].XM == null ? "" : data[i].XM;
  9323. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  9324. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  9325. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  9326. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  9327. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  9328. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  9329. sum = sum +sum_total;
  9330. html += "_$ta";
  9331. html += "_$tag____________" + index + "_$tag";
  9332. html += "_$tag____________" + zyh + "_$tag";
  9333. html += "_$tag____________" + jzh + "_$tag";
  9334. html += "_$tag____________" + patient_name + "_$tag";
  9335. html += "_$tag____________" + item_id + "_$tag";
  9336. html += "_$tag____________" + item_cnname + "_$tag";
  9337. html += "_$tag____________" + medcftype_name + "_$tag";
  9338. html += "_$tag____________" + jsrq + "_$tag";
  9339. html += "_$tag____________" + sum_total +"_$tag";
  9340. html += "_$tag____________" + fempname + "_$tag";
  9341. html += "_$tag";
  9342. ypsz[i]=item_cnname;
  9343. jesz[i]=sum_total;
  9344. }
  9345. html += "_$ta";
  9346. html += "_$tag______________$tag";
  9347. html += "_$tag______________$tag";
  9348. html += "_$tag______________$tag";
  9349. html += "_$tag______________$tag";
  9350. html += "_$tag______________$tag";
  9351. html += "_$tag______________$tag";
  9352. html += "_$tag______________$tag";
  9353. html += "_$tag_____________总计_$tag";
  9354. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  9355. html += "_$tag______________$tag";
  9356. html += "_$tag";
  9357. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  9358. showpictab(ypsz,jesz,tjrq);
  9359. $("#dataTable").html(html);
  9360. }
  9361. },
  9362. "complete": function(){
  9363. layer.close(tip);
  9364. }
  9365. });
  9366. }
  9367. }
  9368. function search(){
  9369. $("#form").submit();
  9370. }
  9371. Date.prototype.Format = function (fmt) {
  9372. var o = {
  9373. "M+": this.getMonth() + 1, //月份
  9374. "d+": this.getDate(), //日
  9375. "h+": this.getHours(), //小时
  9376. "m+": this.getMinutes(), //分
  9377. "s+": this.getSeconds(), //秒
  9378. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  9379. "S": this.getMilliseconds() //毫秒
  9380. };
  9381. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  9382. for (var k in o)
  9383. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  9384. return fmt;
  9385. }
  9386. function showpictab(ypsz,jesz,tjrq){
  9387. require.config({
  9388. paths: {
  9389. echarts: '/zhcx/js/dist'
  9390. }
  9391. });
  9392. require(
  9393. [
  9394. 'echarts',
  9395. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  9396. 'echarts/chart/bar'
  9397. ],
  9398. function (ec) {
  9399. var myChart = ec.init(document.getElementById('main'));
  9400. var option = {
  9401. title : {
  9402. text: '住院医生病人费用统计报表',
  9403. subtext: tjrq
  9404. },
  9405. tooltip : {
  9406. trigger: 'axis'
  9407. },
  9408. toolbox: {
  9409. show : true,
  9410. feature : {
  9411. mark : {show: true},
  9412. dataView : {show: true, readOnly: false},
  9413. magicType : {show: true, type: ['line', 'bar']},
  9414. restore : {show: true},
  9415. saveAsImage : {show: true}
  9416. }
  9417. },
  9418. calculable : true,
  9419. xAxis : [
  9420. {
  9421. type : 'category',
  9422. data : ypsz
  9423. }
  9424. ],
  9425. yAxis : [
  9426. {
  9427. type : 'value'
  9428. }
  9429. ],
  9430. series : [
  9431. {
  9432. name:'金额',
  9433. type:'bar',
  9434. data:jesz,
  9435. markPoint : {
  9436. data : [
  9437. {type : 'max', name: '最大值'},
  9438. {type : 'min', name: '最小值'}
  9439. ]
  9440. },
  9441. markLine : {
  9442. data : [
  9443. {type : 'average', name: '平均值'}
  9444. ]
  9445. }
  9446. }
  9447. ]
  9448. };
  9449. myChart.setOption(option);
  9450. }
  9451. );
  9452. }
  9453. ----------------------------------- SOURCE END -------------------------------------
  9454. !STACK 0
  9455. java.lang.NullPointerException
  9456. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9457. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9458. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9459. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9460. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9461. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9462. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9463. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9464. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9465. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9466. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9467. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9468. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9469. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9470. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9471. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9472. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9473. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9474. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9475. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9476. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9477. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9478. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9479. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9480. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9481. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9482. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9483. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9484. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9485. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9486. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9487. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9488. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9489. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9490. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9491. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9492. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9493. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9494. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9495. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9496. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9497. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9498. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9499. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9500. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9501. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9502. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9503. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9504. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9505. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9506. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9507. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9508. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9509. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9510. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9511. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9512. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9513. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9514. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9515. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9516. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9517. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9518. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9519. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9520. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9521. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9522. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9523. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9524. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9525. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9526. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9527. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9528. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9529. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9530. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9531. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9532. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9533. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9534. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9535. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9536. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9537. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9538. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9539. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9540. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9541. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:21:36.054
  9542. !MESSAGE java.lang.NullPointerException
  9543. !STACK 1
  9544. JavaScript Model Exception: java.lang.NullPointerException
  9545. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  9546. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9547. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9548. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9549. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9550. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9551. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9552. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9553. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9554. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9555. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9556. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9557. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9558. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9559. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9560. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9561. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9562. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9563. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9564. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9565. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9566. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9567. Caused by: java.lang.NullPointerException
  9568. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9569. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9570. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9571. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9572. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9573. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9574. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9575. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9576. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9577. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9578. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9579. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9580. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9581. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9582. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9583. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9584. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9585. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9586. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9587. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9588. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9589. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9590. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9591. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9592. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9593. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9594. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9595. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9596. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9597. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9598. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9599. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9600. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9601. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9602. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9603. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9604. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9605. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9606. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9607. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9608. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9609. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9610. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9611. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9612. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9613. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9614. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9615. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9616. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9617. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9618. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9619. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9620. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9621. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9622. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9623. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9624. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9625. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9626. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9627. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9628. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9629. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9630. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9631. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9632. ... 21 more
  9633. Caused by: java.lang.NullPointerException
  9634. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9635. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9636. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9637. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9638. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9639. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9640. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9641. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9642. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9643. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9644. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9645. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9646. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9647. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9648. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9649. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9650. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9651. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9652. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9653. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9654. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9655. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9656. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9657. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9658. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9659. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9660. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9661. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9662. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9663. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9664. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9665. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9666. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9667. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9668. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9669. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9670. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9671. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9672. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9673. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9674. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9675. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9676. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9677. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9678. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9679. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9680. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9681. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9682. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9683. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9684. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9685. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9686. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9687. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9688. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9689. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9690. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9691. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9692. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9693. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9694. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9695. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9696. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9697. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9698. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9699. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9700. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9701. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9702. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9703. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9704. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9705. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9706. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9707. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9708. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9709. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9710. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9711. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9712. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9713. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9714. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9715. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9716. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9717. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9718. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9719. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:21:36.055
  9720. !MESSAGE java.lang.NullPointerException
  9721. !STACK 0
  9722. java.lang.NullPointerException
  9723. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9724. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9725. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9726. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9727. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9728. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9729. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9730. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9731. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9732. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9733. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9734. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9735. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9736. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9737. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9738. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9739. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9740. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9741. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9742. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9743. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9744. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9745. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9746. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9747. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9748. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9749. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9750. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9751. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9752. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9753. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9754. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9755. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9756. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9757. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9758. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9759. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9760. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9761. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9762. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9763. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9764. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9765. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9766. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9767. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9768. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9769. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9770. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9771. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9772. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9773. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9774. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9775. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9776. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9777. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9778. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9779. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9780. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9781. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9782. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9783. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9784. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9785. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9786. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9787. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9788. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9789. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9790. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9791. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9792. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9793. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9794. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9795. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9796. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9797. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9798. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9799. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9800. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9801. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9802. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9803. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9804. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9805. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9806. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9807. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9808. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:21:53.017
  9809. !MESSAGE Exception occurred during problem detection:
  9810. ----------------------------------- SOURCE BEGIN -------------------------------------
  9811. (function(){search();})();
  9812. (function(){WdatePicker();})();
  9813. (function(){WdatePicker();})();
  9814. (function(){Data.get();})();
  9815. var Data = {
  9816. "get" : function(){
  9817. var tip = layer.load(2);
  9818. var url = "listAjax.do";
  9819. $.ajax({
  9820. "url" : url,
  9821. "data" : {
  9822. "departmentId" : $("#departmentId").val(),
  9823. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  9824. "jzh" : $("#jzh").val(),
  9825. "begDate" : $("#dateBegin").val(),
  9826. "endDate" : $("#dateEnd").val(),
  9827. "searchKey" : $("#searchKey").val()
  9828. },
  9829. "type" : "POST",
  9830. "dataType" : "json",
  9831. "async" : true,
  9832. "success" : function(data) {
  9833. if(data != null && data != ""){
  9834. var html = "";
  9835. var sum =0;
  9836. var ypsz = new Array();
  9837. var jesz =new Array();
  9838. var tjrq="";
  9839. for(var i = 0; i < data.length; i++){
  9840. var index = i + 1;
  9841. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  9842. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  9843. var patient_name = data[i].XM == null ? "" : data[i].XM;
  9844. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  9845. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  9846. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  9847. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  9848. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  9849. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  9850. sum = sum +sum_total;
  9851. html += "_$ta";
  9852. html += "_$tag____________" + index + "_$tag";
  9853. html += "_$tag____________" + zyh + "_$tag";
  9854. html += "_$tag____________" + jzh + "_$tag";
  9855. html += "_$tag____________" + patient_name + "_$tag";
  9856. html += "_$tag____________" + item_id + "_$tag";
  9857. html += "_$tag____________" + item_cnname + "_$tag";
  9858. html += "_$tag____________" + medcftype_name + "_$tag";
  9859. html += "_$tag____________" + jsrq + "_$tag";
  9860. html += "_$tag____________" + sum_total +"_$tag";
  9861. html += "_$tag____________" + fempname + "_$tag";
  9862. html += "_$tag";
  9863. ypsz[i]=item_cnname;
  9864. jesz[i]=sum_total;
  9865. }
  9866. html += "_$ta";
  9867. html += "_$tag______________$tag";
  9868. html += "_$tag______________$tag";
  9869. html += "_$tag______________$tag";
  9870. html += "_$tag______________$tag";
  9871. html += "_$tag______________$tag";
  9872. html += "_$tag______________$tag";
  9873. html += "_$tag______________$tag";
  9874. html += "_$tag_____________总计_$tag";
  9875. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  9876. html += "_$tag______________$tag";
  9877. html += "_$tag";
  9878. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  9879. showpictab(ypsz,jesz,tjrq);
  9880. $("#dataTable").html(html);
  9881. }
  9882. },
  9883. "complete": function(){
  9884. layer.close(tip);
  9885. }
  9886. });
  9887. }
  9888. }
  9889. function search(){
  9890. $("#form").submit();
  9891. }
  9892. Date.prototype.Format = function (fmt) {
  9893. var o = {
  9894. "M+": this.getMonth() + 1, //月份
  9895. "d+": this.getDate(), //日
  9896. "h+": this.getHours(), //小时
  9897. "m+": this.getMinutes(), //分
  9898. "s+": this.getSeconds(), //秒
  9899. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  9900. "S": this.getMilliseconds() //毫秒
  9901. };
  9902. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  9903. for (var k in o)
  9904. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  9905. return fmt;
  9906. }
  9907. function showpictab(ypsz,jesz,tjrq){
  9908. require.config({
  9909. paths: {
  9910. echarts: '/zhcx/js/dist'
  9911. }
  9912. });
  9913. require(
  9914. [
  9915. 'echarts',
  9916. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  9917. 'echarts/chart/bar'
  9918. ],
  9919. function (ec) {
  9920. var myChart = ec.init(document.getElementById('main'));
  9921. var option = {
  9922. title : {
  9923. text: '住院医生病人费用统计报表',
  9924. subtext: tjrq
  9925. },
  9926. tooltip : {
  9927. trigger: 'axis'
  9928. },
  9929. toolbox: {
  9930. show : true,
  9931. feature : {
  9932. mark : {show: true},
  9933. dataView : {show: true, readOnly: false},
  9934. magicType : {show: true, type: ['line', 'bar']},
  9935. restore : {show: true},
  9936. saveAsImage : {show: true}
  9937. }
  9938. },
  9939. calculable : true,
  9940. xAxis : [
  9941. {
  9942. type : 'category',
  9943. data : ypsz
  9944. }
  9945. ],
  9946. yAxis : [
  9947. {
  9948. type : 'value'
  9949. }
  9950. ],
  9951. series : [
  9952. {
  9953. name:'金额',
  9954. type:'bar',
  9955. data:jesz,
  9956. markPoint : {
  9957. data : [
  9958. {type : 'max', name: '最大值'},
  9959. {type : 'min', name: '最小值'}
  9960. ]
  9961. },
  9962. markLine : {
  9963. data : [
  9964. {type : 'average', name: '平均值'}
  9965. ]
  9966. }
  9967. }
  9968. ]
  9969. };
  9970. myChart.setOption(option);
  9971. }
  9972. );
  9973. }
  9974. ----------------------------------- SOURCE END -------------------------------------
  9975. !STACK 0
  9976. java.lang.NullPointerException
  9977. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9978. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9979. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9980. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9981. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9982. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9983. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9984. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9985. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9986. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9987. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9988. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9989. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9990. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9991. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9992. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9993. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9994. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9995. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9996. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9997. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9998. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9999. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10000. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10001. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10002. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10003. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10004. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10005. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10006. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10007. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10008. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10009. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10010. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10011. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10012. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10013. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10014. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10015. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10016. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10017. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10018. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10019. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10020. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10021. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10022. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10023. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10024. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10025. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10026. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10027. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10028. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10029. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10030. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10031. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10032. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10033. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10034. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10035. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10036. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10037. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10038. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10039. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10040. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10041. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10042. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10043. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10044. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10045. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10046. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10047. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10048. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10049. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10050. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10051. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10052. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10053. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10054. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10055. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10056. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10057. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10058. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10059. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10060. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10061. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10062. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:21:53.018
  10063. !MESSAGE java.lang.NullPointerException
  10064. !STACK 1
  10065. JavaScript Model Exception: java.lang.NullPointerException
  10066. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  10067. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10068. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10069. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10070. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10071. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10072. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10073. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10074. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10075. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10076. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10077. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10078. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10079. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10080. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10081. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10082. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10083. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10084. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10085. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10086. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10087. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10088. Caused by: java.lang.NullPointerException
  10089. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10090. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10091. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10092. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10093. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10094. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10095. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10096. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10097. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10098. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10099. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10100. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10101. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10102. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10103. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10104. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10105. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10106. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10107. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10108. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10109. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10110. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10111. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10112. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10113. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10114. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10115. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10116. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10117. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10118. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10119. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10120. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10121. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10122. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10123. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10124. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10125. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10126. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10127. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10128. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10129. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10130. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10131. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10132. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10133. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10134. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10135. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10136. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10137. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10138. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10139. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10140. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10141. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10142. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10143. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10144. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10145. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10146. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10147. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10148. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10149. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10150. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10151. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10152. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10153. ... 21 more
  10154. Caused by: java.lang.NullPointerException
  10155. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10156. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10157. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10158. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10159. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10160. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10161. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10162. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10163. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10164. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10165. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10166. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10167. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10168. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10169. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10170. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10171. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10172. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10173. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10174. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10175. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10176. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10177. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10178. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10179. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10180. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10181. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10182. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10183. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10184. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10185. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10186. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10187. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10188. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10189. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10190. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10191. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10192. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10193. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10194. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10195. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10196. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10197. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10198. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10199. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10200. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10201. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10202. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10203. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10204. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10205. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10206. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10207. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10208. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10209. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10210. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10211. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10212. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10213. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10214. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10215. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10216. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10217. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10218. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10219. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10220. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10221. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10222. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10223. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10224. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10225. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10226. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10227. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10228. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10229. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10230. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10231. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10232. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10233. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10234. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10235. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10236. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10237. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10238. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10239. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10240. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:21:53.019
  10241. !MESSAGE java.lang.NullPointerException
  10242. !STACK 0
  10243. java.lang.NullPointerException
  10244. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10245. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10246. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10247. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10248. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10249. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10250. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10251. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10252. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10253. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10254. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10255. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10256. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10257. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10258. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10259. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10260. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10261. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10262. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10263. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10264. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10265. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10266. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10267. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10268. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10269. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10270. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10271. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10272. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10273. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10274. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10275. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10276. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10277. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10278. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10279. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10280. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10281. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10282. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10283. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10284. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10285. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10286. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10287. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10288. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10289. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10290. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10291. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10292. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10293. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10294. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10295. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10296. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10297. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10298. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10299. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10300. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10301. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10302. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10303. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10304. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10305. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10306. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10307. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10308. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10309. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10310. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10311. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10312. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10313. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10314. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10315. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10316. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10317. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10318. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10319. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10320. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10321. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10322. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10323. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10324. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10325. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10326. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10327. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10328. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10329. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:25:13.823
  10330. !MESSAGE Exception occurred during problem detection:
  10331. ----------------------------------- SOURCE BEGIN -------------------------------------
  10332. (function(){search();})();
  10333. (function(){WdatePicker();})();
  10334. (function(){WdatePicker();})();
  10335. (function(){Data.get();})();
  10336. var Data = {
  10337. "get" : function(){
  10338. var tip = layer.load(2);
  10339. var url = "listAjax.do";
  10340. $.ajax({
  10341. "url" : url,
  10342. "data" : {
  10343. "departmentId" : $("#departmentId").val(),
  10344. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  10345. "jzh" : $("#jzh").val(),
  10346. "begDate" : $("#dateBegin").val(),
  10347. "endDate" : $("#dateEnd").val(),
  10348. "searchKey" : $("#searchKey").val()
  10349. },
  10350. "type" : "POST",
  10351. "dataType" : "json",
  10352. "async" : true,
  10353. "success" : function(data) {
  10354. if(data != null && data != ""){
  10355. var html = "";
  10356. var sum =0;
  10357. var ypsz = new Array();
  10358. var jesz =new Array();
  10359. var tjrq="";
  10360. for(var i = 0; i < data.length; i++){
  10361. var index = i + 1;
  10362. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  10363. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  10364. var patient_name = data[i].XM == null ? "" : data[i].XM;
  10365. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  10366. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  10367. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  10368. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  10369. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  10370. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  10371. sum = sum +sum_total;
  10372. html += "_$ta";
  10373. html += "_$tag____________" + index + "_$tag";
  10374. html += "_$tag____________" + zyh + "_$tag";
  10375. html += "_$tag____________" + jzh + "_$tag";
  10376. html += "_$tag____________" + patient_name + "_$tag";
  10377. html += "_$tag____________" + item_id + "_$tag";
  10378. html += "_$tag____________" + item_cnname + "_$tag";
  10379. html += "_$tag____________" + medcftype_name + "_$tag";
  10380. html += "_$tag____________" + jsrq + "_$tag";
  10381. html += "_$tag____________" + sum_total +"_$tag";
  10382. html += "_$tag____________" + fempname + "_$tag";
  10383. html += "_$tag";
  10384. ypsz[i]=item_cnname;
  10385. jesz[i]=sum_total;
  10386. }
  10387. html += "_$ta";
  10388. html += "_$tag______________$tag";
  10389. html += "_$tag______________$tag";
  10390. html += "_$tag______________$tag";
  10391. html += "_$tag______________$tag";
  10392. html += "_$tag______________$tag";
  10393. html += "_$tag______________$tag";
  10394. html += "_$tag______________$tag";
  10395. html += "_$tag_____________总计_$tag";
  10396. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  10397. html += "_$tag______________$tag";
  10398. html += "_$tag";
  10399. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  10400. showpictab(ypsz,jesz,tjrq);
  10401. $("#dataTable").html(html);
  10402. }
  10403. },
  10404. "complete": function(){
  10405. layer.close(tip);
  10406. }
  10407. });
  10408. }
  10409. }
  10410. function search(){
  10411. $("#form").submit();
  10412. }
  10413. Date.prototype.Format = function (fmt) {
  10414. var o = {
  10415. "M+": this.getMonth() + 1, //月份
  10416. "d+": this.getDate(), //日
  10417. "h+": this.getHours(), //小时
  10418. "m+": this.getMinutes(), //分
  10419. "s+": this.getSeconds(), //秒
  10420. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  10421. "S": this.getMilliseconds() //毫秒
  10422. };
  10423. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  10424. for (var k in o)
  10425. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  10426. return fmt;
  10427. }
  10428. function showpictab(ypsz,jesz,tjrq){
  10429. require.config({
  10430. paths: {
  10431. echarts: '/zhcx/js/dist'
  10432. }
  10433. });
  10434. require(
  10435. [
  10436. 'echarts',
  10437. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  10438. 'echarts/chart/bar'
  10439. ],
  10440. function (ec) {
  10441. var myChart = ec.init(document.getElementById('main'));
  10442. var option = {
  10443. title : {
  10444. text: '住院医生病人费用统计报表',
  10445. subtext: tjrq
  10446. },
  10447. tooltip : {
  10448. trigger: 'axis'
  10449. },
  10450. toolbox: {
  10451. show : true,
  10452. feature : {
  10453. mark : {show: true},
  10454. dataView : {show: true, readOnly: false},
  10455. magicType : {show: true, type: ['line', 'bar']},
  10456. restore : {show: true},
  10457. saveAsImage : {show: true}
  10458. }
  10459. },
  10460. calculable : true,
  10461. xAxis : [
  10462. {
  10463. type : 'category',
  10464. data : ypsz
  10465. }
  10466. ],
  10467. yAxis : [
  10468. {
  10469. type : 'value'
  10470. }
  10471. ],
  10472. series : [
  10473. {
  10474. name:'金额',
  10475. type:'bar',
  10476. data:jesz,
  10477. markPoint : {
  10478. data : [
  10479. {type : 'max', name: '最大值'},
  10480. {type : 'min', name: '最小值'}
  10481. ]
  10482. },
  10483. markLine : {
  10484. data : [
  10485. {type : 'average', name: '平均值'}
  10486. ]
  10487. }
  10488. }
  10489. ]
  10490. };
  10491. myChart.setOption(option);
  10492. }
  10493. );
  10494. }
  10495. ----------------------------------- SOURCE END -------------------------------------
  10496. !STACK 0
  10497. java.lang.NullPointerException
  10498. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10499. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10500. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10501. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10502. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10503. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10504. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10505. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10506. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10507. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10508. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10509. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10510. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10511. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10512. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10513. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10514. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10515. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10516. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10517. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10518. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10519. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10520. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10521. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10522. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10523. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10524. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10525. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10526. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10527. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10528. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10529. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10530. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10531. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10532. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10533. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10534. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10535. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10536. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10537. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10538. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10539. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10540. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10541. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10542. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10543. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10544. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10545. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10546. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10547. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10548. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10549. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10550. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10551. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10552. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10553. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10554. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10555. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10556. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10557. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10558. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10559. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10560. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10561. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10562. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10563. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10564. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10565. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10566. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10567. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10568. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10569. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10570. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10571. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10572. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10573. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10574. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10575. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10576. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10577. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10578. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10579. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10580. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10581. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10582. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10583. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:25:13.824
  10584. !MESSAGE java.lang.NullPointerException
  10585. !STACK 1
  10586. JavaScript Model Exception: java.lang.NullPointerException
  10587. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  10588. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10589. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10590. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10591. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10592. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10593. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10594. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10595. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10596. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10597. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10598. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10599. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10600. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10601. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10602. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10603. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10604. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10605. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10606. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10607. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10608. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10609. Caused by: java.lang.NullPointerException
  10610. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10611. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10612. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10613. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10614. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10615. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10616. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10617. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10618. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10619. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10620. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10621. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10622. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10623. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10624. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10625. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10626. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10627. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10628. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10629. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10630. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10631. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10632. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10633. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10634. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10635. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10636. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10637. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10638. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10639. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10640. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10641. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10642. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10643. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10644. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10645. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10646. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10647. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10648. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10649. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10650. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10651. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10652. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10653. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10654. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10655. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10656. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10657. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10658. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10659. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10660. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10661. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10662. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10663. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10664. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10665. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10666. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10667. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10668. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10669. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10670. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10671. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10672. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10673. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10674. ... 21 more
  10675. Caused by: java.lang.NullPointerException
  10676. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10677. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10678. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10679. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10680. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10681. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10682. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10683. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10684. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10685. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10686. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10687. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10688. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10689. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10690. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10691. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10692. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10693. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10694. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10695. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10696. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10697. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10698. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10699. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10700. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10701. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10702. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10703. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10704. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10705. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10706. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10707. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10708. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10709. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10710. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10711. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10712. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10713. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10714. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10715. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10716. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10717. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10718. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10719. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10720. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10721. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10722. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10723. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10724. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10725. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10726. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10727. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10728. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10729. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10730. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10731. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10732. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10733. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10734. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10735. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10736. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10737. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10738. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10739. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10740. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10741. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10742. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10743. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10744. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10745. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10746. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10747. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10748. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10749. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10750. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10751. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10752. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10753. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10754. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10755. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10756. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10757. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10758. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10759. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10760. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10761. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:25:13.825
  10762. !MESSAGE java.lang.NullPointerException
  10763. !STACK 0
  10764. java.lang.NullPointerException
  10765. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10766. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10767. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10768. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10769. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10770. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10771. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10772. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10773. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10774. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10775. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10776. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10777. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10778. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10779. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10780. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10781. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10782. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10783. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10784. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10785. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10786. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10787. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10788. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10789. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10790. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10791. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10792. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10793. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10794. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10795. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10796. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10797. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10798. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10799. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10800. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10801. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10802. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10803. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10804. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10805. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10806. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10807. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10808. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10809. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10810. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10811. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10812. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10813. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10814. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10815. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10816. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10817. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10818. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10819. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10820. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10821. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10822. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10823. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10824. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10825. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10826. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10827. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10828. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10829. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10830. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10831. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10832. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10833. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10834. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10835. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10836. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10837. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10838. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10839. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10840. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10841. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10842. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10843. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10844. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10845. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10846. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10847. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10848. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10849. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10850. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:25:46.923
  10851. !MESSAGE Exception occurred during problem detection:
  10852. ----------------------------------- SOURCE BEGIN -------------------------------------
  10853. (function(){search();})();
  10854. (function(){WdatePicker();})();
  10855. (function(){WdatePicker();})();
  10856. (function(){Data.get();})();
  10857. var Data = {
  10858. "get" : function(){
  10859. var tip = layer.load(2);
  10860. var url = "listAjax.do";
  10861. $.ajax({
  10862. "url" : url,
  10863. "data" : {
  10864. "departmentId" : $("#departmentId").val(),
  10865. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  10866. "jzh" : $("#jzh").val(),
  10867. "begDate" : $("#dateBegin").val(),
  10868. "endDate" : $("#dateEnd").val(),
  10869. "searchKey" : $("#searchKey").val()
  10870. },
  10871. "type" : "POST",
  10872. "dataType" : "json",
  10873. "async" : true,
  10874. "success" : function(data) {
  10875. if(data != null && data != ""){
  10876. var html = "";
  10877. var sum =0;
  10878. var ypsz = new Array();
  10879. var jesz =new Array();
  10880. var tjrq="";
  10881. for(var i = 0; i < data.length; i++){
  10882. var index = i + 1;
  10883. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  10884. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  10885. var patient_name = data[i].XM == null ? "" : data[i].XM;
  10886. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  10887. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  10888. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  10889. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  10890. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  10891. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  10892. sum = sum +sum_total;
  10893. html += "_$ta";
  10894. html += "_$tag____________" + index + "_$tag";
  10895. html += "_$tag____________" + zyh + "_$tag";
  10896. html += "_$tag____________" + jzh + "_$tag";
  10897. html += "_$tag____________" + patient_name + "_$tag";
  10898. html += "_$tag____________" + item_id + "_$tag";
  10899. html += "_$tag____________" + item_cnname + "_$tag";
  10900. html += "_$tag____________" + medcftype_name + "_$tag";
  10901. html += "_$tag____________" + jsrq + "_$tag";
  10902. html += "_$tag____________" + sum_total +"_$tag";
  10903. html += "_$tag____________" + fempname + "_$tag";
  10904. html += "_$tag";
  10905. ypsz[i]=item_cnname;
  10906. jesz[i]=sum_total;
  10907. }
  10908. html += "_$ta";
  10909. html += "_$tag______________$tag";
  10910. html += "_$tag______________$tag";
  10911. html += "_$tag______________$tag";
  10912. html += "_$tag______________$tag";
  10913. html += "_$tag______________$tag";
  10914. html += "_$tag______________$tag";
  10915. html += "_$tag______________$tag";
  10916. html += "_$tag_____________总计_$tag";
  10917. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  10918. html += "_$tag______________$tag";
  10919. html += "_$tag";
  10920. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  10921. showpictab(ypsz,jesz,tjrq);
  10922. $("#dataTable").html(html);
  10923. }
  10924. },
  10925. "complete": function(){
  10926. layer.close(tip);
  10927. }
  10928. });
  10929. }
  10930. }
  10931. function search(){
  10932. $("#form").submit();
  10933. }
  10934. Date.prototype.Format = function (fmt) {
  10935. var o = {
  10936. "M+": this.getMonth() + 1, //月份
  10937. "d+": this.getDate(), //日
  10938. "h+": this.getHours(), //小时
  10939. "m+": this.getMinutes(), //分
  10940. "s+": this.getSeconds(), //秒
  10941. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  10942. "S": this.getMilliseconds() //毫秒
  10943. };
  10944. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  10945. for (var k in o)
  10946. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  10947. return fmt;
  10948. }
  10949. function showpictab(ypsz,jesz,tjrq){
  10950. require.config({
  10951. paths: {
  10952. echarts: '/zhcx/js/dist'
  10953. }
  10954. });
  10955. require(
  10956. [
  10957. 'echarts',
  10958. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  10959. 'echarts/chart/bar'
  10960. ],
  10961. function (ec) {
  10962. var myChart = ec.init(document.getElementById('main'));
  10963. var option = {
  10964. title : {
  10965. text: '住院医生病人费用统计报表',
  10966. subtext: tjrq
  10967. },
  10968. tooltip : {
  10969. trigger: 'axis'
  10970. },
  10971. toolbox: {
  10972. show : true,
  10973. feature : {
  10974. mark : {show: true},
  10975. dataView : {show: true, readOnly: false},
  10976. magicType : {show: true, type: ['line', 'bar']},
  10977. restore : {show: true},
  10978. saveAsImage : {show: true}
  10979. }
  10980. },
  10981. calculable : true,
  10982. xAxis : [
  10983. {
  10984. type : 'category',
  10985. data : ypsz
  10986. }
  10987. ],
  10988. yAxis : [
  10989. {
  10990. type : 'value'
  10991. }
  10992. ],
  10993. series : [
  10994. {
  10995. name:'金额',
  10996. type:'bar',
  10997. data:jesz,
  10998. markPoint : {
  10999. data : [
  11000. {type : 'max', name: '最大值'},
  11001. {type : 'min', name: '最小值'}
  11002. ]
  11003. },
  11004. markLine : {
  11005. data : [
  11006. {type : 'average', name: '平均值'}
  11007. ]
  11008. }
  11009. }
  11010. ]
  11011. };
  11012. myChart.setOption(option);
  11013. }
  11014. );
  11015. }
  11016. ----------------------------------- SOURCE END -------------------------------------
  11017. !STACK 0
  11018. java.lang.NullPointerException
  11019. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11020. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11021. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11022. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11023. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11024. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11025. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11026. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11027. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11028. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11029. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11030. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11031. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11032. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11033. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11034. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11035. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11036. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11037. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11038. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11039. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11040. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11041. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11042. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11043. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11044. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11045. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11046. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11047. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11048. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11049. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11050. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11051. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11052. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11053. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11054. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11055. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11056. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11057. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11058. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11059. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11060. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11061. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11062. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11063. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11064. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11065. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11066. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11067. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11068. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11069. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11070. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11071. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11072. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11073. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11074. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11075. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11076. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11077. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11078. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11079. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11080. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11081. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11082. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11083. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11084. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11085. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11086. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11087. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11088. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11089. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11090. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11091. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11092. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11093. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11094. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11095. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11096. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11097. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11098. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11099. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11100. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11101. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11102. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11103. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11104. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:25:46.924
  11105. !MESSAGE java.lang.NullPointerException
  11106. !STACK 1
  11107. JavaScript Model Exception: java.lang.NullPointerException
  11108. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  11109. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11110. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11111. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11112. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11113. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11114. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11115. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11116. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11117. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11118. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11119. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11120. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11121. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11122. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11123. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11124. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11125. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11126. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11127. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11128. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11129. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11130. Caused by: java.lang.NullPointerException
  11131. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11132. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11133. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11134. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11135. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11136. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11137. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11138. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11139. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11140. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11141. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11142. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11143. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11144. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11145. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11146. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11147. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11148. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11149. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11150. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11151. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11152. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11153. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11154. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11155. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11156. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11157. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11158. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11159. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11160. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11161. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11162. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11163. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11164. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11165. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11166. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11167. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11168. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11169. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11170. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11171. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11172. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11173. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11174. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11175. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11176. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11177. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11178. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11179. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11180. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11181. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11182. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11183. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11184. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11185. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11186. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11187. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11188. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11189. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11190. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11191. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11192. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11193. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11194. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11195. ... 21 more
  11196. Caused by: java.lang.NullPointerException
  11197. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11198. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11199. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11200. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11201. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11202. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11203. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11204. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11205. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11206. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11207. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11208. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11209. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11210. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11211. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11212. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11213. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11214. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11215. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11216. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11217. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11218. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11219. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11220. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11221. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11222. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11223. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11224. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11225. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11226. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11227. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11228. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11229. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11230. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11231. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11232. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11233. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11234. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11235. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11236. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11237. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11238. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11239. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11240. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11241. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11242. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11243. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11244. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11245. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11246. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11247. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11248. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11249. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11250. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11251. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11252. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11253. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11254. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11255. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11256. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11257. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11258. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11259. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11260. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11261. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11262. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11263. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11264. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11265. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11266. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11267. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11268. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11269. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11270. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11271. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11272. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11273. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11274. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11275. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11276. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11277. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11278. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11279. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11280. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11281. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11282. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:25:46.924
  11283. !MESSAGE java.lang.NullPointerException
  11284. !STACK 0
  11285. java.lang.NullPointerException
  11286. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11287. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11288. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11289. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11290. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11291. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11292. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11293. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11294. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11295. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11296. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11297. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11298. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11299. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11300. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11301. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11302. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11303. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11304. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11305. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11306. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11307. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11308. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11309. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11310. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11311. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11312. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11313. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11314. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11315. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11316. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11317. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11318. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11319. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11320. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11321. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11322. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11323. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11324. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11325. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11326. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11327. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11328. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11329. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11330. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11331. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11332. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11333. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11334. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11335. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11336. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11337. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11338. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11339. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11340. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11341. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11342. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11343. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11344. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11345. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11346. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11347. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11348. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11349. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11350. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11351. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11352. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11353. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11354. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11355. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11356. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11357. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11358. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11359. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11360. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11361. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11362. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11363. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11364. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11365. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11366. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11367. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11368. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11369. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11370. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11371. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:25:52.745
  11372. !MESSAGE Exception occurred during problem detection:
  11373. ----------------------------------- SOURCE BEGIN -------------------------------------
  11374. (function(){search();})();
  11375. (function(){WdatePicker();})();
  11376. (function(){WdatePicker();})();
  11377. (function(){Data.get();})();
  11378. var Data = {
  11379. "get" : function(){
  11380. var tip = layer.load(2);
  11381. var url = "listAjax.do";
  11382. $.ajax({
  11383. "url" : url,
  11384. "data" : {
  11385. "departmentId" : $("#departmentId").val(),
  11386. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  11387. "jzh" : $("#jzh").val(),
  11388. "begDate" : $("#dateBegin").val(),
  11389. "endDate" : $("#dateEnd").val(),
  11390. "searchKey" : $("#searchKey").val()
  11391. },
  11392. "type" : "POST",
  11393. "dataType" : "json",
  11394. "async" : true,
  11395. "success" : function(data) {
  11396. if(data != null && data != ""){
  11397. var html = "";
  11398. var sum =0;
  11399. var ypsz = new Array();
  11400. var jesz =new Array();
  11401. var tjrq="";
  11402. for(var i = 0; i < data.length; i++){
  11403. var index = i + 1;
  11404. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  11405. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  11406. var patient_name = data[i].XM == null ? "" : data[i].XM;
  11407. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  11408. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  11409. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  11410. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  11411. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  11412. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  11413. sum = sum +sum_total;
  11414. html += "_$ta";
  11415. html += "_$tag____________" + index + "_$tag";
  11416. html += "_$tag____________" + zyh + "_$tag";
  11417. html += "_$tag____________" + jzh + "_$tag";
  11418. html += "_$tag____________" + patient_name + "_$tag";
  11419. html += "_$tag____________" + item_id + "_$tag";
  11420. html += "_$tag____________" + item_cnname + "_$tag";
  11421. html += "_$tag____________" + medcftype_name + "_$tag";
  11422. html += "_$tag____________" + jsrq + "_$tag";
  11423. html += "_$tag____________" + sum_total +"_$tag";
  11424. html += "_$tag____________" + fempname + "_$tag";
  11425. html += "_$tag";
  11426. ypsz[i]=item_cnname;
  11427. jesz[i]=sum_total;
  11428. }
  11429. html += "_$ta";
  11430. html += "_$tag______________$tag";
  11431. html += "_$tag______________$tag";
  11432. html += "_$tag______________$tag";
  11433. html += "_$tag______________$tag";
  11434. html += "_$tag______________$tag";
  11435. html += "_$tag______________$tag";
  11436. html += "_$tag______________$tag";
  11437. html += "_$tag_____________总计_$tag";
  11438. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  11439. html += "_$tag______________$tag";
  11440. html += "_$tag";
  11441. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  11442. showpictab(ypsz,jesz,tjrq);
  11443. $("#dataTable").html(html);
  11444. }
  11445. },
  11446. "complete": function(){
  11447. layer.close(tip);
  11448. }
  11449. });
  11450. }
  11451. }
  11452. function search(){
  11453. $("#form").submit();
  11454. }
  11455. Date.prototype.Format = function (fmt) {
  11456. var o = {
  11457. "M+": this.getMonth() + 1, //月份
  11458. "d+": this.getDate(), //日
  11459. "h+": this.getHours(), //小时
  11460. "m+": this.getMinutes(), //分
  11461. "s+": this.getSeconds(), //秒
  11462. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  11463. "S": this.getMilliseconds() //毫秒
  11464. };
  11465. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  11466. for (var k in o)
  11467. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  11468. return fmt;
  11469. }
  11470. function showpictab(ypsz,jesz,tjrq){
  11471. require.config({
  11472. paths: {
  11473. echarts: '/zhcx/js/dist'
  11474. }
  11475. });
  11476. require(
  11477. [
  11478. 'echarts',
  11479. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  11480. 'echarts/chart/bar'
  11481. ],
  11482. function (ec) {
  11483. var myChart = ec.init(document.getElementById('main'));
  11484. var option = {
  11485. title : {
  11486. text: '住院医生病人费用统计报表',
  11487. subtext: tjrq
  11488. },
  11489. tooltip : {
  11490. trigger: 'axis'
  11491. },
  11492. toolbox: {
  11493. show : true,
  11494. feature : {
  11495. mark : {show: true},
  11496. dataView : {show: true, readOnly: false},
  11497. magicType : {show: true, type: ['line', 'bar']},
  11498. restore : {show: true},
  11499. saveAsImage : {show: true}
  11500. }
  11501. },
  11502. calculable : true,
  11503. xAxis : [
  11504. {
  11505. type : 'category',
  11506. data : ypsz
  11507. }
  11508. ],
  11509. yAxis : [
  11510. {
  11511. type : 'value'
  11512. }
  11513. ],
  11514. series : [
  11515. {
  11516. name:'金额',
  11517. type:'bar',
  11518. data:jesz,
  11519. markPoint : {
  11520. data : [
  11521. {type : 'max', name: '最大值'},
  11522. {type : 'min', name: '最小值'}
  11523. ]
  11524. },
  11525. markLine : {
  11526. data : [
  11527. {type : 'average', name: '平均值'}
  11528. ]
  11529. }
  11530. }
  11531. ]
  11532. };
  11533. myChart.setOption(option);
  11534. }
  11535. );
  11536. }
  11537. ----------------------------------- SOURCE END -------------------------------------
  11538. !STACK 0
  11539. java.lang.NullPointerException
  11540. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11541. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11542. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11543. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11544. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11545. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11546. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11547. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11548. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11549. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11550. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11551. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11552. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11553. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11554. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11555. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11556. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11557. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11558. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11559. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11560. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11561. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11562. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11563. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11564. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11565. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11566. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11567. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11568. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11569. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11570. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11571. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11572. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11573. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11574. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11575. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11576. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11577. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11578. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11579. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11580. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11581. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11582. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11583. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11584. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11585. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11586. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11587. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11588. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11589. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11590. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11591. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11592. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11593. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11594. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11595. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11596. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11597. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11598. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11599. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11600. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11601. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11602. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11603. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11604. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11605. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11606. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11607. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11608. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11609. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11610. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11611. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11612. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11613. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11614. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11615. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11616. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11617. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11618. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11619. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11620. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11621. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11622. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11623. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11624. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11625. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:25:52.746
  11626. !MESSAGE java.lang.NullPointerException
  11627. !STACK 1
  11628. JavaScript Model Exception: java.lang.NullPointerException
  11629. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  11630. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11631. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11632. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11633. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11634. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11635. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11636. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11637. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11638. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11639. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11640. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11641. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11642. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11643. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11644. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11645. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11646. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11647. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11648. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11649. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11650. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11651. Caused by: java.lang.NullPointerException
  11652. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11653. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11654. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11655. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11656. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11657. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11658. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11659. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11660. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11661. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11662. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11663. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11664. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11665. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11666. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11667. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11668. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11669. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11670. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11671. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11672. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11673. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11674. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11675. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11676. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11677. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11678. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11679. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11680. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11681. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11682. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11683. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11684. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11685. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11686. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11687. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11688. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11689. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11690. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11691. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11692. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11693. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11694. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11695. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11696. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11697. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11698. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11699. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11700. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11701. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11702. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11703. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11704. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11705. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11706. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11707. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11708. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11709. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11710. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11711. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11712. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11713. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11714. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11715. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11716. ... 21 more
  11717. Caused by: java.lang.NullPointerException
  11718. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11719. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11720. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11721. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11722. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11723. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11724. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11725. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11726. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11727. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11728. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11729. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11730. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11731. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11732. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11733. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11734. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11735. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11736. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11737. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11738. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11739. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11740. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11741. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11742. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11743. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11744. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11745. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11746. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11747. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11748. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11749. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11750. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11751. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11752. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11753. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11754. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11755. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11756. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11757. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11758. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11759. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11760. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11761. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11762. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11763. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11764. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11765. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11766. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11767. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11768. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11769. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11770. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11771. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11772. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11773. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11774. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11775. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11776. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11777. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11778. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11779. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11780. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11781. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11782. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11783. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11784. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11785. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11786. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11787. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11788. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11789. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11790. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11791. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11792. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11793. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11794. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11795. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11796. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11797. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11798. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11799. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11800. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11801. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11802. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11803. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:25:52.747
  11804. !MESSAGE java.lang.NullPointerException
  11805. !STACK 0
  11806. java.lang.NullPointerException
  11807. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11808. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11809. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11810. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11811. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11812. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11813. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11814. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11815. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11816. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11817. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11818. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11819. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11820. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11821. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11822. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11823. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11824. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11825. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11826. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11827. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11828. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11829. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11830. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11831. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11832. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11833. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11834. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11835. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11836. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11837. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11838. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11839. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11840. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11841. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11842. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11843. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11844. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11845. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11846. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11847. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11848. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11849. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11850. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11851. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11852. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11853. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11854. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11855. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11856. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11857. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11858. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11859. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11860. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11861. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11862. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11863. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11864. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11865. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11866. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11867. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11868. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11869. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11870. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11871. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11872. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11873. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11874. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11875. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11876. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11877. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11878. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11879. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11880. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11881. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11882. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11883. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11884. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11885. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11886. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11887. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11888. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11889. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11890. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11891. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11892. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:44.188
  11893. !MESSAGE Exception occurred during problem detection:
  11894. ----------------------------------- SOURCE BEGIN -------------------------------------
  11895. (function(){search();})();
  11896. (function(){WdatePicker();})();
  11897. (function(){WdatePicker();})();
  11898. (function(){Data.get();})();
  11899. var Data = {
  11900. "get" : function(){
  11901. var tip = layer.load(2);
  11902. var url = "listAjax.do";
  11903. $.ajax({
  11904. "url" : url,
  11905. "data" : {
  11906. "departmentId" : $("#departmentId").val(),
  11907. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  11908. "jzh" : $("#jzh").val(),
  11909. "begDate" : $("#dateBegin").val(),
  11910. "endDate" : $("#dateEnd").val(),
  11911. "searchKey" : $("#searchKey").val()
  11912. },
  11913. "type" : "POST",
  11914. "dataType" : "json",
  11915. "async" : true,
  11916. "success" : function(data) {
  11917. if(data != null && data != ""){
  11918. var html = "";
  11919. var sum =0;
  11920. var ypsz = new Array();
  11921. var jesz =new Array();
  11922. var tjrq="";
  11923. for(var i = 0; i < data.length; i++){
  11924. var index = i + 1;
  11925. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  11926. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  11927. var patient_name = data[i].XM == null ? "" : data[i].XM;
  11928. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  11929. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  11930. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  11931. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  11932. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  11933. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  11934. sum = sum +sum_total;
  11935. html += "_$ta";
  11936. html += "_$tag____________" + index + "_$tag";
  11937. html += "_$tag____________" + zyh + "_$tag";
  11938. html += "_$tag____________" + jzh + "_$tag";
  11939. html += "_$tag____________" + patient_name + "_$tag";
  11940. html += "_$tag____________" + item_id + "_$tag";
  11941. html += "_$tag____________" + item_cnname + "_$tag";
  11942. html += "_$tag____________" + medcftype_name + "_$tag";
  11943. html += "_$tag____________" + jsrq + "_$tag";
  11944. html += "_$tag____________" + sum_total +"_$tag";
  11945. html += "_$tag____________" + fempname + "_$tag";
  11946. html += "_$tag";
  11947. ypsz[i]=item_cnname;
  11948. jesz[i]=sum_total;
  11949. }
  11950. html += "_$ta";
  11951. html += "_$tag______________$tag";
  11952. html += "_$tag______________$tag";
  11953. html += "_$tag______________$tag";
  11954. html += "_$tag______________$tag";
  11955. html += "_$tag______________$tag";
  11956. html += "_$tag______________$tag";
  11957. html += "_$tag______________$tag";
  11958. html += "_$tag_____________总计_$tag";
  11959. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  11960. html += "_$tag______________$tag";
  11961. html += "_$tag";
  11962. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  11963. showpictab(ypsz,jesz,tjrq);
  11964. $("#dataTable").html(html);
  11965. }
  11966. },
  11967. "complete": function(){
  11968. layer.close(tip);
  11969. }
  11970. });
  11971. }
  11972. }
  11973. function search(){
  11974. $("#form").submit();
  11975. }
  11976. Date.prototype.Format = function (fmt) {
  11977. var o = {
  11978. "M+": this.getMonth() + 1, //月份
  11979. "d+": this.getDate(), //日
  11980. "h+": this.getHours(), //小时
  11981. "m+": this.getMinutes(), //分
  11982. "s+": this.getSeconds(), //秒
  11983. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  11984. "S": this.getMilliseconds() //毫秒
  11985. };
  11986. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  11987. for (var k in o)
  11988. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  11989. return fmt;
  11990. }
  11991. function showpictab(ypsz,jesz,tjrq){
  11992. require.config({
  11993. paths: {
  11994. echarts: '/zhcx/js/dist'
  11995. }
  11996. });
  11997. require(
  11998. [
  11999. 'echarts',
  12000. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  12001. 'echarts/chart/bar'
  12002. ],
  12003. function (ec) {
  12004. var myChart = ec.init(document.getElementById('main'));
  12005. var option = {
  12006. title : {
  12007. text: '住院医生病人费用统计报表',
  12008. subtext: tjrq
  12009. },
  12010. tooltip : {
  12011. trigger: 'axis'
  12012. },
  12013. toolbox: {
  12014. show : true,
  12015. feature : {
  12016. mark : {show: true},
  12017. dataView : {show: true, readOnly: false},
  12018. magicType : {show: true, type: ['line', 'bar']},
  12019. restore : {show: true},
  12020. saveAsImage : {show: true}
  12021. }
  12022. },
  12023. calculable : true,
  12024. xAxis : [
  12025. {
  12026. type : 'category',
  12027. data : ypsz
  12028. }
  12029. ],
  12030. yAxis : [
  12031. {
  12032. type : 'value'
  12033. }
  12034. ],
  12035. series : [
  12036. {
  12037. name:'金额',
  12038. type:'bar',
  12039. data:jesz,
  12040. markPoint : {
  12041. data : [
  12042. {type : 'max', name: '最大值'},
  12043. {type : 'min', name: '最小值'}
  12044. ]
  12045. },
  12046. markLine : {
  12047. data : [
  12048. {type : 'average', name: '平均值'}
  12049. ]
  12050. }
  12051. }
  12052. ]
  12053. };
  12054. myChart.setOption(option);
  12055. }
  12056. );
  12057. }
  12058. ----------------------------------- SOURCE END -------------------------------------
  12059. !STACK 0
  12060. java.lang.NullPointerException
  12061. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12062. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12063. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12064. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12065. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12066. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12067. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12068. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12069. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12070. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12071. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12072. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12073. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12074. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12075. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12076. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12077. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12078. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12079. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12080. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12081. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12082. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12083. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12084. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12085. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12086. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12087. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12088. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12089. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12090. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12091. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12092. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12093. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12094. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12095. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12096. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12097. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12098. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12099. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12100. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12101. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12102. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12103. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12104. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12105. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12106. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12107. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12108. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12109. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12110. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12111. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12112. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12113. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12114. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12115. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12116. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12117. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12118. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12119. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12120. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12121. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12122. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  12123. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  12124. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  12125. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  12126. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  12127. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  12128. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  12129. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  12130. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  12131. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  12132. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  12133. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  12134. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  12135. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  12136. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  12137. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  12138. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  12139. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  12140. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  12141. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  12142. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  12143. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:44.218
  12144. !MESSAGE Error while processing working copy
  12145. !STACK 1
  12146. JavaScript Model Exception: java.lang.NullPointerException
  12147. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  12148. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  12149. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  12150. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  12151. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  12152. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  12153. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  12154. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  12155. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  12156. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  12157. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  12158. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  12159. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  12160. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  12161. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  12162. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  12163. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  12164. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  12165. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  12166. Caused by: java.lang.NullPointerException
  12167. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12168. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12169. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12170. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12171. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12172. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12173. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12174. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12175. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12176. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12177. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12178. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12179. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12180. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12181. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12182. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12183. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12184. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12185. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12186. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12187. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12188. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12189. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12190. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12191. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12192. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12193. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12194. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12195. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12196. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12197. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12198. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12199. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12200. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12201. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12202. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12203. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12204. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12205. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12206. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12207. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12208. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12209. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12210. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12211. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12212. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12213. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12214. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12215. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12216. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12217. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12218. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12219. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12220. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12221. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12222. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12223. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12224. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12225. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12226. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12227. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12228. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  12229. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  12230. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  12231. ... 18 more
  12232. Caused by: java.lang.NullPointerException
  12233. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12234. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12235. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12236. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12237. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12238. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12239. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12240. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12241. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12242. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12243. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12244. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12245. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12246. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12247. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12248. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12249. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12250. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12251. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12252. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12253. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12254. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12255. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12256. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12257. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12258. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12259. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12260. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12261. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12262. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12263. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12264. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12265. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12266. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12267. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12268. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12269. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12270. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12271. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12272. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12273. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12274. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12275. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12276. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12277. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12278. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12279. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12280. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12281. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12282. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12283. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12284. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12285. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12286. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12287. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12288. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12289. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12290. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12291. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12292. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12293. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12294. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  12295. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  12296. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  12297. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  12298. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  12299. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  12300. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  12301. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  12302. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  12303. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  12304. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  12305. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  12306. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  12307. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  12308. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  12309. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  12310. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  12311. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  12312. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  12313. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  12314. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  12315. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:31:44.218
  12316. !MESSAGE java.lang.NullPointerException
  12317. !STACK 0
  12318. java.lang.NullPointerException
  12319. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12320. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12321. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12322. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12323. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12324. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12325. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12326. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12327. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12328. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12329. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12330. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12331. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12332. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12333. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12334. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12335. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12336. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12337. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12338. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12339. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12340. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12341. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12342. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12343. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12344. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12345. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12346. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12347. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12348. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12349. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12350. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12351. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12352. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12353. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12354. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12355. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12356. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12357. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12358. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12359. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12360. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12361. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12362. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12363. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12364. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12365. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12366. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12367. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12368. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12369. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12370. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12371. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12372. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12373. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12374. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12375. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12376. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12377. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12378. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12379. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12380. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  12381. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  12382. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  12383. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  12384. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  12385. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  12386. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  12387. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  12388. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  12389. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  12390. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  12391. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  12392. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  12393. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  12394. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  12395. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  12396. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  12397. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  12398. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  12399. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  12400. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  12401. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:57.132
  12402. !MESSAGE Exception occurred during problem detection:
  12403. ----------------------------------- SOURCE BEGIN -------------------------------------
  12404. (function(){search();})();
  12405. (function(){WdatePicker();})();
  12406. (function(){WdatePicker();})();
  12407. (function(){Data.get();})();
  12408. var Data = {
  12409. "get" : function(){
  12410. var tip = layer.load(2);
  12411. var url = "listAjax.do";
  12412. $.ajax({
  12413. "url" : url,
  12414. "data" : {
  12415. "departmentId" : $("#departmentId").val(),
  12416. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  12417. "jzh" : $("#jzh").val(),
  12418. "begDate" : $("#dateBegin").val(),
  12419. "endDate" : $("#dateEnd").val(),
  12420. "searchKey" : $("#searchKey").val()
  12421. },
  12422. "type" : "POST",
  12423. "dataType" : "json",
  12424. "async" : true,
  12425. "success" : function(data) {
  12426. if(data != null && data != ""){
  12427. var html = "";
  12428. var sum =0;
  12429. var ypsz = new Array();
  12430. var jesz =new Array();
  12431. var tjrq="";
  12432. for(var i = 0; i < data.length; i++){
  12433. var index = i + 1;
  12434. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  12435. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  12436. var patient_name = data[i].XM == null ? "" : data[i].XM;
  12437. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  12438. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  12439. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  12440. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  12441. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  12442. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  12443. sum = sum +sum_total;
  12444. html += "_$ta";
  12445. html += "_$tag____________" + index + "_$tag";
  12446. html += "_$tag____________" + zyh + "_$tag";
  12447. html += "_$tag____________" + jzh + "_$tag";
  12448. html += "_$tag____________" + patient_name + "_$tag";
  12449. html += "_$tag____________" + item_id + "_$tag";
  12450. html += "_$tag____________" + item_cnname + "_$tag";
  12451. html += "_$tag____________" + medcftype_name + "_$tag";
  12452. html += "_$tag____________" + jsrq + "_$tag";
  12453. html += "_$tag____________" + sum_total +"_$tag";
  12454. html += "_$tag____________" + fempname + "_$tag";
  12455. html += "_$tag";
  12456. ypsz[i]=item_cnname;
  12457. jesz[i]=sum_total;
  12458. }
  12459. html += "_$ta";
  12460. html += "_$tag______________$tag";
  12461. html += "_$tag______________$tag";
  12462. html += "_$tag______________$tag";
  12463. html += "_$tag______________$tag";
  12464. html += "_$tag______________$tag";
  12465. html += "_$tag______________$tag";
  12466. html += "_$tag______________$tag";
  12467. html += "_$tag_____________总计_$tag";
  12468. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  12469. html += "_$tag______________$tag";
  12470. html += "_$tag";
  12471. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  12472. showpictab(ypsz,jesz,tjrq);
  12473. $("#dataTable").html(html);
  12474. }
  12475. },
  12476. "complete": function(){
  12477. layer.close(tip);
  12478. }
  12479. });
  12480. }
  12481. }
  12482. function search(){
  12483. $("#form").submit();
  12484. }
  12485. Date.prototype.Format = function (fmt) {
  12486. var o = {
  12487. "M+": this.getMonth() + 1, //月份
  12488. "d+": this.getDate(), //日
  12489. "h+": this.getHours(), //小时
  12490. "m+": this.getMinutes(), //分
  12491. "s+": this.getSeconds(), //秒
  12492. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  12493. "S": this.getMilliseconds() //毫秒
  12494. };
  12495. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  12496. for (var k in o)
  12497. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  12498. return fmt;
  12499. }
  12500. function showpictab(ypsz,jesz,tjrq){
  12501. require.config({
  12502. paths: {
  12503. echarts: '/zhcx/js/dist'
  12504. }
  12505. });
  12506. require(
  12507. [
  12508. 'echarts',
  12509. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  12510. 'echarts/chart/bar'
  12511. ],
  12512. function (ec) {
  12513. var myChart = ec.init(document.getElementById('main'));
  12514. var option = {
  12515. title : {
  12516. text: '住院医生病人费用统计报表',
  12517. subtext: tjrq
  12518. },
  12519. tooltip : {
  12520. trigger: 'axis'
  12521. },
  12522. toolbox: {
  12523. show : true,
  12524. feature : {
  12525. mark : {show: true},
  12526. dataView : {show: true, readOnly: false},
  12527. magicType : {show: true, type: ['line', 'bar']},
  12528. restore : {show: true},
  12529. saveAsImage : {show: true}
  12530. }
  12531. },
  12532. calculable : true,
  12533. xAxis : [
  12534. {
  12535. type : 'category',
  12536. data : ypsz
  12537. }
  12538. ],
  12539. yAxis : [
  12540. {
  12541. type : 'value'
  12542. }
  12543. ],
  12544. series : [
  12545. {
  12546. name:'金额',
  12547. type:'bar',
  12548. data:jesz,
  12549. markPoint : {
  12550. data : [
  12551. {type : 'max', name: '最大值'},
  12552. {type : 'min', name: '最小值'}
  12553. ]
  12554. },
  12555. markLine : {
  12556. data : [
  12557. {type : 'average', name: '平均值'}
  12558. ]
  12559. }
  12560. }
  12561. ]
  12562. };
  12563. myChart.setOption(option);
  12564. }
  12565. );
  12566. }
  12567. ----------------------------------- SOURCE END -------------------------------------
  12568. !STACK 0
  12569. java.lang.NullPointerException
  12570. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:57.132
  12571. !MESSAGE Error while processing working copy
  12572. !STACK 1
  12573. JavaScript Model Exception: java.lang.NullPointerException
  12574. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  12575. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  12576. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  12577. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  12578. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  12579. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  12580. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  12581. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  12582. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  12583. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  12584. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  12585. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  12586. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  12587. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  12588. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  12589. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  12590. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  12591. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  12592. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  12593. Caused by: java.lang.NullPointerException
  12594. Caused by: java.lang.NullPointerException
  12595. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:31:57.133
  12596. !MESSAGE java.lang.NullPointerException
  12597. !STACK 0
  12598. java.lang.NullPointerException
  12599. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:31:58.341
  12600. !MESSAGE Exception occurred during problem detection:
  12601. ----------------------------------- SOURCE BEGIN -------------------------------------
  12602. (function(){search();})();
  12603. (function(){WdatePicker();})();
  12604. (function(){WdatePicker();})();
  12605. (function(){Data.get();})();
  12606. var Data = {
  12607. "get" : function(){
  12608. var tip = layer.load(2);
  12609. var url = "listAjax.do";
  12610. $.ajax({
  12611. "url" : url,
  12612. "data" : {
  12613. "departmentId" : $("#departmentId").val(),
  12614. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  12615. "jzh" : $("#jzh").val(),
  12616. "begDate" : $("#dateBegin").val(),
  12617. "endDate" : $("#dateEnd").val(),
  12618. "searchKey" : $("#searchKey").val()
  12619. },
  12620. "type" : "POST",
  12621. "dataType" : "json",
  12622. "async" : true,
  12623. "success" : function(data) {
  12624. if(data != null && data != ""){
  12625. var html = "";
  12626. var sum =0;
  12627. var ypsz = new Array();
  12628. var jesz =new Array();
  12629. var tjrq="";
  12630. for(var i = 0; i < data.length; i++){
  12631. var index = i + 1;
  12632. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  12633. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  12634. var patient_name = data[i].XM == null ? "" : data[i].XM;
  12635. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  12636. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  12637. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  12638. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  12639. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  12640. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  12641. sum = sum +sum_total;
  12642. html += "_$ta";
  12643. html += "_$tag____________" + index + "_$tag";
  12644. html += "_$tag____________" + zyh + "_$tag";
  12645. html += "_$tag____________" + jzh + "_$tag";
  12646. html += "_$tag____________" + patient_name + "_$tag";
  12647. html += "_$tag____________" + item_id + "_$tag";
  12648. html += "_$tag____________" + item_cnname + "_$tag";
  12649. html += "_$tag____________" + medcftype_name + "_$tag";
  12650. html += "_$tag____________" + jsrq + "_$tag";
  12651. html += "_$tag____________" + sum_total +"_$tag";
  12652. html += "_$tag____________" + fempname + "_$tag";
  12653. html += "_$tag";
  12654. ypsz[i]=item_cnname;
  12655. jesz[i]=sum_total;
  12656. }
  12657. html += "_$ta";
  12658. html += "_$tag______________$tag";
  12659. html += "_$tag______________$tag";
  12660. html += "_$tag______________$tag";
  12661. html += "_$tag______________$tag";
  12662. html += "_$tag______________$tag";
  12663. html += "_$tag______________$tag";
  12664. html += "_$tag______________$tag";
  12665. html += "_$tag_____________总计_$tag";
  12666. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  12667. html += "_$tag______________$tag";
  12668. html += "_$tag";
  12669. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  12670. showpictab(ypsz,jesz,tjrq);
  12671. $("#dataTable").html(html);
  12672. }
  12673. },
  12674. "complete": function(){
  12675. layer.close(tip);
  12676. }
  12677. });
  12678. }
  12679. }
  12680. function search(){
  12681. $("#form").submit();
  12682. }
  12683. Date.prototype.Format = function (fmt) {
  12684. var o = {
  12685. "M+": this.getMonth() + 1, //月份
  12686. "d+": this.getDate(), //日
  12687. "h+": this.getHours(), //小时
  12688. "m+": this.getMinutes(), //分
  12689. "s+": this.getSeconds(), //秒
  12690. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  12691. "S": this.getMilliseconds() //毫秒
  12692. };
  12693. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  12694. for (var k in o)
  12695. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  12696. return fmt;
  12697. }
  12698. function showpictab(ypsz,jesz,tjrq){
  12699. require.config({
  12700. paths: {
  12701. echarts: '/zhcx/js/dist'
  12702. }
  12703. });
  12704. require(
  12705. [
  12706. 'echarts',
  12707. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  12708. 'echarts/chart/bar'
  12709. ],
  12710. function (ec) {
  12711. var myChart = ec.init(document.getElementById('main'));
  12712. var option = {
  12713. title : {
  12714. text: '住院医生病人费用统计报表',
  12715. subtext: tjrq
  12716. },
  12717. tooltip : {
  12718. trigger: 'axis'
  12719. },
  12720. toolbox: {
  12721. show : true,
  12722. feature : {
  12723. mark : {show: true},
  12724. dataView : {show: true, readOnly: false},
  12725. magicType : {show: true, type: ['line', 'bar']},
  12726. restore : {show: true},
  12727. saveAsImage : {show: true}
  12728. }
  12729. },
  12730. calculable : true,
  12731. xAxis : [
  12732. {
  12733. type : 'category',
  12734. data : ypsz
  12735. }
  12736. ],
  12737. yAxis : [
  12738. {
  12739. type : 'value'
  12740. }
  12741. ],
  12742. series : [
  12743. {
  12744. name:'金额',
  12745. type:'bar',
  12746. data:jesz,
  12747. markPoint : {
  12748. data : [
  12749. {type : 'max', name: '最大值'},
  12750. {type : 'min', name: '最小值'}
  12751. ]
  12752. },
  12753. markLine : {
  12754. data : [
  12755. {type : 'average', name: '平均值'}
  12756. ]
  12757. }
  12758. }
  12759. ]
  12760. };
  12761. myChart.setOption(option);
  12762. }
  12763. );
  12764. }
  12765. ----------------------------------- SOURCE END -------------------------------------
  12766. !STACK 0
  12767. java.lang.NullPointerException
  12768. !ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:36:32.182
  12769. !MESSAGE Exception occurred during problem detection:
  12770. ----------------------------------- SOURCE BEGIN -------------------------------------
  12771. (function(){search();})();
  12772. (function(){WdatePicker();})();
  12773. (function(){WdatePicker();})();
  12774. (function(){Data.get();})();
  12775. var Data = {
  12776. "get" : function(){
  12777. var tip = layer.load(2);
  12778. var url = "listAjax.do";
  12779. $.ajax({
  12780. "url" : url,
  12781. "data" : {
  12782. "departmentId" : $("#departmentId").val(),
  12783. "patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
  12784. "jzh" : $("#jzh").val(),
  12785. "begDate" : $("#dateBegin").val(),
  12786. "endDate" : $("#dateEnd").val(),
  12787. "searchKey" : $("#searchKey").val()
  12788. },
  12789. "type" : "POST",
  12790. "dataType" : "json",
  12791. "async" : true,
  12792. "success" : function(data) {
  12793. if(data != null && data != ""){
  12794. var html = "";
  12795. var sum =0;
  12796. var ypsz = new Array();
  12797. var jesz =new Array();
  12798. var tjrq="";
  12799. for(var i = 0; i < data.length; i++){
  12800. var index = i + 1;
  12801. var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
  12802. var jzh = data[i].JZH == null ? "" : data[i].JZH;
  12803. var patient_name = data[i].XM == null ? "" : data[i].XM;
  12804. var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
  12805. var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
  12806. var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
  12807. var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
  12808. var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
  12809. var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
  12810. sum = sum +sum_total;
  12811. html += "_$ta";
  12812. html += "_$tag____________" + index + "_$tag";
  12813. html += "_$tag____________" + zyh + "_$tag";
  12814. html += "_$tag____________" + jzh + "_$tag";
  12815. html += "_$tag____________" + patient_name + "_$tag";
  12816. html += "_$tag____________" + item_id + "_$tag";
  12817. html += "_$tag____________" + item_cnname + "_$tag";
  12818. html += "_$tag____________" + medcftype_name + "_$tag";
  12819. html += "_$tag____________" + jsrq + "_$tag";
  12820. html += "_$tag____________" + sum_total +"_$tag";
  12821. html += "_$tag____________" + fempname + "_$tag";
  12822. html += "_$tag";
  12823. ypsz[i]=item_cnname;
  12824. jesz[i]=sum_total;
  12825. }
  12826. html += "_$ta";
  12827. html += "_$tag______________$tag";
  12828. html += "_$tag______________$tag";
  12829. html += "_$tag______________$tag";
  12830. html += "_$tag______________$tag";
  12831. html += "_$tag______________$tag";
  12832. html += "_$tag______________$tag";
  12833. html += "_$tag______________$tag";
  12834. html += "_$tag_____________总计_$tag";
  12835. html += "_$tag____________" + sum.toFixed(2) +"_$tag";
  12836. html += "_$tag______________$tag";
  12837. html += "_$tag";
  12838. tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
  12839. showpictab(ypsz,jesz,tjrq);
  12840. $("#dataTable").html(html);
  12841. }
  12842. },
  12843. "complete": function(){
  12844. layer.close(tip);
  12845. }
  12846. });
  12847. }
  12848. }
  12849. function search(){
  12850. $("#form").submit();
  12851. }
  12852. Date.prototype.Format = function (fmt) {
  12853. var o = {
  12854. "M+": this.getMonth() + 1, //月份
  12855. "d+": this.getDate(), //日
  12856. "h+": this.getHours(), //小时
  12857. "m+": this.getMinutes(), //分
  12858. "s+": this.getSeconds(), //秒
  12859. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  12860. "S": this.getMilliseconds() //毫秒
  12861. };
  12862. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  12863. for (var k in o)
  12864. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  12865. return fmt;
  12866. }
  12867. function showpictab(ypsz,jesz,tjrq){
  12868. require.config({
  12869. paths: {
  12870. echarts: '/zhcx/js/dist'
  12871. }
  12872. });
  12873. require(
  12874. [
  12875. 'echarts',
  12876. 'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
  12877. 'echarts/chart/bar'
  12878. ],
  12879. function (ec) {
  12880. var myChart = ec.init(document.getElementById('main'));
  12881. var option = {
  12882. title : {
  12883. text: '住院医生病人费用统计报表',
  12884. subtext: tjrq
  12885. },
  12886. tooltip : {
  12887. trigger: 'axis'
  12888. },
  12889. toolbox: {
  12890. show : true,
  12891. feature : {
  12892. mark : {show: true},
  12893. dataView : {show: true, readOnly: false},
  12894. magicType : {show: true, type: ['line', 'bar']},
  12895. restore : {show: true},
  12896. saveAsImage : {show: true}
  12897. }
  12898. },
  12899. calculable : true,
  12900. xAxis : [
  12901. {
  12902. type : 'category',
  12903. data : ypsz
  12904. }
  12905. ],
  12906. yAxis : [
  12907. {
  12908. type : 'value'
  12909. }
  12910. ],
  12911. series : [
  12912. {
  12913. name:'金额',
  12914. type:'bar',
  12915. data:jesz,
  12916. markPoint : {
  12917. data : [
  12918. {type : 'max', name: '最大值'},
  12919. {type : 'min', name: '最小值'}
  12920. ]
  12921. },
  12922. markLine : {
  12923. data : [
  12924. {type : 'average', name: '平均值'}
  12925. ]
  12926. }
  12927. }
  12928. ]
  12929. };
  12930. myChart.setOption(option);
  12931. }
  12932. );
  12933. }
  12934. ----------------------------------- SOURCE END -------------------------------------
  12935. !STACK 0
  12936. java.lang.NullPointerException