View Full Version : Preview Post throws Java Exception

11-15-2010, 02:04 AM
Thought you'd like to know, clicking preview post here in the forum post screen throws a java exception sometimes, but I'm not sure under what circumstances.

I clicked preview on my xml_parse() question and got an exception. Clicking preview here seems to work, however. For what it's worth.

12-29-2010, 12:26 PM
I am also getting same problem. :(
It seems that under following conditions 'Preview Post' is throwing exception :

1. Applying style such as bold/italic/underline/adding smiley to the message text.
2. Adding [code] and closing code tag to your message while posting code snippets.

Anyone having same issue and knowing the solution please reply.


01-09-2011, 04:14 PM
We're looking into this now.

01-10-2011, 04:17 PM
Please try to uncomment the lines as shown in this patch and tell me if this works for you.

diff --git a/includes/class_bbcode_alt.php b/includes/class_bbcode_alt.php
index 8da71b7..f37d58b 100755
--- a/includes/class_bbcode_alt.php
+++ b/includes/class_bbcode_alt.php
@@ -467,7 +467,7 @@ class vB_BbCodeParser_ImgCheck extends vB_BbCodeParser
if (isset($this->tag_list['option']["$tagname"]))
- $this->tag_list['option']["$tagname"]['callback'] = 'handle_unparsable';
+// $this->tag_list['option']["$tagname"]['callback'] = 'handle_unparsable';
@@ -476,7 +476,7 @@ class vB_BbCodeParser_ImgCheck extends vB_BbCodeParser
if (isset($this->tag_list['no_option']["$tagname"]))
- $this->tag_list['no_option']["$tagname"]['callback'] = 'handle_unparsable';
+// $this->tag_list['no_option']["$tagname"]['callback'] = 'handle_unparsable';