Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

java.lang.reflect.InvocationTargetException

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using jForum 2.1.4 with MySQL 4.0.15 and keep getting java.lang.reflect.InvocationTargetException after almost every action, when accessing the forum index page. If I restart the server error clears, but after posting or moderating I soon get the message again.

Any ideas? Please find the stacktrace below.

Thanks,

Olli


[originally posted on jforum.net by olli]
 
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
Hard to say. It's not common to exceptions occur in this part of the code. Did you do something "different" by hand, like changing jforum's tables while the container is running, or any other behavior that was not made via the Admin Panel?

Did you tried to reinstall JForum?

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
It all started after creating new forum categories, but I managed to fix these errors by saving all user groups again after adding each category as described in one of the posting on this forum.

I have just restarted Tomcat again and posted / erased couple of new topics - seems to be working. So, maybe this is ok as long as I don't create any new categories. Is there a patch somewhere for the category problem.

If I try to reinstall the software can I somehow keep the database?


[originally posted on jforum.net by Anonymous]
 
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
Ah, that permission bug bug again

I"ve fixed this bug some days ago. When you add a new category or forum, please re-save all permissions again. It will prevent the bug from ocurring.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I found some pretty shells, some sea glass and this lovely tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic