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

NullPointerException at net.jforum.view.forum.ForumAction.list

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using jforum at http://host.north.kz/jforum since 2005 (v.2.1.4) but after upgrade version from 2.1.6 to 2.1.7 I've a problem. Periodically (once in 1 or 2 days) ForumRepository.getMostUsersEverOnline() returns null. IMHO just mostUsersEverOnline is not initialization. Then I need to restart service. I try to change database.connection.implementation from net.jforum.PooledConnection to net.jforum.SimpleConnection and MySQL parameters (such as thread_cache_size), but it didn't help me.

It work at MS Windows 2000 Server & SP4,
Apache Tomcat 5.0.14, MySQL 4.1.9.



What are you advise me?
[originally posted on jforum.net by OraCool]
 
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
That sounds suspiciously like the problem I wrote about here:

https://coderanch.com/t/576919

It was supposed to be fixed in 2.1.7 but I can't see how. The install servlet still in web.xml, still extends JforumBaseServlet, still calls startCacheEngine...

Check your logs for multiple entries of "Starting JForum. Debug mode is"
and/or "Using cache engine: " messages.

Also, if you can get to the cache admin page, do you get all sorts of errors?


[originally posted on jforum.net by monroe]
 
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

monroe wrote:Check your logs for multiple entries of "Starting JForum. Debug mode is" and/or "Using cache engine: " messages.


There are no messages like this :roll:

monroe wrote:Also, if you can get to the cache admin page, do you get all sorts of errors?


After this error only restart needs to get admin page. Before it errors are not displayed. I've tried to intall 2.1.7 Release 3 (https://coderanch.com/t/577009 ) but it also don't help me
IMHO problem appears under active multiuser work with jforum...

[originally posted on jforum.net by OraCool]
 
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
Ok, this is happening for some reason. I registered it as a bug (http://www.jforum.net/jira/browse/JF-615) and made some changes to the source code. We'll release JForum 2.1.7 R4 next weekend.

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
Is there any progress on this bug?

I've been restarting the forum every one/two days for a long time.

Using b3 (latest) version.

[originally posted on jforum.net by magbyr]
 
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
I can see that the bug is closed. When will R4 be out?
[originally posted on jforum.net by magbyr]
 
I knew that guy would be trouble! Thanks tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic