Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [forms] Does Eclipse Forms require osgi?
[forms] Does Eclipse Forms require osgi? [message #325521] Wed, 20 February 2008 19:34 Go to next message
Eclipse UserFriend
Please let me know if this is the incorrect newsgroup.

I receive a null pointer exception when I try to set a message on an
ManagedForm (running as a simple java application, i.e. no osgi):

Thread [main] (Suspended (exception NullPointerException))
FindSupport.buildNLVariants(String) line: 37
FindSupport.<clinit>() line: 31
FileLocator.find(Bundle, IPath, Map) line: 86
BusyIndicator.loadProgressImage() line: 72
BusyIndicator.<init>(Composite, int) line: 60
TitleRegion.ensureBusyLabelExists() line: 385
TitleRegion.updateImage(Image, boolean) line: 328
FormHeading.showMessage(String, int, IMessage[]) line: 984
Form.setMessage(String, int, IMessage[]) line: 658
ScrolledForm.setMessage(String, int, IMessage[]) line: 255
MessageManager.update(ArrayList) line: 463
MessageManager.updateForm() line: 435
MessageManager.addMessage(Object, String, Object, int, Control) line: 297
MyTest$1.keyPressed(KeyEvent) line: 140
TypedListener.handleEvent(Event) line: 154
EventTable.sendEvent(Event) line: 66
Text(Widget).sendEvent(Event) line: 938
Text(Widget).sendEvent(int, Event, boolean) line: 962
Text(Widget).sendEvent(int, Event) line: 947
Text(Widget).sendKeyEvent(int, int, int, int, Event) line: 975
Text.sendKeyEvent(int, int, int, int, Event) line: 1299
Text(Widget).sendKeyEvent(int, int, int, int) line: 971
Text(Widget).wmChar(int, int, int) line: 1285
Text(Control).WM_CHAR(int, int) line: 3772
Text.WM_CHAR(int, int) line: 2018
Text(Control).windowProc(int, int, int, int) line: 3672
Text.windowProc(int, int, int, int) line: 2013
Display.windowProc(int, int, int, int) line: 4351
OS.DispatchMessageW(MSG) line: not available [native method]
OS.DispatchMessage(MSG) line: 2265
Display.readAndDispatch() line: 3291
MyTest(Window).runEventLoop(Shell) line: 820
MyTest(Window).open() line: 796
MyTest.main(String[]) line: 169
Re: [forms] Does Eclipse Forms require osgi? [message #325542 is a reply to message #325521] Thu, 21 February 2008 11:43 Go to previous message
Eclipse UserFriend
Does org.eclipse.ui.forms support running in a simple SWT/JFace app? My
guess is no, since it depends on org.eclipse.ui (and through that
probably the Workbench as well) but I might be wrong.

It might be that you need to include a number of the equinox/osgi jar
files so that it can find the correct classes, even if you are not
running an OSGi/Eclipse application

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Previous Topic:Programmatically opening the Generate getter and setter Dialog
Next Topic:How to open programetically the "Generate Getters and Setters" dialog.
Goto Forum:
  


Current Time: Sun Jun 29 22:52:57 EDT 2025

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

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

Back to the top