CFMX 7 - java.lang.NullPointerException occurred whenaccessing a Com object

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFMX 7 - java.lang.NullPointerException occurred whenaccessing a Com object

    I tested the CFMX 7 (developer edition) with an application running in CF MX
    6.1. I found that CFMX 7 is thowing the below error while accessing few of the
    COM methods. Not all the COM calls are failling.

    An exception occurred when accessing a Com object field.
    The cause of this exception was that: java.lang.NullPointerException.

    I first had the doubt that the COM hotfix of 6.1 didn't get carried over to 7.
    But found in macromedia site that 6.1 update has the COM hotfix inbuilt. So I
    hope that is already inbuilt in MX 7.

    Is there any place i can look at which lists what is not supported in CFMX 7
    that was previously supported by MX 6.1?
    Or
    Is this a bug with MX 7? Then, where & when can I find the hotfix?

    Karthi Guest

  2. Similar Questions and Discussions

    1. java.lang.NullPointerException starting JNDI
      any idea what to do about this? -Michael 01/16 11:09:41 Information - Starting client... 01/16 11:09:41 Information - The metrics service is...
    2. Error with Flex 2.0 Beta 3,java.lang.NullPointerException
      Hi, I am using Flex 2.0, Beta 3. I am trying to follow the CFC/Flex examples at <a target=_blank class=ftalternatingbarlinklarge...
    3. Server Crashes: java.lang.NullPointerException / coldfusion.mail.MailSpooler.run
      Howdy all - I'm running Codfusion MX 6.1 (6,1,0,83762) Standard Edition on a Windows 2003 server with SP2. The Java VM version is: 1.4.2-b28. The...
    4. CFMX 6 - java.lang.ExceptionInInitializerError:
      Hi, I am receiving the similar kind or error. I installed Cold Fusion MX 6.0 server on Windows XP and on IIS 5. While trying to open the...
    5. #19327 [Fbk->NoF]: java.lang.UnsatisfiedLinkError: no php_java in java.library.path
      ID: 19327 Updated by: sniper@php.net Reported By: chregu@php.net -Status: Feedback +Status: No...
  3. #2

    Default Re: CFMX 7 - java.lang.NullPointerException occurredwhen accessing a Com object

    No one out there to help me...
    Karthi Guest

  4. #3

    Default Re: CFMX 7 - java.lang.NullPointerException occurredwhen accessing a Com object

    The first few lines of the stacktrace is...

    coldfusion.runtime.com.MethodExcutionException: An exception occurred when
    executing a Com method. at
    coldfusion.runtime.com.ComProxy.invoke(ComProxy.ja va:586) at
    coldfusion.runtime.CfJspPage._invoke(CfJspPage.jav a:1627) at
    cf_EntityEditor_SyncProperty2ecfm1625225855.runPag e

    Karthi Guest

  5. #4

    Default Re: CFMX 7 - java.lang.NullPointerException occurredwhen accessing a Com object

    Just to reply to you that I am having the same problem with the new ColdFusion
    MX 7 Server. I have had COM objects that have worked flawlessly for the
    previous versions. Now they are faily, but not all the time. The error I am
    getting is:

    The cause of this exception was that: AutomationException: 0x800a0d5c - Object
    is no longer valid. in 'ADODB.Field'.

    I have a call in for support to get in touch with me on this.
    I hope to have a solution soon.
    I am grateful that we only updated the developer server and not the live
    server.
    It pays to test everything and not just believe what Macromedia is putting out.


    BretHobbs Guest

  6. #5

    Default Re: CFMX 7 - java.lang.NullPointerException occurredwhen accessing a Com object

    Did you ever come up with a resolution? I am having similar errors using
    cfdocument and can't find any help. I'm getting:

    An exception occurred when performing document processing.
    The cause of this exception was that: java.lang.NullPointerException.

    using:

    <cfdocument format="pdf">
    <cfinclude template="requirements.cfm">
    </cfdocument>

    jjokc1 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139