<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Knowledge Base: J-Integra : J-Integra for COM : ERRMSG</title><description>Knowledge Base: J-Integra : J-Integra for COM : ERRMSG RSS 2.0 Feed</description><link>http://j-integra.intrinsyc.com/support/kb/</link><webMaster>j-integra_support@intrinsyc.com</webMaster><lastBuildDate>Sat, 18 Apr 2026 14:01:36 GMT</lastBuildDate><ttl>20</ttl><generator>Knowledge Base: J-Integra</generator><item><title>Resolving Compilation Errors for ACTIVEDS.DLL</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=107101</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Resolving Compilation Errors for ACTIVEDS.DLL&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;When generating proxies for activeds.dll, the IADsADSystemInfo interface's 'get_IsNativeMode' conflicts with J-Integra's Dispatch object's 'isNativeMode' method, leading to the following compilation error:&lt;BR&gt;&lt;BR&gt;&lt;CENTER&gt;&lt;TABLE cellSpacing=0 cellPadding=0 width="80%" bgColor=#dedede&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;IADsADSystemInfoProxy.java:231: isNativeMode() in Adsi.IADsADSystemInfoProxy cannot override isNativeMode() in com.linar.jintegra.Dispatch; overridden method is static public boolean isNativeMode () throws java.io.IOException, com.linar.jintegra.AutomationException &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/CENTER&gt;&lt;BR&gt;Because J-Integra has no mechanism for resolving this naming conflict, the proxies associated with the IADsADSystemInfo interface must be manually modified to change the method 'isNativeMode' to 'isNativeMode2' (or another name). This can be done by modifying the proxies in the following manner: &lt;UL&gt;&lt;LI&gt;AdSystemInfo.java: &lt;BR&gt;On Line 302, change 'isNativeMode' to 'isNativeMode2' On line 304, change call to 'isNativeMode' to 'isNativeMode2' &lt;LI&gt;IADsADSystemInfo.java:&lt;BR&gt;On line 103, change 'isNativeMode' to 'isNativeMode2' &lt;LI&gt;IADsADSystemInfoProxy.java:&lt;BR&gt;On line 231, change 'isNativeMode' to 'isNativeMode2'&lt;/LI&gt;&lt;/UL&gt;These changes have already been made to pre-compiled versions of these proxies, available via the &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=81869" target=_blank&gt;Precompiled Java Proxy JAR Files&lt;/A&gt; knowledge base article. </description><pubDate>Tue, 24 Aug 2010 05:16:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.lang.NullPointerException</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183253</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.lang.NullPointerException&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#NullPointerException"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Thu, 11 Jun 2009 03:47:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.io.IOException: Unable to establish RPC Connection to DCOM SCM on &amp;lt;hostname/ip&amp;gt; (Bind returned Bind_NAK)</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183257</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.io.IOException: Unable to establish RPC Connection to DCOM SCM on &amp;lt;hostname/ip&amp;gt; (Bind returned Bind_NAK)&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;If using J-Integra for COM, please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#IOException"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;&lt;P&gt;If using J-Integra for Exchange, please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#IOException"&gt;Common J-Integra for Exchange Problems&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:24:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x5 - Access is denied</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183256</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x5 - Access is denied&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;If using J-Integra for COM, please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80070005"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;&lt;P&gt;If using J-Integra for Exchange, please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=129770#AutomationException:%200x5"&gt;Common J-Integra for Exchange Problems&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:17:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x800706f8</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183255</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x800706f8&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x800706f8"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:12:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0xc00e0007 - An invalid handle was passed to a function</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183254</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0xc00e0007 - An invalid handle was passed to a function&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0xc00e0007"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:09:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.lang.ClassNotFoundException</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183252</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.lang.ClassNotFoundException&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#ClassNotFoundException"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:05:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x80020003 - Member not found in ''IDispatch::invoke''</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183251</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x80020003 - Member not found in 'IDispatch::invoke'&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80020003"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 07:02:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.lang.RuntimeException: Attempt to invoke a non-dispatch method on an object that only supports IDispatch</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183250</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.lang.RuntimeException: Attempt to invoke a non-dispatch method on an object that only supports IDispatch&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#IDispatch"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 06:59:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x80010001 - Call was rejected by callee. in ''Invoke''</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183249</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x80010001 - Call was rejected by callee. in 'Invoke'&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80010001"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 06:56:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>AutomationException: 0x80080005 - Server execution failed</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183248</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;AutomationException: 0x80080005 - Server execution failed&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80080005"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 06:52:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>java.lang.ClassCastException</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183247</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;java.lang.ClassCastException&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Please refer to the &lt;A HREF="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#ClassCastException"&gt;Common Java Exceptions&lt;/A&gt; article.&lt;/P&gt;</description><pubDate>Wed, 10 Jun 2009 06:48:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Error "code too large"</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=88972</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Error "code too large"&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;You may get this error if a generated Java proxy file exceeds the maximum length of byte code that a Java compiler can handle. For example, SUN's JDK 1.4.2_01 has a constraint that the length (in bytes) of a Java code cannot exceed 65535 bytes.&lt;/P&gt;&lt;P&gt;For example, consider TaskProxy.java generated from Microsoft Project 2003 &lt;FONT face="Courier New"&gt;C:\Program Files\Microsoft Office\OFFICE11\MSPRJ.OLB&lt;/FONT&gt;. To increase the memory for your Java compiler, you will need to use the -J-mx128m and -J-ms128m options.&lt;/P&gt;However, compilation causes a "code too large" error at compile time: &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG hspace=0 src="http://j-integra.intrinsyc.com/support/kb/Attachments/9480f27f-1c09-49be-ae40-6062.gif" border=0&gt;&lt;/P&gt;&lt;P&gt;The solution is to remove the methods you don't need from the Java class. You can download a slimmed down version of TaskProxy.java &lt;A href="http://j-integra.intrinsyc.com/support/kb/attachments/TaskProxy-GUID673820bb7fc048e6bff1b83401e75b00.zip"&gt;here&lt;/A&gt;.&lt;/P&gt;</description><pubDate>Fri, 20 Feb 2009 07:24:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Windows Error 3 occurred while using J-Integra installer</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183237</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Windows Error 3 occurred while using J-Integra installer&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;You may get the following error when use J-Integra installer.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"&lt;SPAN style="FONT-SIZE: 10pt"&gt;Windows error 3 occurred while loading the Java VM."&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the install package crashes when trying to invoke the JVM on your computer, it's usually an indication that your Java Runtime isn't properly configured. &lt;/P&gt;&lt;P&gt;In your Windows "System Properties" -&gt; "Advanced" -&gt; "Environmental Variables", please check that your have the Java bin folder added to your System Path. &lt;/P&gt;&lt;P dir=ltr style="MARGIN-RIGHT: 0px"&gt;Some variations of the path may be (depending on your installation folder and Java runtime version):&lt;BR&gt;&lt;FONT face="Courier New"&gt;C:\Program Files\Java\JRE 1.6.0\bin&lt;BR&gt;C:\Program Files\Java\JDK 1.6.0\jre\bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If you receive this error while installing J-Integra on an x64 (e.g. Windows Server, XP, Vista) system, the cause is the new "Program Files" structure/naming.  There are 2 possible workarounds:&lt;OL&gt;&lt;LI&gt;Add quotation marks to the path contained in the JAVA_HOME System variable.&lt;BR&gt;e.g. "&lt;FONT face="Courier New"&gt;C:\Program Files (x86)\Java\xxxxxxxx&lt;/FONT&gt;". &lt;B&gt;&lt;I&gt;OR&lt;/B&gt;&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;Uninstall and reinstall the Java JDK to a different directory.&lt;BR&gt;e.g. "&lt;FONT face="Courier New"&gt;C:\Java\xxxxxxxx&lt;/FONT&gt;".&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt; If this doesn't fix the installation problem, please go ahead and download the ZIP version of J-Integra for COM: &lt;A href="http://j-integra.intrinsyc.com/download/default.aspx?ProductId=com"&gt;http://j-integra.intrinsyc.com/download/default.aspx?ProductId=com&lt;/A&gt;.&lt;/P</description><pubDate>Mon, 23 Jun 2008 05:33:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Common Java Exceptions</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Common Java Exceptions&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This article discusses the solutions to these common Java exceptions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80070005"&gt;AutomationException: 0x80070005 - General access denied error&lt;/A&gt;&lt;BR&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80070005"&gt;AutomationException: 0x5 - Access is denied&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#NoClassDefFoundError"&gt;Can't find class com/linar/java2com/Main Package com.linar.jintegra not found in import java.lang.NoClassDefFoundError: com/linar/jintact/Helper&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#ClassCastException"&gt;java.lang.ClassCastException&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80080005"&gt;AutomationException: 0x80080005&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80010001"&gt;AutomationException: 0x80010001 - Call was rejected by callee. in 'Invoke'&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#IDispatch"&gt;java.lang.RuntimeException: Attempt to invoke a non-dispatch method on an object that only supports IDispatch&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#0x80020003"&gt;AutomationException: 0x80020003 - Member not found in 'IDispatch::invoke'&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30337#IOException"&gt;java.io.IOException: Unable to establish RPC Connection to DCOM SCM on HOSTNAME (Bind returned Bind_NAK)&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.asp</description><pubDate>Tue, 03 Jun 2008 03:24:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Com2java Crashes When Generating Proxies</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183244</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;Com2java Crashes When Generating Proxies&lt;/H1&gt;&lt;P&gt;Customers have reported a few cases where the com2java tool crashes when generated proxy files. This problem occurs for a small number of COM type libraries and is due to some changes that were made to the com2java tool and introduced in v1.6. The known type libraries affected by these changes are: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Msado15.dll&lt;/LI&gt;&lt;LI&gt;Vbe6ext.olb&lt;/LI&gt;&lt;LI&gt;Msxml3.olb&lt;/LI&gt;&lt;LI&gt;Shdocvw.dll&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The changes introduced in com2java v1.6 resolved a number of other problems with proxy generation for many other COM type libraries. If you require Java proxy files for any of the above type libraries, you can &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=81869" target=_blank&gt;download precompiled proxy JAR packages from Article Q81869&lt;/A&gt;. &lt;P&gt;&lt;/P&gt;</description><pubDate>Wed, 19 Mar 2008 04:06:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>Errors when Releasing COM Objects from Java Clients</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30927</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;Errors when Releasing COM Objects from Java Clients&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H3&gt;Contents&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30927#SYMPTOMS"&gt;SYMPTOMS&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30927#CAUSE"&gt;CAUSE&lt;/A&gt; &lt;LI&gt;&lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30927#RESOLUTION"&gt;RESOLUTION&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;&lt;A name=SYMPTOMS&gt;&lt;/A&gt;SYMPTOMS&lt;/H2&gt;&lt;P&gt;Sometimes COM objects are not released properly by the Java client. The client itself may execute normally. Errors listed below may be present in the jintegra.log file (note that the timestamp and objRefs will be different).&lt;/P&gt;&lt;FONT face="Courier New"&gt;995005188493 *: Received a fault (code:2147549448) in response to IRemUnknown::RemRelease request, with RPC call id 80&lt;BR&gt;995005188573 *: Error releasing batched objRefs: {00000022-013f-0000-3101-000022000000=30, 00000025-013f-0000-3101-000025000000=30, 00000023-013f-0000-3101-000023000000=5, 00000026-013f-0000-3101-000026000000=5, 00000024-013f-0000-3101-000024000000=5, 00000027-013f-0000-3101-000027000000=5} AutomationException: 0x80010108 - The object invoked has disconnected from its clients. in 'Invoke'&lt;BR&gt;995005188673 *: IOException reading from socket: java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read to Net={aaa.bbb.ccc.ddd[xxxx]...&lt;BR&gt;995005188673 *: RPC Connection Handler waitForResponse(2) failed: connection is dead to Net={{ 0x7, aaa.bbb.ccc.ddd[xxxx]}} Sec={{ .....&lt;BR&gt;995005188673 *: Error releasing all objRefs: java.io.EOFException: The DCOM connection to the remote object has been disconnected (waitForResponse2)&lt;BR&gt;&lt;/FONT&gt;  &lt;H2&gt;&lt;A name=CAUSE&gt;&lt;/A&gt;CAUSE&lt;/</description><pubDate>Tue, 24 Jul 2007 03:04:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>"bad class file. class file has wrong version 50.0, should be 4x.0."</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183240</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;H1&gt;"bad class file. class file has wrong version 50.0, should be 4x.0."&lt;/H1&gt;&lt;P&gt;When compiling your code using the JAR files packaged with J-Integra for COM v2.7 or J-Integra for Exchange v2.7 (excel2007.jar &amp;amp; cdo.jar respectively) , you may receive an error similar to the one below: &lt;P&gt;&lt;TABLE cellPadding=0 rules=none bgColor=#dddddd frame=void x-use-null-cells&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width=10&gt;&lt;/TD&gt;&lt;TD class=code&gt;&lt;PRE&gt;SampleProgram.java:28: cannot access com.intrinsyc.cdo.Session&lt;BR&gt;bad class file: C:\Program Files\J-Integra\Exchange\lib\cdo.jar(com/intrinsyc/cdo/Session.class)&lt;BR&gt;class file has wrong version 50.0, should be 48.0&lt;BR&gt;Please remove or make sure it appears in the correct subdirectory of the classpath.&lt;BR&gt;            Session session = new Session(CDOmachine);&lt;BR&gt;            ^&lt;BR&gt;1 error&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;P&gt;These types of errors are caused by a Java version mismatch between the compiled proxies and your runtime.&lt;/P&gt;&lt;P&gt;Below are a list of some of the version numbers and their corresponding Java runtimes:&lt;BR&gt;Version 50.0 = Java 1.6.x&lt;BR&gt;Version 49.0 = Java 1.5.x&lt;BR&gt;Version 48.0 = Java 1.4.x&lt;/P&gt;&lt;P&gt;To resolve this issue, regenerate the proxies using com2java and compile them with your version of the Java SDK.  Alternatively, you can download some precompiled proxies from our &lt;A href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=81869"&gt;Precompiled Java Proxy JAR Files&lt;/A&gt; KB article.&lt;BR&gt; &lt;BR&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; The downloadable proxies were compiled using Java 1.4, except for Excel 2007, which for compatibility reasons, was compiled using Java 1.5.&lt;/P&gt;</description><pubDate>Tue, 12 Jun 2007 04:36:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>MIDL2021 duplicate id when use MIDL compile java2com generated IDL</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183231</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;MIDL2021 Duplicate ID when use MIDL compile java2com generated IDL&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;You may get the following error when use midl.exe compile idl file generated by J-Integra java2com tool. &lt;/P&gt;&lt;P&gt;&lt;IMG hspace=0 src="http://j-integra.intrinsyc.com/support/kb/Attachments/8e421435-3a23-4dbf-9c3d-de96.gif" border=0&gt;&lt;/P&gt;&lt;P&gt;These midl error occur because of nested classes/interfaces. Notice that, in this case, java.io.PrintWriter extends java.io.Writer which in turn implements java.lang.Appendable. Therefore, the java2com tool generates an interface for each of java.io.PrintWriter, java.io.Writer, and java.lang.Appendable. &lt;/P&gt;&lt;P&gt;Because the COM IDL language does not know anything about Java inheritance, it generates 3 append method signatures for JavaLangAppendable, 6 append method signatures for JavaIoWriter, and 9 append method signatures for JavaIoPrintWriter. However, because of the Java inheritance involved, it ends up giving the same method id to the same append method signatures.&lt;/P&gt;&lt;P&gt;To resolve these errors, you need to use the &lt;STRONG&gt;Name Mappings&lt;/STRONG&gt; option to tell java2com not to generate IDL definitions for the append() methods in java.io.Writer, and java.lang.Appendable:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Run the java2com (gui) tool.&lt;/LI&gt;&lt;LI&gt;Click Settings &amp;gt; Name Mappings.&lt;/LI&gt;&lt;LI&gt;On the left-hand side, click java &amp;gt; io &amp;gt; PrintWriter (its methods will appear to the right).&lt;/LI&gt;&lt;LI&gt;On the right-hand side, deselect the checkboxes beside the last 6 append methods. &lt;IMG hspace=0 src="http://j-integra.intrinsyc.com/support/kb/Attachments/e77b5152-de60-4e07-88cf-8e99.gif" border=0&gt;&lt;/LI&gt;&lt;LI&gt;Save settings and regenerate the proxies.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For more informaiton about J-</description><pubDate>Fri, 03 Nov 2006 06:24:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item><item><title>NullPointerException when Working with ActiveX Controls</title><link>http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30945</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;TABLE cellSpacing=0 width="100%" cellpading="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=bottom&gt;&lt;H1&gt;NullPointerException when Working with ActiveX Controls&lt;/H1&gt;&lt;/TD&gt;&lt;TD vAlign=top align=right&gt;&lt;A href="http://j-integra.intrinsyc.com/products/com/" target=_blank alt="Java/J2EE COM Interoperability Products Page"&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;When working with ActiveX controls, the control must first be displayed before invoking methods on it. If the control is not displayed first, often you will get a NullPointerException.&lt;/P&gt;&lt;P&gt;As an example, if com.activex.MapControl is an ActiveX component, doing something like this may cause a Null-pointer Exception:&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;  com.activex.MapControl mapcontrol = new com.activex.MapControl();&lt;BR&gt;  mapcontrol.zoomIn(); // causes java.lang.NullPointerException&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;In this case, you may have to display the ActiveX component first, as below:&lt;BR&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;  com.activex.MapControl mapcontrol = new com.activex.MapControl();&lt;BR&gt;&lt;BR&gt;  &lt;B&gt;// code to display the MapControl should be placed here:&lt;BR&gt;&lt;/B&gt;  JFrame frame = new JFrame();&lt;BR&gt;  frame.setSize(400, 300);&lt;BR&gt;  frame.getContentPane().setLayout(new BorderLayout());&lt;BR&gt;  frame.getContentPane().add(mapcontrol, BorderLayout.CENTER);&lt;BR&gt;  frame.setVisible(true);&lt;BR&gt;&lt;BR&gt;  mapcontrol.zoomin(); // now it works&lt;/FONT&gt;&lt;/P&gt;&lt;H3&gt;Notes:&lt;/H3&gt;&lt;P&gt;(1) Actually, not all methods will cause a NullPointerException when called before the ActiveX control is displayed. Any &lt;B&gt;setXX()&lt;/B&gt; method can be called beforehand. These &lt;B&gt;setXX()&lt;/B&gt; methods will be queued up and automatically called once the ActiveX control is made visible. &lt;/P&gt;&lt;P&gt;(2) ActiveX controls hosted by J-Integra extend com.linar.jintegra.Ocx, which in turn extends java.awt.Canvas (see the generated proxies for details). All java.awt.Canvas components have a property called &lt;STRONG&gt;preferredSize&lt;/STRONG&gt;. The preferredSize of any ActiveX control that is hosted by J-Integra defaults to 1</description><pubDate>Thu, 17 Aug 2006 16:55:00 GMT</pubDate><dc:creator>J-Integra KB Admin</dc:creator></item></channel></rss>