Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
    Bookmark Topic Watch Topic
  • New Topic

Deciphering a Java Error Log Report  RSS feed

 
Paul Wyatt
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello
I have been trying to help someone who is running a host application with an Excel API (JExcel, I think).
The set up can be unstable and the JVM can crash producing an error log report. However, It can also
run quite happily for an hour or so. When it does go down, the contents of the report are much the same.
As these log reports are all we have, I was wondering if there is any way to examine/analyse the contents
in order to pinpoint what might be causing them ?
I am new to java, and we have tried contacting the package providers and (predictably) they say that
it must be due to our activities on the workbook coming into conflict with the main process, but they can't
say how or why.

Does anyone know where we can get help, please ?

Thank you
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
Start by posting the most recent stack trace in your log file.
 
Paul Wyatt
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello Campbell and thanks for your response. Im not 100% confident about which part is the stack trace but here goes;
this isnt correct, let me know:
IfTop of Stack: (sp=0x0869f080)
0x0869f080: 0000000c 00000000 0869f76c 02ddd86c
0x0869f090: 1eedcb18 00000003 0c9eebf0 0c9eec50
0x0869f0a0: 0c9eec00 0869f0bc 0869f76c 02dc1dc8
0x0869f0b0: 0c9eebf0 0c9eec00 0869f76c 02a0b9b0
0x0869f0c0: 0000000c 00000000 6da752c8 0869f0e8
0x0869f0d0: 06082f2a 06f21128 0000000c 00000004
0x0869f0e0: 00000000 0869f10c 0869f76c 02d78d60
0x0869f0f0: 06f21128 0869f10c 0869f76c 02db85b8

Instructions: (pc=0x02a0b72e)
0x02a0b70e: bc ff 89 84 24 00 d0 ff ff 55 83 ec 38 8b 74 24
0x02a0b71e: 40 8b 44 24 44 bf 88 e6 df 38 8b bf 90 02 00 00
0x02a0b72e: 8b 06 0f be 59 26 83 fb 00 0f 85 3e 00 00 00 8b
0x02a0b73e: f0 0f bf f6 8b fe c1 e7 08 c1 fe 08 81 e6 ff 00


Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x00000000 is an unknown value
ECX=
[error occurred during error reporting (printing register info), id 0xc0000005]

Stack: [0x08650000,0x086a0000], sp=0x0869f080, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J java.nio.DirectByteBuffer.getInt(J)I
j com.abwg.client.jexcel.JExcelWatchListModel$7.run()V+28
J com.jniwrapper.win32.MessageLoopThread$ThreadAction.run()V
V [jvm.dll+0xfb88b]
V [jvm.dll+0x18d551]
V [jvm.dll+0xfba31]
V [jvm.dll+0xfba8b]
V [jvm.dll+0xb5e89]
V [jvm.dll+0x119b74]
V [jvm.dll+0x14217c]
C [msvcr71.dll+0x9565] endthreadex+0xa0
C [KERNEL32.DLL+0x1495d] BaseThreadInitThunk+0xe
C [ntdll.dll+0x498ee] RtlInitializeExceptionChain+0x84
C [ntdll.dll+0x498c4] RtlInitializeExceptionChain+0x5a
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Is this the same problem you were having here ?
 
Paul Wyatt
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
Joanne
Yes - I wasn't able to get any answers on that, so I thought that I would rephrase and try again. Also, I thought that I was probably wrong to direct it at the beginners forum. Im not sure how to cancel or complete the first one.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Paul Wyatt wrote:Im not sure how to cancel or complete the first one.

It would probably have been better to ask a bartender to move it for you. At least that way all the discussion is kept in the same place and you won't just get the same answers repeated here.
 
Paul Wyatt
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
Joanne
As I said, I also wanted to rephrase the problem to concentrate more on finding someone to help extract information from the log that might
tell us what to do or not to do to overcome these errors.
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
Joanne is right (thank you for noticing). Continuing the discussion here is likely to lead to unnecessary duplication of effort, so I am closing this version of the discussion.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!