0
Not a bug

Internal server error: / by zero

Les Kent 9 years ago updated by Tom 9 years ago 5
I'm getting this error now when trying to access the top level comics book page. Below is what it shows from the log file. This first seemed to have happened when I upgraded to 1.7.0 but when I went back to 1.6.0 it has the same problem. I also added new content around the same time so maybe that is related. 

20150102 03:40:26 [pool-2-thread-9] WARN com.ubooquity.f.f - Could not understand cookie header : gsp_left-pane_g_ctl00_media=520px; gsp_right-pane_g_ctl00_mediaCR=727px; ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE="YWRtaW46MTQyNjAxOTQ1MDI3ODowNjc5MTkwNTBlMzExZTUyMThlZDZiNzBkMzVmZTFlZA=="; player-61646d696e=1; SESSION-GUID=dgzaamu8c75h; fdfusionsessionid=+9A0thyELQHg801bc2VFpI95Pts=; snatched_view2=list; soon_view2=thumbs; suggestions_charts_menu_selected=suggestions; __utma=131919182.1564816495.1370233916.1382646165.1390937878.28; _ga=GA1.2.1564816495.1370233916
20150102 03:40:27 [pool-2-thread-12] WARN com.ubooquity.f.f - Could not understand cookie header : gsp_left-pane_g_ctl00_media=520px; gsp_right-pane_g_ctl00_mediaCR=727px; ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE="YWRtaW46MTQyNjAxOTQ1MDI3ODowNjc5MTkwNTBlMzExZTUyMThlZDZiNzBkMzVmZTFlZA=="; player-61646d696e=1; SESSION-GUID=dgzaamu8c75h; fdfusionsessionid=+9A0thyELQHg801bc2VFpI95Pts=; snatched_view2=list; soon_view2=thumbs; suggestions_charts_menu_selected=suggestions; __utma=131919182.1564816495.1370233916.1382646165.1390937878.28; _ga=GA1.2.1564816495.1370233916
20150102 03:40:27 [pool-2-thread-12] ERROR com.ubooquity.b - Request processing failed
java.lang.ArithmeticException: / by zero

at com.ubooquity.provider.comic.b.a(SourceFile:696) ~[Ubooquity.jar:1.6.0]

at com.ubooquity.provider.comic.b.a(SourceFile:329) ~[Ubooquity.jar:1.6.0]

at com.ubooquity.provider.comic.b.a(SourceFile:205) ~[Ubooquity.jar:1.6.0]

at com.ubooquity.b.a(SourceFile:287) [Ubooquity.jar:1.6.0]

at com.ubooquity.b.a(SourceFile:53) [Ubooquity.jar:1.6.0]

at com.ubooquity.b$1.a(SourceFile:119) [Ubooquity.jar:1.6.0]

at com.ubooquity.e.d.a(SourceFile:287) [Ubooquity.jar:1.6.0]

at com.ubooquity.e.d$f.a(SourceFile:807) [Ubooquity.jar:1.6.0]

at com.ubooquity.e.d$1$1.run(SourceFile:210) [Ubooquity.jar:1.6.0]

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_25]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_25]

at java.lang.Thread.run(Unknown Source) [na:1.8.0_25]

Under review
Seems like Ubooquity receives a cookie that was not generated by itself. 
Could you try to clear the cookies in your browser for Ubooquity's IP (the one you use to access your server) and check if the error is still there ?
This error happens in both Chrome and IE before and after clearing cookies. Any other suggestions?
Could you check in your preferences that the number of comics to display on each page is not set to "0" ?
That was it. I changed it at some point to avoid pagination along with other changes of adding users/security. I guess I'm just used to zero being how you turn off a feature and did not connect it to the error. Thanks.