Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Server Side Error when viewing forum post

Symptom: Error message appears when viewing forum post:&nbsp; <a href="https://app.roll20.net/forum/post/3903170/ic-inter" rel="nofollow">https://app.roll20.net/forum/post/3903170/ic-inter</a>... Error Message Reads:&nbsp;NoMethodError: undefined method `gsub' for nil:NilClass Able to replicate in latest Chrome, Firefox, IE Appears to be HTTP 500 Server side ruby error.
1472843586
Gold
Forum Champion
Hi Dave. I think this happens when it is the last post on a Page, and it is about to start a new Page for the thread. If you want to find the actual post, try to find the thread that it comes from, and the post in question is probably the last post on the most recent page. I'll leave the thread open in case a Dev or anyone else has an answer.
Thanks for your quick reply Gold! Here is a little more detail: The thread that raises the error ( <a href="https://app.roll20.net/forum/post/3903170/ic-inter" rel="nofollow">https://app.roll20.net/forum/post/3903170/ic-inter</a>... ) is part of this campaign ( <a href="https://app.roll20.net/campaigns/details/620269" rel="nofollow">https://app.roll20.net/campaigns/details/620269</a>) The thread should have either 2 or 3 posts within it. I believe the error occurred on submitting the 3rd post. After that point, none of the campaign members are able to open the thread again. Is there a way to fix the thread? Or is there something we should avoid doing in the future to prevent this from occurring (possibly restricted or weird combination of characters)? Appreciate your help!
1472844803

Edited 1472844830
Gold
Forum Champion
If it's a campaign that does not have Public Access enabled, then I can't access to look at your links. It's throwing the same error as you described, when I click it. Since you said it's a thread with only 2-3 posts, my initial answer was probably wrong, because it would not be Paginating the thread for just 3 posts. I'll leave this thread open in hopes of someone else responding. I will also provide the standard troubleshooting steps to use if you would like to do some testing and generate a bug report that we can elevate to the Devs. --------------------- Could you please carefully work through the first three steps of our guide to Solving Technical Issues ? Step 1: Make sure to use the right browser Please check if these issues persist when using both Chrome and Firefox. Step 2: Ensure that there are no extensions/addons interfering with Roll20 Please disable all add-ons/extensions and anti-virus programs. Step 3: Clear your cache If none of the above succeeds, please thoroughly work through Step 4 . (Don't forget the complete Console Log!) Thank you!
Thanks Gold, I am able to replicate the error in latest Chrome and Firefox, with antivirus and extensions disabled. ---- Bug Report ---- Issue Description: Attempting to open a campaign post raises an HTTP 500 Server Side Ruby Error. The thread should have either 2 or 3 posts within it. I believe the error occurred on submitting the 3rd post. After that point, none of the campaign members are able to open the thread again. Thread:<a href="https://app.roll20.net/forum/post/3903170/ic-interrogating-poor-defensless-npcs" rel="nofollow">https://app.roll20.net/forum/post/3903170/ic-interrogating-poor-defensless-npcs</a> Campaign:&nbsp; <a href="https://app.roll20.net/campaigns/details/620269/-" rel="nofollow">https://app.roll20.net/campaigns/details/620269/-</a> Error:&nbsp;NoMethodError: undefined method `gsub' for nil:NilClass Steps to Replicate: 1) Attempt to open thread by clicking on:&nbsp; <a href="https://app.roll20.net/forum/post/3903170/ic-inter" rel="nofollow">https://app.roll20.net/forum/post/3903170/ic-inter</a>... Computer Settings: Chrome&nbsp; Version 53.0.2785.89 m Windows 7 - 64-bit Javascript Enabled Anti-Virus: McAfee (Verified issue still occurs when disabled) Browser Add-ons: None&nbsp; (Verified issue still occurs when in iconito-mode with all add-ons disabled) Console:
1472847145
Gold
Forum Champion
Thanks for the clear information Dave. A dev will come by to address this.
1472847659
Gid
Roll20 Team
Hi Dave! Can you tell me what the title is of the campaign that's giving you the forum posting issues and are you the GM of it?
1472916799

Edited 1472916813
Kristin, Just to chime in, I'm the GM of the game in question that Dave is talking about.&nbsp; He opened the trouble ticket on my behalf because when I attempted to post in this forum i got the same error message "Error: NoMethodError: undefined method `gsub' for nil:NilClass" The campaign in question is <a href="https://app.roll20.net/campaigns/details/620269/fo" rel="nofollow">https://app.roll20.net/campaigns/details/620269/fo</a>... With the title "Forgotten Realms" The thread is "IC - interrogating poor defenseless NPCs" As I believe I was the one that posted the reply that broke the thread, I will mention at the time I was using the Firefox Developer Edition, <a href="https://www.mozilla.org/en-US/firefox/developer/" rel="nofollow">https://www.mozilla.org/en-US/firefox/developer/</a> I don't know if that would matter.
1472924091
Gid
Roll20 Team
Thanks for posting that last puzzle piece, Erratic. Knowing the GM and campaign name makes it easier to pinpoint the thread in question that you and your party is struggling with. I'm getting the same issue on my end, so I'm putting together a ticket for the devs. My apologies for the inconvenience.
1473179137
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
This should be fixed. Let me know if you run into any issues.
Much Thanks Devs!