Bug#585581: doesn't work with current libasm3-java

David Paleino dapal at debian.org
Fri Jun 11 22:49:31 UTC 2010

Package: libcglib-java
Version: 2.2+dfsg-2
Severity: important
Tags: upstream

I'm trying to package oauth-signpost (see #573556), but it FTBFS (well, the
tests fail). This is because it uses Mockito, which in turn uses cglib, which
uses libasm-java. Here's my backtrace:

java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V
  at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
  at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
  at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
  at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
  at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:144)
  at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:116)
  at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
  at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
  at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
  at org.mockito.internal.creation.jmock.ClassImposterizer.createProxyClass(ClassImposterizer.java:68)

The problem is that DebuggingClassWriter.java tries to pass an integer to asm's
ClassWriter, which expects a boolean instead.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcglib-java depends on:
ii  default-jre [java2-runtime]   1.6-36     Standard Java or Java compatible R
ii  default-jre-headless          1.6-36     Standard Java or Java compatible R
ii  gcj-4.4-jre [java2-runtime]   4.4.4-3    Java runtime environment using GIJ
ii  gcj-jre [java2-runtime]       4:4.4.4-2  Java runtime environment using GIJ
ii  libasm3-java                  3.2-3      Java bytecode manipulation framewo
ii  openjdk-6-jre [java2-runtime] 6b18-1.8-2 OpenJDK Java runtime, using Hotspo
ii  sun-java6-jre [java2-runtime] 6.20-dlj-3 Sun Java(TM) Runtime Environment (

libcglib-java recommends no packages.

libcglib-java suggests no packages.

-- no debconf information

 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100612/9fa1c517/attachment.pgp>

More information about the pkg-java-maintainers mailing list