• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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]
 
No more fooling around. Read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic