• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

error when posting

 
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 get this error when trying to post.
Previsualisation does the same.

One user reports having the same when trying to modify his profile (but seems to have successfully post)

Restarting the context doesn't help


java.lang.reflect.InvocationTargetException: org/htmlparser/lexer/InputStreamSource (Local variable name has bad constant type)



any Idea ?

Pala.



stack trace follows


[originally posted on jforum.net by pala]
 
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 happens when posting anything in any place. But it only happens with specifics users (which were able to post before).

Its like something might be corrupted in the database.

It happens also when I try to modify password throw the profile even with admin user.

the forum is at www.woltar.com/forum I'm not sure you will be able to reproduce the problem since it is user specific.

Pala.

[originally posted on jforum.net by pala]
 
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
Which is the JDK version?

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
me again

It seems that the bug is user-connected. I tried posting anonymous and created a new user, it worked fine.

Pala.
[originally posted on jforum.net by pala]
 
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
still me.

Another user mentionned the bug when trying to upload an avatar.

Pala
[originally posted on jforum.net by pala]
 
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 is jdk1.4
[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
jdk1.4.2 to be specific


[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
Hi,

this error occurs with any input? I mean, it seems that is something wrong with the charset manipulation, or something like that. Is the forum available to the Internet, or in some place I can test it?

Which Java version? I compiled JForum with jdk 1.4.x ( .1 or .2, I don't remeber right now ).. This error often occurs when the classloader finds some "incompatibilities" in the .class file.

Thanks.
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
Damn, I just can't understand a single word of French

Well, I'll try to find some way to reproduce the error. If you could get some info about the users whose are getting this error, it would help a lot ( information like "signature", for example.. maybe the error is associated to some character set or "special char".. )

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
I really don't think so. I'm own user has this problem, I didn't change my profile from the moment I was able to post and the moment I wasn't anymore.

I just tried something else: go to my profile page, don't change anything, click validate... same error.

Pala.
[originally posted on jforum.net by pala]
 
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
Tried the same creating a new user, same bug on profile.

you can try: palabug passwd: test
[originally posted on jforum.net by pala]
 
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
Pala,

Let me try using your account to test.

Regards,
James Yong
[originally posted on jforum.net by jamesyong]
 
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
Pala,

I have tried accessing the above mentioned account, but I have problem logging in. Either the user name or the password isn't correct.

Regards,
James Yong
[originally posted on jforum.net by jamesyong]
 
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
Hum I just rechecked the login/pass it works fine

login: palabug
passwd: test

Pala.
[originally posted on jforum.net by pala]
 
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
Hum I just rechecked the login/pass it works fine

login: palabug
passwd: test

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

pala wrote:Hum I just rechecked the login/pass it works fine

login: palabug
passwd: test

Pala.


I have tried again just now. Still couldn't log in.
[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

Anonymous wrote:

pala wrote:Hum I just rechecked the login/pass it works fine

login: palabug
passwd: test

Pala.


I have tried again just now. Still couldn't log in.


Just to say that the above anonymous post is by me.
[originally posted on jforum.net by jamesyong]
 
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

pala wrote:Hum I just rechecked the login/pass it works fine

login: palabug
passwd: test

Pala.



Ok, I logged in and reproduced the bug just like as you said.. No solution yet.

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
If you copy past, beware of trailing spaces.
Or could it be a charset/UTF8 problem?


Anyway you can create your own account and test changing your profile.

Pala.

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

pala wrote:If you copy past, beware of trailing spaces.
Or could it be a charset/UTF8 problem?


Anyway you can create your own account and test changing your profile.

Pala.


OK, I manage to log in :P

The reason why I couldn't log in just now is because I tried the username/password at JForum ops:
I should have read the earlier posts
[originally posted on jforum.net by jamesyong]
 
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

Rafael Steil wrote:
Ok, I logged in and reproduced the bug just like as you said.. No solution yet.

Rafael



any guess on what the cause might be? It seems to propagate to more and more users.

I even tried to switch back the site to english in case of..

FYI, I upgraded from RC4 applying the upgrade to the database
RC4-to-RC5 then RC5-to-2.0
Yet the site worked well just after the upgrade.

I had also a few crash of the jvm, maybe it left the database in a corrupted situation....
speaking of that, I'll look repairing the database with mysql tools, who knows.

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

pala wrote:
FYI, I upgraded from RC4 applying the upgrade to the database
RC4-to-RC5 then RC5-to-2.0
Yet the site worked well just after the upgrade.



That's because the htmlparser was introduced in 2.0 .

pala wrote:
I had also a few crash of the jvm, maybe it left the database in a corrupted situation....
speaking of that, I'll look repairing the database with mysql tools, who knows.

Pala.



hm, I don't think it is related to the database, but to the htmlparser library.. It looks corrupted. Can you get it from http://htmlparser.sourceforge.net/ and override the jforum's one? Or, better, try first to get it from the jforum-2.0.2.zip file and replace with the current version at WEB-INF/lib .. Then, if it not work, you can get it from htmlparser.sf.net and compile it from strach and see if it works then.

Is there a possibility to to this?

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
ok I try all that
[originally posted on jforum.net by pala]
 
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
Well, hum, that'weird

Before doing what you suggested, I check the lib form the very zip
I took it from Jforum-2.0.1.zip and the one which was in production.

They were not the same!! (using unix diff)

size date were the same although.

I just copied the original one to replaced the corrupted one, now it seems to solve the problem.

Weird thing is when why how it got corrupted. Since the forum worked quite fine for a few days after the upgrade to 2.0.

Anyhow, probably more an OS/Hardware question.


Pala.


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

pala wrote:Well, hum, that'weird

Before doing what you suggested, I check the lib form the very zip
I took it from Jforum-2.0.1.zip and the one which was in production.

They were not the same!! (using unix diff)

size date were the same although.

I just copied the original one to replaced the corrupted one, now it seems to solve the problem.

Weird thing is when why how it got corrupted. Since the forum worked quite fine for a few days after the upgrade to 2.0.

Anyhow, probably more an OS/Hardware question.


Pala.



Really weird, indeed. But good to know that is working now.

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

pala wrote:I get this error when trying to post.
Previsualisation does the same.

One user reports having the same when trying to modify his profile (but seems to have successfully post)

Restarting the context doesn't help


java.lang.reflect.InvocationTargetException: org/htmlparser/lexer/InputStreamSource (Local variable name has bad constant type)



any Idea ?

Pala.



stack trace follows


[originally posted on jforum.net by Anonymous]
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic