DZone Forums
Go Back   DZone Forums > Community > The DZone Network > Zones
Reload this Page NullPointerException getting with org.eclipse.swt.ole.win32.OleAutomation Object
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jun 2008
Post NullPointerException getting with org.eclipse.swt.ole.win32.OleAutomation Object - 06-03-2008, 07:52 AM

Hi Everyone,

I'm considering switching to SWT OLE for my project but I am having troubles with my test application.
I think there is a some problem with the way ISISServer(Program id) is registered as active x Object
In particular, when I run these two statements :
controlSite = new OleControlSite(oleFrame, SWT.NONE, "ISISServer")
OleAutomation automation = = new OleAutomation(controlSite);
It is giving null pointer exception in the second statement.
I have done some Examples on the Activex Components (Word, Excel ,I Explorer) for these it is working fine and these components an embedded ActiveX Control within a container.
In case of PD F documents of Program id is "AcroExch.Document" it is giving null pointer exception.
At the same for both pd f documents our Active x Objects not embedded with in the container it opens differently from the container.
I need to solve this Exception. I need to know difference between Active x Components of Word, Excel ,I Explorer and the registered Active x Object s.
But This OLE Package should support registered Active x Object s.
Reply With Quote
Reply

Thread Tools
Display Modes

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 send object using j2me jay_goh Java 2 02-04-2009 09:08 PM
override a method in object retruned from super class miroconnect@yahoo.com Java 2 01-29-2009 10:41 AM
filter & sorting data using DataView object Asp.net ashfk .NET 0 12-10-2008 11:36 PM
IObservableValue does not display actual double data type in swt Text object jaydev Eclipse 0 09-15-2008 11:15 AM
library for dumping object content via reflection denis.tsyplakov Java 2 08-28-2008 06:13 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com