Jacob with Office 2010

  • inge

    inge - 2012-02-28

    I use a Java application that exports data to an Excel document - this worked fine with Office 2007 on WinXP with Java 1.5 installed. Now we have merged to Windows 7 with Java 6 and Office 2010. When using the Java application now it fails with the following information in logfile:

    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x76f25345, pid=7948, tid=7016
    # JRE version: 6.0_22-b04
    # Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # C 
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.

    ----------  T H R E A D  ----------

    Current thread (0x05e54c00):  JavaThread "AWT-EventQueue-2"

    siginfo: ExceptionCode=0xc0000005, writing address 0x09800000

    EAX=0x00000000, EBX=0x0708ea94, ECX=0x00000001, EDX=0x00000000
    ESP=0x0708e914, EBP=0x0708e948, ESI=0x75e0b20c, EDI=0x09800000
    EIP=0x76f25345, EFLAGS=0x00010202

    Top of Stack: (sp=0x0708e914)
    0x0708e914:   0708e990 76ce4fe5 09800000 00000000
    0x0708e924:   00000004 00000001 75e06840 0019fccc
    0x0708e934:   00000000 75e06892 00000000 00000007
    0x0708e944:   476ce964 0708ed64 76d556de 0708ea90
    0x0708e954:   160ed619 00000000 0708f088 00000000
    0x0708e964:   00000000 754a7190 001a7f68 00190790
    0x0708e974:   00000006 0708e98c 00000000 754a71a8
    0x0708e984:   754a7190 00000000 00000000 0708e964

    Instructions: (pc=0x76f25345)
    0x76f25335:   c8 c1 e0 10 03 c1 8b ca 83 e2 03 c1 e9 02 74 06
    0x76f25345:   f3 ab 85 d2 74 0a 88 07 83 c7 01 83 ea 01 75 f6

    Stack: ,  sp=0x0708e914,  free space=13a0708e2dck
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  com.jacob.com.Dispatch.invokev(Ljava/lang/Object;Ljava/lang/String;III[Lcom/jacob/com/Variant;[I)Lcom/jacob/com/Variant;+0
    j  com.jacob.activeX.ActiveXComponent.getProperty(Ljava/lang/String;)Lcom/jacob/com/Variant;+39

    Has anybody else encountered this problem and can you please tell me how to solve it!

    Is Office 2010 not supported by jacob? Or is the version of jacob that I use just too old?

    Thanks for your help!


  • RRR

    RRR - 2013-10-31

    Is this problem resolved ?


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks