Modeler in Cayenne 3.0M1 fails on startup under Win32 with AWT complaint

Key: CAY-851
URL: https://issues.apache.org/cayenne/browse/CAY-851
Project: Cayenne
Issue Type: Bug
Components: CayenneModeler GUI
Affects Versions: 3.0
Environment: Java is JRE 1.6.0_02-b06.

WinXP SP2 patched to current. The OS install is fairly clean- firefox, putty, JRE.

* OS is running in vmware fusion 1.0 on OSX-Tiger, dual-core black macbook with 2GB for RAM. The VM is configured to use both processors of the dual-core, and 768MB RAM.

Reporter: Craig Turner
Assignee: Andrus Adamchik
Priority: Minor

At the shell I try CayenneModeler.exe and it does not start but I see no signs of an error.

Then I try 'java -jar CayenneModeler.jar' and the startup displays a stack trace (given below) and then freezes. Attempts to abort using ctrl+c fail.

Stack trace and lines immediately preceding:
INFO: --- transaction started.
Aug 20, 2007 4:18:06 AM org.apache.cayenne.access.QueryLogger logQuery
INFO: SELECT t0.key_value_pairs, t0.domain_id, t0.key, t0.id FROM domain_preference t0 WHERE t0.domain_id = ? [bind: 202]
Aug 20, 2007 4:18:06 AM org.apache.cayenne.access.QueryLogger logSelectCount
INFO: === returned 0 rows. - took 0 ms.
Aug 20, 2007 4:18:06 AM org.apache.cayenne.access.QueryLogger logCommitTransaction
INFO: +++ transaction committed.
Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Could not initialize shell library
at sun.awt.shell.Win32ShellFolder2.initIDs(Native Method)
at sun.awt.shell.Win32ShellFolder2.<clinit>(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2.getDesktop(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
at sun.awt.shell.ShellFolder.get(Unknown Source)
at javax.swing.filechooser.FileSystemView.getRoots(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.installUI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at org.apache.cayenne.modeler.action.ProjectOpener.(OpenProjectAction.java:58)
at org.apache.cayenne.modeler.ActionManager.<init>(ActionManager.java:138)

If it is not possible to reproduce this bug on another environment I would be happy to do further testing in this environment but would appreciate and directions someone more familiar with the product was able to give.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Aristedes Maniatis at Aug 20, 2007 at 4:27 am

    On 20/08/2007, at 1:23 PM, Craig Turner (JIRA) wrote:

    Exception in thread "AWT-EventQueue-0" java.lang.InternalError:
    Could not initialize shell library
    Is the problem resolved by copying jre/bin/unicows.dll to bin
    directory? The bug looks a lot like:


    Or perhaps you want to try and install the full JDK rather than just
    the JRE...


    Aristedes Maniatis
    phone +61 2 9660 9700
    PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
postedAug 20, '07 at 3:24a
activeAug 20, '07 at 4:27a

2 users in discussion

Anonymous: 1 post Aristedes Maniatis: 1 post



site design / logo © 2022 Grokbase