This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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: 39530
776
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.
 
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!