欢迎来到天天文库
浏览记录
ID:20371829
大小:364.44 KB
页数:5页
时间:2018-10-10
《theone仿真器问题集》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、1.infocom2006(完整版/切割版}在BubbleRap中無法正常執行,跑一個小時後/會在ConnectionUp=>...=〉CWindowCentrality的getGlobalCentrality中發生Nu11PointerException程式錯誤,如I、2525.378021:9.821/S2585.478557:8.931/S2645.679088:8.811/S2705.779571:8.041/S2765.780138:9.451/S2825.780682:9.061/S2885.881245:9.37
2、1/S2945.981741:8.251/S3006.082306:9.401/S3066.182953:101.7?1/S3126.183899:15.761/S3186.185493:26•561/S3246.187032:25.651/S3306.188572:25•661/S3366.289962:23.141/s3426.391118:19•251/s3486.392728:26.831/s3546.397807:84•641/s3606.3102666:80.981/s3666.3107190:75.401/s37
3、26.3112762:92.861/sExceptioninthread"nain"jaua.lang.NullPointerExceptionatrouting-community•CWindowCentrality-getGlobalCentralityatrouting.connunity.DistributedBubbleRap-getGiobalCentralityatrouting.connunit
4、y.DistributedBubbleRap.shouldSendMessageToHostatrouting.DecisionEngineRouter.cbangedConnection——corecoreatconconnectionUp5、face.java:235〉atinterfacesinpleBi*oadcastInterface.createConnectionatcore-DTNHost.forceConnectionatcore.World.update(World.java:179〉atui.DTNSinTextUI.run6、Sinatui.DTNSinUI.start在於:原本的CWindowCentrality的getGlobalCentrality中沒有做例外處理,修改後即4.for(Map.Entry7、Value())inttimePassed=(int)(timeNow-d.end)//ifwereachedtheendofthelastepoch,if(timePassed>CENTRALITY_TIME_WINDOW*Elbreak;DTNHosth=entry.getKey();for(Durationd:entry.getValue()){try{inttimePassed=(int)(timeNowd.end)//computetheepochthiscontactbelongstepoch=timePassed8、/CENTRALITYTIMEWINDOW//ifwereachedtheendofthelastepoch,weif(timePassed>CENTRALITYTIMEWINDOW*EPOCHbreak;//OnlyconsidereachnodeonceperepochS
5、face.java:235〉atinterfacesinpleBi*oadcastInterface.createConnectionatcore-DTNHost.forceConnectionatcore.World.update(World.java:179〉atui.DTNSinTextUI.run
6、Sinatui.DTNSinUI.start在於:原本的CWindowCentrality的getGlobalCentrality中沒有做例外處理,修改後即4.for(Map.Entry7、Value())inttimePassed=(int)(timeNow-d.end)//ifwereachedtheendofthelastepoch,if(timePassed>CENTRALITY_TIME_WINDOW*Elbreak;DTNHosth=entry.getKey();for(Durationd:entry.getValue()){try{inttimePassed=(int)(timeNowd.end)//computetheepochthiscontactbelongstepoch=timePassed8、/CENTRALITYTIMEWINDOW//ifwereachedtheendofthelastepoch,weif(timePassed>CENTRALITYTIMEWINDOW*EPOCHbreak;//OnlyconsidereachnodeonceperepochS
7、Value())inttimePassed=(int)(timeNow-d.end)//ifwereachedtheendofthelastepoch,if(timePassed>CENTRALITY_TIME_WINDOW*Elbreak;DTNHosth=entry.getKey();for(Durationd:entry.getValue()){try{inttimePassed=(int)(timeNowd.end)//computetheepochthiscontactbelongstepoch=timePassed
8、/CENTRALITYTIMEWINDOW//ifwereachedtheendofthelastepoch,weif(timePassed>CENTRALITYTIMEWINDOW*EPOCHbreak;//OnlyconsidereachnodeonceperepochS
此文档下载收益归作者所有