• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Cant post new message

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
whenever I post a new message on the forum the Exception.htm page is showing the same error

--------------------------------------------------------------------------------------------------------------------------------------------

An error has occurred.

For detailed error information, please see the HTML source code, and contact the forum Administrator.

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

------------------------------------------------------------------------------------------------------------------------------------------------

anyone can help plz? rafel?
[originally posted on jforum.net by shanyangqu]
 
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
Which JForum version and which message is that?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
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
the latest version, and the message is just the normal reply or quick reply
[originally posted on jforum.net by shanyangqu]
 
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
Thanks Rafael, I found the problem actually.

It's because we set the jforum link to "", in the SystemGlobal file.

when people trying to post a message, the watchlist notify function is trying to get the jforumLink for sending the email,

because jforum Link is "", so exception is thrown.

the reason we set the jforum URL to "", becasue the smilies pattern looks like



CONTEXT is jforum URL, and jforum has been deployed with out root application, we dont need the CONTEXT anymore, so set it to "".
[originally posted on jforum.net by shanyangqu]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic