From: SourceForge.net <no...@so...> - 2005-07-08 21:07:53
|
Bugs item #1197020, was opened at 2005-05-06 22:26 Message generated for change (Comment added) made by kzt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1197020&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Crash Group: None Status: Open Resolution: None Priority: 8 Submitted By: kzt (kzt) Assigned to: Devon Jones (soulcatcher) Summary: 5.8.0RC6 and RC7 crash during starup in MacOS X Tiger Initial Comment: I just migrated to MacOS X Tiger and I tried to run PCGen from an installation (RC6) done under Panther, and it crashed after showing the splash screen. Thinking it was an error due to the migration, I deleted the old copy, and downloaded the newest version (RC7). Because this version hadn't been configured, I got the configuraton file path screen, but it crashed shortly after hitting Ok. I then executed it from bash and got a whole slew of errors. I have attached these in a separate log file. ---------------------------------------------------------------------- >Comment By: kzt (kzt) Date: 2005-07-08 17:07 Message: Logged In: YES user_id=953198 It is still an issue in 5.8 Stable. ---------------------------------------------------------------------- Comment By: Andrew McDougall (tir-gwaith) Date: 2005-07-07 12:07 Message: Logged In: YES user_id=208239 Are you still seeing this with 5.8.0 Stable? ---------------------------------------------------------------------- Comment By: macJava (xtianstone) Date: 2005-07-07 10:54 Message: Logged In: YES user_id=1123864 This app fails with 1.5 and 1.4 on Tiger because something has changed in Tiger with the mac LAF api. The effective error is in the screenMenuBar here: java.lang.ArrayIndexOutOfBoundsException: 5 > 4 I suspect that you are inserting an element to instead of appending the menu to the end of the menu bar. However, I have not looked at the code so I cannot offer more insight than that. The whole trace follows. Bad main entry point in pcgen.gui.pcGenGUI java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at pcgen.core.Main.main(Main.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at apple.launcher.LaunchRunner.run(LaunchRunner.java:88) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) Caused by: java.lang.ArrayIndexOutOfBoundsException: 5 > 4 at java.util.Vector.insertElementAt(Vector.java:557) at apple.laf.ScreenMenuBar.add(ScreenMenuBar.java:242) at apple.laf.ScreenMenuBar.addSubmenu(ScreenMenuBar.java:200) at apple.laf.ScreenMenuBar.addNotify(ScreenMenuBar.java:51) at java.awt.Frame.setMenuBar(Frame.java:583) at apple.laf.AquaMenuBarUI.setScreenMenuBar(AquaMenuBarUI.java:98) at apple.laf.AquaMenuBarUI.getPreferredSize(AquaMenuBarUI.java:76) at javax.swing.JComponent.getPreferredSize(JComponent.java:1307) at javax.swing.JRootPane$RootLayout.layoutContainer(JRootPane.java:906) at java.awt.Container.layout(Container.java:1020) at java.awt.Container.doLayout(Container.java:1010) at java.awt.Container.validateTree(Container.java:1092) at java.awt.Container.validateTree(Container.java:1099) at java.awt.Container.validate(Container.java:1067) at java.awt.Window.show(Window.java:461) at java.awt.Component.show(Component.java:1133) at java.awt.Component.setVisible(Component.java:1088) at pcgen.gui.pcGenGUI.<init>(pcGenGUI.java:225) at pcgen.gui.pcGenGUI.main(pcGenGUI.java:398) ... 12 more ---------------------------------------------------------------------- Comment By: Eddy Anthony (eddyanthony) Date: 2005-05-07 16:03 Message: Logged In: YES user_id=886893 IF the .jar is working then it must be the process used to mac the Mac package. We will probably need to update to the developer tools for Tiger. There's normaly no real difference btween running the Mac package app or the .jar so just use that for now until we can get this worked out. As for the priority, don't worry about it, we are at the end of our development cycle and at this point we are being rather strick with it. During the early part of the cycle it's not as strict. You'll have to forgive us for this particular bug since it's not directly related to the program and since Tiger was just released we really havn't had time to test on it. We do appreciate everyone who takes the time to troubleshoot and report back, thanks, we'll get this worked out. ---------------------------------------------------------------------- Comment By: kzt (kzt) Date: 2005-05-07 15:49 Message: Logged In: YES user_id=953198 c) J2SE 5.0 makes no differense either way. ---------------------------------------------------------------------- Comment By: kzt (kzt) Date: 2005-05-07 15:32 Message: Logged In: YES user_id=953198 a) I am using the canned installer. b) Copying the jar file out of the app folder worked. It is apparently just a problem with whatever is used to package it into the app folder. c) Currently downloading J2SE 5.0. Will get back to you on that. d) You guys should post a guide as to how to post bugs. You state "only ... can declare priority/group," yet there is nothing anywhere that states this (or maybe I should say, nothing anywhere the general user will look). I gave it a p9 as, too me, an application not loading is a critical bug. It doesn't matter if it was caused by the installer or some actual code, my CSE instructors still would have failed the project for not running. As for the group, "To be Fixed for 5.8" is the closest group to 5.8.0RCn. If you don't want users classifing bugs, don't put the options to do so on here. ---------------------------------------------------------------------- Comment By: Eddy Anthony (eddyanthony) Date: 2005-05-07 12:26 Message: Logged In: YES user_id=886893 Another question: are you running the general PCGen download or are you using the Mac specific installer? It may be that the development apps used to make the installer need to be updated. Some one posted that they were able to get things running be copying the .jar app out of the Mac app package like so: Here's the fix: After installing, open the "PCGen 5.8.0" folder in Applications. Right-or- Control click the PCGen app. select "Show package Contents". double click on "Contents", then "Resources", and then "Java". Drag the "pcgen.jar" file out into the "PGGen 5.8.0" folder (the same one that the "PCGen" app is in). Delete the "PCGen" app. Double-click on pcgen.jar. If this works then we can narrow things down to the installer making process, I'll send a note to Conor and see what he thinks. ---------------------------------------------------------------------- Comment By: Devon Jones (soulcatcher) Date: 2005-05-07 11:11 Message: Logged In: YES user_id=107647 Looks to me that tiger's swing implementation is busted. Try java 5 as eddy suggested please and see if that works. Leaving at p8 until we can see the results of testing with java 5 ---------------------------------------------------------------------- Comment By: Paul W. King (kingpaul) Date: 2005-05-07 05:15 Message: Logged In: YES user_id=277877 Lowering priority and assigning to Devon. In this stage of the game, only he can declare which bugs are p9 worthy and slated for 5.8 stable. And please report back of Eddy's suggestion works or not. Paul W. King TM SB, OGL/PL Chimp, Data Gibbon, BoD ---------------------------------------------------------------------- Comment By: Eddy Anthony (eddyanthony) Date: 2005-05-07 00:16 Message: Logged In: YES user_id=886893 You might try the Java 5 release for Tiger, it does not come with the Installer but you can download it from this link: <http://www.apple.com/support/downloads/java2se50release1.html> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1197020&group_id=25576 |