Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » View generated by wizard crashes
View generated by wizard crashes [message #1780868] Mon, 29 January 2018 11:54
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

This is probably just a stupid mistake from my side, but I can't see what is wrong.

I have an older plugin (3.x) and I thought I'd add a view. I am now using Oxygen and I created a view with the wizard, choosing to create a sample view. The generated code contains
@Inject IWorkbench workbench;
which doesn't seem to work at runtime, as the workbench value is null.

Do I have to update other parts of the plugin to work with the new stuff? Or is the wizard generating wrong code?

best regards,
Vlad
Previous Topic:NullPointerException when dragging tab to a new location with custom perspectives
Next Topic:TargetPlatform: org.apache.commons.logging-1.2 does not Show up in run configuration
Goto Forum:
  


Current Time: Fri Apr 26 08:24:34 GMT 2024

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

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

Back to the top