Debian Bug report logs - #564961
libmysql-java: Prepared Queries broken

version graph

Package: libmysql-java; Maintainer for libmysql-java is Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>; Source for libmysql-java is src:mysql-connector-java.

Reported by: Alan Ezust <alan.ezust@gmail.com>

Date: Wed, 13 Jan 2010 00:21:02 UTC

Severity: normal

Tags: unreproducible

Found in version mysql-connector-java/5.1.10+dfsg-2

Done: Emmanuel Bourg <ebourg@apache.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#564961; Package libmysql-java. (Wed, 13 Jan 2010 00:21:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Ezust <alan.ezust@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Wed, 13 Jan 2010 00:21:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Alan Ezust <alan.ezust@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libmysql-java: Prepared Queries broken
Date: Tue, 12 Jan 2010 16:17:05 -0800
Package: libmysql-java
Version: 5.1.10+dfsg-2
Severity: critical
Justification: breaks unrelated software


libmysql-java 5.1.0 does not work with prepared queries.


java.lang.
NoClassDefFoundError: Could not initialize class com.mysql.jdbc.PreparedStatement
    at com.mysql.jdbc.ConnectionImpl.clientPrepareStatement(ConnectionImpl.java:1445)
    at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4291)
    at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4190)
    at sql.SqlServerRecord.prepareStatement(SqlServerRecord.java:228)

Replacing the mysql-java.jar in /usr/share/java
with mysql-connector-5.0.8 or 5.1.6 makes the problem go away.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmysql-java depends on:
ii  default-jre-headless [java2 1.6-34       Standard Java or Java compatible R
ii  openjdk-6-jre-headless [jav 6b16-1.6.1-2 OpenJDK Java runtime, using Hotspo
ii  sun-java6-jre [java2-runtim 6-16-1       Sun Java(TM) Runtime Environment (

libmysql-java recommends no packages.

Versions of packages libmysql-java suggests:
ii  libcommons-logging-java       1.1.1-6    commmon wrapper interface for seve
ii  liblog4j1.2-java              1.2.15-7   Logging library for java

-- no debconf information




Severity set to 'serious' from 'critical' Request was from Marcus Better <marcus@better.se> to control@bugs.debian.org. (Wed, 13 Jan 2010 21:18:02 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#564961; Package libmysql-java. (Sat, 23 Jan 2010 08:30:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Taisuke Yamada <tai@rkgk.org>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Sat, 23 Jan 2010 08:30:08 GMT) Full text and rfc822 format available.

Message #12 received at 564961@bugs.debian.org (full text, mbox):

From: Taisuke Yamada <tai@rkgk.org>
To: 564961@bugs.debian.org
Subject: Re: libmysql-java: Prepared Queries broken
Date: Sat, 23 Jan 2010 17:28:41 +0900
[Message part 1 (text/plain, inline)]
Package: libmysql-java
Version: 5.1.10+dfsg-2
Tags: unreproducible
Severity: normal

I have picked up this bug during Debian BSP, but was unable to reduce
the problem.

Since original report did not contain code or data to reproduce the issue,
I will tag the issue as "unreproducible", and lower its severity to "normal" (as
"important" and upper-level severities requires the package to be in completely
unusable state for majority of people).

Best Regards,
[SqlTest.java (application/octet-stream, attachment)]
[SqlTest.sh (application/x-sh, attachment)]
[SqlTest.log (application/octet-stream, attachment)]

Severity set to 'normal' from 'serious' Request was from Taisuke Yamada <tai@rkgk.org> to control@bugs.debian.org. (Sat, 23 Jan 2010 08:45:05 GMT) Full text and rfc822 format available.

Added tag(s) unreproducible. Request was from Taisuke Yamada <tai@rkgk.org> to control@bugs.debian.org. (Sat, 23 Jan 2010 08:45:06 GMT) Full text and rfc822 format available.

Reply sent to Emmanuel Bourg <ebourg@apache.org>:
You have taken responsibility. (Fri, 09 Aug 2013 11:33:14 GMT) Full text and rfc822 format available.

Notification sent to Alan Ezust <alan.ezust@gmail.com>:
Bug acknowledged by developer. (Fri, 09 Aug 2013 11:33:14 GMT) Full text and rfc822 format available.

Message #21 received at 564961-done@bugs.debian.org (full text, mbox):

From: Emmanuel Bourg <ebourg@apache.org>
To: 564961-done@bugs.debian.org
Subject: Re: libmysql-java: Prepared Queries broken
Date: Fri, 09 Aug 2013 13:30:45 +0200
I'm closing this bug since it isn't reproducible and most likely a
mistake in the usage of the library (the jar wasn't in the classpath).



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 07 Sep 2013 07:32:50 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 02:01:48 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.