Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Cheat Sheets
Cheat Sheets [message #437851] Fri, 11 June 2004 09:53 Go to next message
Anthony Bennis is currently offline Anthony BennisFriend
Messages: 17
Registered: July 2009
Junior Member
Hi,

I'm attempting to use the Eclipse Cheat Sheets in a stand alone SWT
application.

I'm getting the nullPointer excpetion on creation of:

ICheatSheetViewer cheatSheetViewer =
CheatSheetViewerFactory.createCheatSheetView();

Is it possible to use the Cheat sheets outside of Eclipse?



Here's the stack trace:

java.lang.NullPointerException
at
org.eclipse.core.runtime.Platform.getPluginStateLocation(Pla tform.java:346)
at
org.eclipse.ui.internal.cheatsheets.data.CheatSheetSaveHelpe r. <init>(CheatSheetSaveHelper.java:38)
at
org.eclipse.ui.internal.cheatsheets.views.CheatSheetViewer.<init >(CheatSheetViewer.java:71)
at
org.eclipse.ui.cheatsheets.CheatSheetViewerFactory.createChe atSheetView(CheatSheetViewerFactory.java:40)

Regards,
Anthony.
Re: Cheat Sheets [message #438113 is a reply to message #437851] Wed, 16 June 2004 14:30 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
You should ask this on the eclipse.platform newsgroup.

"Anthony Bennis" <anthonybennis@oceanfree.net> wrote in message
news:cabvea$kse$1@eclipse.org...
> Hi,
>
> I'm attempting to use the Eclipse Cheat Sheets in a stand alone SWT
> application.
>
> I'm getting the nullPointer excpetion on creation of:
>
> ICheatSheetViewer cheatSheetViewer =
> CheatSheetViewerFactory.createCheatSheetView();
>
> Is it possible to use the Cheat sheets outside of Eclipse?
>
>
>
> Here's the stack trace:
>
> java.lang.NullPointerException
> at
>
org.eclipse.core.runtime.Platform.getPluginStateLocation(Pla tform.java:346)
> at
>
org.eclipse.ui.internal.cheatsheets.data.CheatSheetSaveHelpe r. <init>(CheatSh
eetSaveHelper.java:38)
> at
>
org.eclipse.ui.internal.cheatsheets.views.CheatSheetViewer.<init >(CheatSheet
Viewer.java:71)
> at
>
org.eclipse.ui.cheatsheets.CheatSheetViewerFactory.createChe atSheetView(Chea
tSheetViewerFactory.java:40)
>
> Regards,
> Anthony.
>
Previous Topic:Planning to implement Auto correct/formatting java code
Next Topic:jface.Wizard enter/leave page event
Goto Forum:
  


Current Time: Thu May 09 02:28:08 GMT 2024

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

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

Back to the top