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.<init>(ProjectOpener.java:45)
        at 
org.apache.cayenne.modeler.action.OpenProjectAction.<init>(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.

Reply via email to