Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-mtj-dev] InstantiationException on device

Hi Jon

Does your device have a default constructor declared? You must publish your device package in the plug-in manifest(runtime -> exported package) also. 

Diego

-----Original Message-----
From: dsdp-mtj-dev-bounces@xxxxxxxxxxx on behalf of Jon Dearden
Sent: Fri 5/1/2009 10:20 AM
To: Mobile Tools for The Java Platform mailing list
Subject: [dsdp-mtj-dev] InstantiationException on device
 
Hi all,

 

I am getting an InstantiationException when MTJ tries to load up the
DeviceRegistry with my devices. My Device class extends
AbstractMIDPDevice. Anyone have any hints?

 

 

Cheers, 

Jon

 

 

!ENTRY org.eclipse.mtj.core 4 0 2009-04-30 15:23:00.193

!MESSAGE InstantiationException: jon.mtj.toolkit.Device

!STACK 0

org.eclipse.mtj.core.persistence.PersistenceException:
InstantiationException: jon.mtj.toolkit.Device

       at
org.eclipse.mtj.internal.core.persistence.XMLPersistenceProvider.createP
ersistableInstance(XMLPersistenceProvider.java:469)

       at
org.eclipse.mtj.internal.core.persistence.XMLPersistenceProvider.loadPer
sistable(XMLPersistenceProvider.java:211)

       at
org.eclipse.mtj.internal.core.sdk.device.DeviceRegistry.loadUsing(Device
Registry.java:291)

       at
org.eclipse.mtj.internal.core.sdk.device.DeviceRegistry.load(DeviceRegis
try.java:262)

 

 

 

---

Senior Software Developer, Eclipse Tools

Research In Motion

905-629-4746 x15333 / Mobile: 519 500-23167

jdearden@xxxxxxx

 


---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

<<winmail.dat>>


Back to the top