• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
author & internet detective
Posts: 40181
812
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic