Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Odd exception creating Display
Odd exception creating Display [message #29324] Thu, 31 May 2007 17:56 Go to next message
Roberto Sanchez is currently offline Roberto SanchezFriend
Messages: 82
Registered: July 2009
Member
Hi, I've just deploy my app in tomcat and found a odd exception
creating Display, can anyone tell me something about this ?


osgi> java.lang.UnsupportedOperationException
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:267)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:222)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:200)
at
org.eclipse.ui.internal.Workbench.initializeImages(Workbench .java:1327)
at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:382)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:159)
at com.autonomind.amvitae.EntryPoint.createUI(EntryPoint.java:2 6)


public class EntryPoint implements IEntryPoint {

public Display createUI() {
// This is the line that throws the Exception:
final Display display = PlatformUI.createDisplay();

[...]

return display;
}




All bundles are "ACTIVE" and I'm working in the same machine (MacOS X)
with eclipse without problems, the JRE is the same (for eclipse and tomcat).

Any idea ?

Thanks in advance
Roberto.
Re: Odd exception creating Display [message #29401 is a reply to message #29324] Thu, 31 May 2007 18:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Roberto,

this is probably because the build.properties weren't up to date. We
just fixed this in CVS HEAD, thus updating should do.

Cheers,
Rüdiger


Roberto Sá‡nchez wrote:
> Hi, I've just deploy my app in tomcat and found a odd exception
> creating Display, can anyone tell me something about this ?
>
>
> osgi> java.lang.UnsupportedOperationException
> at
> org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:267)
>
> at
> org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:222)
>
> at
> org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:200)
>
> at
> org.eclipse.ui.internal.Workbench.initializeImages(Workbench .java:1327)
> at
> org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:382)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:159)
> at com.autonomind.amvitae.EntryPoint.createUI(EntryPoint.java:2 6)
>
>
> public class EntryPoint implements IEntryPoint {
>
> public Display createUI() {
> // This is the line that throws the Exception:
> final Display display = PlatformUI.createDisplay();
>
> [...]
>
> return display;
> }
>
>
>
>
> All bundles are "ACTIVE" and I'm working in the same machine (MacOS X)
> with eclipse without problems, the JRE is the same (for eclipse and
> tomcat).
>
> Any idea ?
>
> Thanks in advance
> Roberto.
Re: Odd exception creating Display [message #29474 is a reply to message #29401] Thu, 31 May 2007 18:35 Go to previous message
Roberto Sanchez is currently offline Roberto SanchezFriend
Messages: 82
Registered: July 2009
Member
Hi Rüdiger, problem fixed.

Thank you again ;-)


Rüdiger Herrmann escribió:
> Roberto,
>
> this is probably because the build.properties weren't up to date. We
> just fixed this in CVS HEAD, thus updating should do.
>
> Cheers,
> Rüdiger
>
>
> Roberto Sá‡nchez wrote:
>> Hi, I've just deploy my app in tomcat and found a odd exception
>> creating Display, can anyone tell me something about this ?
>>
>>
>> osgi> java.lang.UnsupportedOperationException
>> at
>> org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:267)
>>
>> at
>> org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:222)
>>
>> at
>> org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:200)
>>
>> at
>> org.eclipse.ui.internal.Workbench.initializeImages(Workbench .java:1327)
>> at
>> org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:382)
>> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:159)
>> at com.autonomind.amvitae.EntryPoint.createUI(EntryPoint.java:2 6)
>>
>>
>> public class EntryPoint implements IEntryPoint {
>>
>> public Display createUI() {
>> // This is the line that throws the Exception:
>> final Display display = PlatformUI.createDisplay();
>> [...]
>>
>> return display;
>> }
>>
>>
>>
>>
>> All bundles are "ACTIVE" and I'm working in the same machine (MacOS X)
>> with eclipse without problems, the JRE is the same (for eclipse and
>> tomcat).
>>
>> Any idea ?
>>
>> Thanks in advance
>> Roberto.
Previous Topic:Logging
Next Topic:Plugin Development Question
Goto Forum:
  


Current Time: Fri Apr 26 18:52:43 GMT 2024

Powered by FUDForum. Page generated in 0.03038 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top