• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Bug while posting message with BB code

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all !

I'm using JForum 2.1.4 with Tomcat 5 (on Linux Fedora Core 4) and PostgreSQL 8 database.

I've an error when I try to post (or preview) a message containing some BB code for example.

The error is :


Is someone can help me ?

Thanks !
[originally posted on jforum.net by david.wery]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like a weird problem:

The error message seems to indicate a problem with the regular expression used to detect "code" blocks, which happens suspiciously to be the first regular expression in the list.

I came to this from:...


However, the expression is correct and it can be compiled and used with java.util.regex package using JDK1.4, at least on my machine...

��What is your JDK version?

[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your post above, is the forum system (here) processing your "code" tags? It's hard to tell what you're having a problem with.

For example, is your problem happening when you try to process "code" segments with other bbcode segments contained within?

Maybe you could give us a detailed verbal description. I haven't had such issues myself, but perhaps I haven't "triggered" it yet.
[originally posted on jforum.net by fcgreg]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use a Fedore Core 4 with the default JVM installed...



Is it a possible cause of the problem ?
[originally posted on jforum.net by david.wery]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've installed the sun-jdk-1.5 and all seems to work perfectly now !!!

Thanks for your help !
[originally posted on jforum.net by david.wery]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good to hear. It might be it was a classpath conflict problem, so if you have time, you might want to check if you have old JDK installations lying around, just in case ;).
[originally posted on jforum.net by GreenEyed]
 
Look ma! I'm selling my stuff!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic