Closed spl234 closed 8 months ago
@sketchplane23 Can you provide more information including error messages and your related codes?
for example,when I try to get and print "likedby",there is a null
@sketchplane23
What is this danmu? Can you System.out.println(danmu)
and show the result? Since there is no null likeBy
in the given data.
Besides, have you confirmed the correctness of your downloaded .ser
data file? Is this problem reproduceable in other computers?
Yes,this problem also happened in my computer,if we use System.out.println(danmu),it will print "DanmuRecord{likedBy=null}",we have determined that our .ser data file is the same with the sa in this morning.
@yzh0811 @sketchplane23 Although I cannot reproduce the bug, some SA also noticed that the printed objects may be null in asynchronous operations. However, they can execute their codes and successfully import data. You can check the database to see whether the import process is successful.
You mean we need to import the likeby no matter whether it is null or not?Because it may succeed?
you may try replacing all cases.xxx.parallelStream().forEach
to cases.xxx.forEach
in BenchmarkService (remove the parallel stream) to overcome the log-null issue for better bugging.
When I try to import data into "like Danmu" table, I need to use the "Likedby" attribute in "DanmuRecord". But while using "getLikedby()" method, It always give back a null value. What may cause this?