[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337414: marked as done (ikvm: Swing programs fail with "Cannot load AWT toolkit")

Your message dated Sun, 11 Jan 2009 03:17:37 +0000
with message-id <E1LLqpV-0006zb-P5@ries.debian.org>
and subject line Bug#337414: fixed in ikvm
has caused the Debian Bug report #337414,
regarding ikvm: Swing programs fail with "Cannot load AWT toolkit"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

337414: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337414
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ikvm
Severity: normal

Steps to reproduce:
1. Compile (I used "jikes-sablevm testcase.java") and run ("ikvm testcase") the attached testcase.

Expected results (with e.g. "jamvm testcase")
1. A window with text "Hello World" shows up.

Actual results:
1. ikvm outputs the following error messages:
$ ikvm testcase
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: ikvm.awt.NetToolkit, IKVM.AWT.WinForms
        at java.awt.Toolkit.getDefaultToolkit (Toolkit.java)
        at java.awt.Font.tk (Font.java)
        at java.awt.Font.getPeerFromToolkit (Font.java)
        at java.awt.Font.<init> (Font.java)
        at javax.swing.plaf.FontUIResource.<init> (FontUIResource.java)
        at javax.swing.plaf.metal.DefaultMetalTheme.<clinit> (DefaultMetalTheme.java)
        at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme (MetalLookAndFeel.java)
        at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme (MetalLookAndFeel.java)
        at javax.swing.plaf.metal.MetalLookAndFeel.<init> (MetalLookAndFeel.java)
        at javax.swing.UIManager.<clinit> (UIManager.java)
        at javax.swing.JPanel.updateUI (JPanel.java)
        at javax.swing.JPanel.updateUI (JPanel.java)
        at javax.swing.JPanel.<init> (JPanel.java)
        at javax.swing.JPanel.<init> (JPanel.java)
        at javax.swing.JRootPane.createGlassPane (JRootPane.java)
        at javax.swing.JRootPane.getGlassPane (JRootPane.java)
        at javax.swing.JRootPane.<init> (JRootPane.java)
        at javax.swing.JFrame.createRootPane (JFrame.java)
        at javax.swing.JFrame.getRootPane (JFrame.java)
        at javax.swing.JFrame.frameInit (JFrame.java)
        at javax.swing.JFrame.<init> (JFrame.java)
        at testcase.<init> (Unknown Source)
        at testcase.main (Unknown Source)
        at java.lang.reflect.Method.Invoke (Method.java)
Caused by: java.lang.ClassNotFoundException: ikvm.awt.NetToolkit, IKVM.AWT.WinForms
        at java.lang.Class.forName (Class.java)
        at java.lang.Class.forName (Class.java)
        ... 24 more

Testcase (save as "testcase.java"):
import javax.swing.*;
import java.awt.*;
public class testcase extends JFrame {
        public static void main(String[] args) {
                (new testcase()).show();
        public testcase() {
                this.setSize(new Dimension(400, 400));
                this.setContentPane(new JLabel("Hello World"));

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.29sauna
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)

Versions of packages ikvm depends on:
ii  java-common                   0.23       Base of all Java packages
ii  libikvm-native       Native library for IKVM Java virtu
ii  mono-classlib-1.0     Mono class library (1.0)
ii  mono-jit              fast CLI (.NET) JIT compiler for M

ikvm recommends no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ikvm

We believe that the bug you reported is fixed in the latest version of
ikvm, which is due to be installed in the Debian FTP archive:

  to pool/main/i/ikvm/ikvm_0.38.0.2+dfsg-1.diff.gz
  to pool/main/i/ikvm/ikvm_0.38.0.2+dfsg-1.dsc
  to pool/main/i/ikvm/ikvm_0.38.0.2+dfsg-1_all.deb
  to pool/main/i/ikvm/ikvm_0.38.0.2+dfsg.orig.tar.gz
  to pool/main/i/ikvm/libikvm-native_0.38.0.2+dfsg-1_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 337414@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Jo Shields <directhex@apebox.org> (supplier of updated ikvm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Tue,  6 Jan 2009 16:24:02 +0000
Source: ikvm
Binary: ikvm libikvm-native
Architecture: source i386 all
Distribution: experimental
Urgency: low
Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>
Changed-By: Jo Shields <directhex@apebox.org>
 ikvm       - Java virtual machine for the CLI
 libikvm-native - native library for IKVM.NET
Closes: 337414 466336 484125 504529
 ikvm ( experimental; urgency=low
   [ Jo Shields ]
   * Package adopted by Debian CLI Libraries Team. (Closes: #466336)
   * New upstream release, based on GNU Classpath 0.95 and OpenJDK 6b12
   * Repackaged - uses completely generated .orig, see README.source
   * Updated build-deps for the Mono 2.0 transition.
   * Group Policy:
     + get-orig-source target in debian/rules
   * Signed using Mono key - it causes an ABI breakage for now, but it's an
     improvement on the randomly generated keys used previously, as it means
     ABI breakage is no longer guaranteed between compiles. (Closes: #484125)
   * Use correct path in ikvm.pc file. (Closes: #504529)
   * Ensure that Configuration.java uses the ikvm-key configured for the build,
     not a hard-coded value. (Closes: #337414)
   [ David Paleino ]
   * debian/compat bumped to 7
   [ Mirco Bauer ]
   * debian/control:
     + Added Homepage, Vcs-Svn and Vcs-Browser fields.
     + Enhanced short and long package descriptions.
     + Changed Section from devel to interpreters, as this is mainly a runtime
       and not a development tool.
     + Bumped cli-common-dev build-dep to >= 0.5.7 as we need dh_clistrip and
       dh_clixfixperms of it.
   * debian/rules:
    + Fixed order of dh_* calls.
    + Added dh_clistrip and dh_clifixperms calls.
    + Removed unneeded chmod calls (as dh_clifixperms takes now care).
    + Replaced hardcoded mono calls with DEB_CLI_RUNTIME variable.
   * debian/rules
    + Added missing dll-maps for libikvm-native.so invocation.
 76ab67310364c0e0324d7349e6816b267b1a002b 1610 ikvm_0.38.0.2+dfsg-1.dsc
 ce2d92a55508b8eccabdac728bafc10c17e3f630 24175066 ikvm_0.38.0.2+dfsg.orig.tar.gz
 91bcf1cbdec28844bfb715150425506bea31ce42 36776 ikvm_0.38.0.2+dfsg-1.diff.gz
 561340f529c5fc82585ef9f434df56ae3c1ced56 13418 libikvm-native_0.38.0.2+dfsg-1_i386.deb
 cc4276395d3fd7800248c4bd23966a329dcb2e52 12589202 ikvm_0.38.0.2+dfsg-1_all.deb
 4b2ab7dd1af83191f244f667f467f114681a45c4a9baced3c7fd7ad945b1c13a 1610 ikvm_0.38.0.2+dfsg-1.dsc
 86e822d8d797df3d8cb328dea9e9dc7fdbd806517f85b74f4bd9ca847b1672a7 24175066 ikvm_0.38.0.2+dfsg.orig.tar.gz
 3634573dfea2d0ac03eaec965d4a51c4bf68a582f2feac385b491df32bc3708e 36776 ikvm_0.38.0.2+dfsg-1.diff.gz
 31f510506fe9fe2081d4428ddb5abfe1872753bd42de0f89b3fda297f87720f7 13418 libikvm-native_0.38.0.2+dfsg-1_i386.deb
 9dca4081373ad39f333a9cb010ffe1db07dadf175383ef84f3a4ed975a47a208 12589202 ikvm_0.38.0.2+dfsg-1_all.deb
 b09be4726962262bf5b1c755c005cf4f 1610 interpreters optional ikvm_0.38.0.2+dfsg-1.dsc
 fc63a00e6779b17d7bbe58ab839d4d6b 24175066 interpreters optional ikvm_0.38.0.2+dfsg.orig.tar.gz
 2e29bd3a235c157f79972e5a21c360e1 36776 interpreters optional ikvm_0.38.0.2+dfsg-1.diff.gz
 cd76677c427d1804caf197533815f8ac 13418 interpreters optional libikvm-native_0.38.0.2+dfsg-1_i386.deb
 74dd36a60caf5492696ee0545872ae70 12589202 interpreters optional ikvm_0.38.0.2+dfsg-1_all.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: