Invalid pc in LineNumberTable in class file com/mysql/jdbc/MysqlIO

Hi,

I am trying to configure Ruby project to use JRuby 1.6.1, MySQL, Ruby
1.9.2-p180 using jdk1.6.0_22.
After configuration, when I am trying to access the application I face
following error.

RuntimeError (The driver encountered an unknown error:
java.sql.SQLException: java.lang.ClassFormatError: Invalid pc in
LineNumberTable in class file com/mysql/jdbc/MysqlIO):

I had tried to search cause on net using following keyword and
understood
that this seem to be java problem This would occur if one of the file is
not
compile properly. Can someone please let me know if anyone has faced
similar
issues and potential resolution to move ahead.

Keyword used to search was “java.sql.SQLException:
java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file”

regards,
Jaymin

View this message in context:
http://old.nabble.com/Invalid-pc-in-LineNumberTable-in-class-file-com-mysql-jdbc-MysqlIO-tp31443000p31443000.html
Sent from the JRuby - User mailing list archive at Nabble.com.

This issue seem to be specific to jdbc-mysql (version 5.1.13).

I have uninstalled it and installed the older version i.e. jdbc-mysql
(version 5.0.4) and everything started working well.

James74 wrote:

LineNumberTable in class file com/mysql/jdbc/MysqlIO):
Jaymin


View this message in context:
http://old.nabble.com/Invalid-pc-in-LineNumberTable-in-class-file-com-mysql-jdbc-MysqlIO-tp31443000p31461344.html
Sent from the JRuby - User mailing list archive at Nabble.com.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs