Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java developed on WinXP, now crashing on Mac??

Reply
Thread Tools

Java developed on WinXP, now crashing on Mac??

 
 
ChrisM
Guest
Posts: n/a
 
      05-08-2004
I am developing a GUI-based internet app in Java, JDK 1.4. I'm
developing under Windows XP, using JBuilder X (Foundation version).
Things run ok on my system. My client, however, is using a Mac to run
the app. He just told me that it is crashing Java on launch. The
thing is, earlier versions ran ok on his system, but my latest version
is crashing. I don't know if this is just a bug in my code, or if
this is portability issue. I'm not a Mac user/developer, so if anyone
has any ideas what is going on, please let me know. The crash report
my client is getting is below. Many Thanks!!


Date/Time: 2004-05-08 11:58:06 -0400
OS Version: 10.3.3 (Build 7F44)
Report Version: 2

Command: java
Path: /usr/bin/java
Version: ??? (???)
PID: 607
Thread: 10

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000048

Thread 0:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007118 mach_msg + 0x38
2 libclient.dylib 0x813677f8 JVM_GetClassAccessFlags +
0x1168
3 libclient.dylib 0x81362af8 _mh_dylib_header + 0x2af8
4 libclient.dylib 0x8136236c _mh_dylib_header + 0x236c
5 libclient.dylib 0x8136b5c4 __cmpdi2 + 0x1ad4
6 libclient.dylib 0x81367cd8 JVM_MonitorWait + 0x108
7 <<00000000>> 0x0411e580 0 + 0x411e580
8 <<00000000>> 0x04117fb0 0 + 0x4117fb0
9 <<00000000>> 0x04117e30 0 + 0x4117e30
10 <<00000000>> 0x04117fb0 0 + 0x4117fb0
11 <<00000000>> 0x0411516c 0 + 0x411516c
12 libclient.dylib 0x8137a428 JVM_GetCPMethodClassNameUTF +
0xb38
13 libclient.dylib 0x8139b878 JVM_GetCPClassNameUTF + 0x998
14 libclient.dylib 0x81490c0c JVM_UnloadLibrary + 0xfbbc
15 libclient.dylib 0x8156073c jio_vsnprintf + 0x103dc
16 libawt.jnilib 0x8107bff4 +[EventFactory
drawRect:forView:usingGC:] + 0xfc
17 libawt.jnilib 0x81079444 -[NSViewAWT drawRect:] +
0x124
18 com.apple.AppKit 0x92dc7864 -[NSView _drawRect:clip:] +
0x770
19 com.apple.AppKit 0x92dd8260 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 0xe8
20 com.apple.AppKit 0x92e0deb8 _recursiveDisplayInRect2 +
0x54
21 com.apple.CoreFoundation 0x9019f21c CFArrayApplyFunction + 0x198
22 com.apple.AppKit 0x92dd8364 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 0x1ec
23 com.apple.AppKit 0x92e10944 -[NSFrameView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVis ibleRect:rectIsVisibleRectForView:topView:]
+ 0x90
24 com.apple.AppKit 0x92df7b74 -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVis ibleRect:rectIsVisibleRectForView:topView:]
+ 0xc0
25 com.apple.AppKit 0x92dd4e34 -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVi sibleRectForView:] +
0x180
26 com.apple.AppKit 0x92dedd5c -[NSView displayIfNeeded] +
0xa8
27 com.apple.AppKit 0x92dfea34 -[NSWindow displayIfNeeded] +
0xb4
28 com.apple.AppKit 0x92e22b78 -[NSWindow
_reallyDoOrderWindow:relativeTo:findKey:forCounter :force:isModal:] +
0x3a8
29 libawt.jnilib 0x8108b788 -[CWindow show:] + 0x2d8
30 libawt.jnilib 0x810831fc -[CWindow updateState:] +
0xc0
31 libawt.jnilib 0x81079e60 -[ControlModel syncFromJava:]
+ 0x68
32 libawt.jnilib 0x8107f230 -[ContainerModel
syncFromJava:] + 0x40
33 libawt.jnilib 0x81082894 -[CWindow syncFromJava:] +
0x98
34 com.apple.Foundation 0x909f7834 -[NSArray
makeObjectsPerformSelector:withObject:] + 0x108
35 libawt.jnilib 0x8107a6e8 +[AWTModelUpdater
updateModels:] + 0xf4
36 com.apple.Foundation 0x90a1af48 __NSFireMainThreadPerform +
0x108
37 com.apple.CoreFoundation 0x901e4664 __CFRunLoopPerformPerform +
0x88
38 com.apple.CoreFoundation 0x90193d38 __CFRunLoopDoSources0 + 0x1fc
39 com.apple.CoreFoundation 0x901915f0 __CFRunLoopRun + 0x1b0
40 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x148
41 com.apple.HIToolbox 0x927d648c RunCurrentEventLoopInMode +
0xac
42 com.apple.HIToolbox 0x927dcbf4 ReceiveNextEventCommon +
0x17c
43 com.apple.HIToolbox 0x927feccc
BlockUntilNextEventMatchingListInMode + 0x60
44 com.apple.AppKit 0x92dd2a34 _DPSNextEvent + 0x180
45 com.apple.AppKit 0x92de93b0 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
46 com.apple.AppKit 0x92dfd718 -[NSApplication run] + 0x21c
47 libawt.jnilib 0x8108ebb4 +[AWTStarter startAWT:] +
0xfc
48 com.apple.Foundation 0x90a1af48 __NSFireMainThreadPerform +
0x108
49 com.apple.CoreFoundation 0x901e4664 __CFRunLoopPerformPerform +
0x88
50 com.apple.CoreFoundation 0x90193d38 __CFRunLoopDoSources0 + 0x1fc
51 com.apple.CoreFoundation 0x901915f0 __CFRunLoopRun + 0x1b0
52 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x148
53 java 0x000060f4 0x1000 + 0x50f4
54 java 0x00003c88 0x1000 + 0x2c88
55 java 0x00003afc 0x1000 + 0x2afc

Thread 1:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007118 mach_msg + 0x38
2 libclient.dylib 0x813677f8 JVM_GetClassAccessFlags +
0x1168
3 libclient.dylib 0x8139a534 __divdi3 + 0x50f4
4 libclient.dylib 0x8145d43c JVM_Halt + 0x251c
5 libclient.dylib 0x8145d7a8 JVM_Halt + 0x2888
6 java 0x000045d8 0x1000 + 0x35d8
7 java 0x00005fe0 0x1000 + 0x4fe0
8 libSystem.B.dylib 0x900247e8 _pthread_body + 0x28

Thread 2:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007118 mach_msg + 0x38
2 libclient.dylib 0x8143f59c JNI_CreateJavaVM_Impl +
0x44ec
3 libclient.dylib 0x8143f530 JNI_CreateJavaVM_Impl +
0x4480
4 libclient.dylib 0x8153196c JVM_UnloadLibrary + 0xb091c
5 libSystem.B.dylib 0x900247e8 _pthread_body + 0x28

Thread 3:
0 libSystem.B.dylib 0x900075c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007118 mach_msg + 0x38
2 libclient.dylib 0x81367878 JVM_GetClassAccessFlags +
0x11e8
3 libclient.dylib 0x8139a4d4 __divdi3 + 0x5094
4 libclient.dylib 0x813b00d0 JVM_GetMethodIxModifiers +
0x4f0
5 libclient.dylib
 
Reply With Quote
 
 
 
 
Dave Monroe
Guest
Posts: n/a
 
      05-10-2004
http://www.velocityreviews.com/forums/(E-Mail Removed) (ChrisM) wrote in message news:<(E-Mail Removed) om>...
> I am developing a GUI-based internet app in Java, JDK 1.4. I'm
> developing under Windows XP, using JBuilder X (Foundation version).
> Things run ok on my system. My client, however, is using a Mac to run
> the app. He just told me that it is crashing Java on launch. The
> thing is, earlier versions ran ok on his system, but my latest version
> is crashing. I don't know if this is just a bug in my code, or if
> this is portability issue. I'm not a Mac user/developer, so if anyone
> has any ideas what is going on, please let me know. The crash report
> my client is getting is below. Many Thanks!!
>
>

That's one butt ugly error message.

Make absolutely sure that the versions on the two systems match. I
develop alternately on XP and Linux and move the work back and forth
system to system to make certain that the app is platform independent.

The only time I've had big problems is when the SDK/JVM versions are
out of sync.

My $0.02.
 
Reply With Quote
 
 
 
 
Liz
Guest
Posts: n/a
 
      05-10-2004

"Dave Monroe" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> (E-Mail Removed) (ChrisM) wrote in message

news:<(E-Mail Removed) om>...
> > I am developing a GUI-based internet app in Java, JDK 1.4. I'm
> > developing under Windows XP, using JBuilder X (Foundation version).
> > Things run ok on my system. My client, however, is using a Mac to run
> > the app. He just told me that it is crashing Java on launch. The
> > thing is, earlier versions ran ok on his system, but my latest version
> > is crashing. I don't know if this is just a bug in my code, or if
> > this is portability issue. I'm not a Mac user/developer, so if anyone
> > has any ideas what is going on, please let me know. The crash report
> > my client is getting is below. Many Thanks!!
> >
> >

> That's one butt ugly error message.
>
> Make absolutely sure that the versions on the two systems match. I
> develop alternately on XP and Linux and move the work back and forth
> system to system to make certain that the app is platform independent.
>
> The only time I've had big problems is when the SDK/JVM versions are
> out of sync.
>
> My $0.02.


Ya, I thought MAC only had version 1.3 not 1.4


 
Reply With Quote
 
Scott Ellsworth
Guest
Posts: n/a
 
      05-10-2004
In article <rXTnc.23078$iF6.2277030@attbi_s02>, "Liz" <(E-Mail Removed)>
wrote:

> "Dave Monroe" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) om...
> > (E-Mail Removed) (ChrisM) wrote in message

> news:<(E-Mail Removed) om>...
> > > I am developing a GUI-based internet app in Java, JDK 1.4. I'm
> > > developing under Windows XP, using JBuilder X (Foundation version).
> > > Things run ok on my system. My client, however, is using a Mac to run
> > > the app. He just told me that it is crashing Java on launch. The
> > > thing is, earlier versions ran ok on his system, but my latest version
> > > is crashing. I don't know if this is just a bug in my code, or if
> > > this is portability issue. I'm not a Mac user/developer, so if anyone
> > > has any ideas what is going on, please let me know. The crash report
> > > my client is getting is below. Many Thanks!!
> > >
> > >

> > That's one butt ugly error message.
> >
> > Make absolutely sure that the versions on the two systems match. I
> > develop alternately on XP and Linux and move the work back and forth
> > system to system to make certain that the app is platform independent.
> >
> > The only time I've had big problems is when the SDK/JVM versions are
> > out of sync.
> >
> > My $0.02.

>
> Ya, I thought MAC only had version 1.3 not 1.4


Nope. Panther has 1.3.1. Depending on what the user has installed, it
might have 1.4.1 or 1.4.2 as well.

Scott
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to browse a Folder in a Web application developed using Java/J2EE backstreetboy Javascript 3 06-17-2007 04:57 PM
I cant run Web Services developed Java Rene ASP .Net Web Services 1 02-14-2007 04:12 PM
how long java 1.0 has developed? jrefactors@hotmail.com Java 57 07-26-2005 03:05 PM
is that ok for the java program that developed using 1.4.2 run on JRE1.5? James Java 2 12-15-2004 09:32 AM
error in accessing webservice developed in Java from .NET client narasimham ASP .Net Web Services 3 11-20-2003 06:20 AM



Advertisments