It's not a secret anymore!
The moose likes JForum and the fly likes Jforum An error has occurred.  For detailed error information, please see the HTML source code, and Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Jforum An error has occurred.  For detailed error information, please see the HTML source code, and " Watch "Jforum An error has occurred.  For detailed error information, please see the HTML source code, and " New topic
Author

Jforum An error has occurred. For detailed error information, please see the HTML source code, and

Ramakoti Goli
Greenhorn

Joined: Feb 26, 2013
Posts: 1
An error has occurred.

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

java.lang.NullPointerException

2013-02-26 12:50:12,936 ERROR [net.jforum.exceptions.ExceptionWriter] net.jforum.exceptions.ForumException: java.lang.reflect.InvocationTargetException
............
Caused by: java.lang.reflect.InvocationTargetException
... 32 more
Caused by: java.lang.NullPointerException
at net.jforum.view.forum.common.PostCommon.processSmilies(PostCommon.java:267)
at net.jforum.view.forum.common.PostCommon.prepareTextForDisplayExceptCodeTag(PostCommon.java:227)
at net.jforum.view.forum.common.PostCommon.processText(PostCommon.java:112)
at net.jforum.view.forum.common.PostCommon.preparePostForDisplay(PostCommon.java:97)
at net.jforum.view.forum.common.PostCommon.topicPosts(PostCommon.java:359)
at net.jforum.view.forum.PostAction.displayPost(PostAction.java:214)
at net.jforum.view.forum.PostAction.list(PostAction.java:157)
... 32 more

URL is: /forum/home-loans/xyz/3118.page?null

How to solve the above exception any idea?
Here Jforum2.18 and MySQL5.x database is used.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32494
    
214

THat line of code would fail if list of Smilies is null. Check the admin control panel to see if there are any smilies. And that they don't have null fields for that matter.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Jforum An error has occurred. For detailed error information, please see the HTML source code, and
 
It's not a secret anymore!