-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPE in theme preferences #130
Comments
I don't understand how you can have this error? Today you cannot add new theme. The "New" button should be disabled. Today tm4e uses CSS to defines themes, but I would like to use TextMate theme (see #2). I have started to develop a TextMate theme parser (like VSCode) but now I must support tokenizeLine2 (like VSCode) (see #38) It's a big work, I must find time to do that -( |
@svenefftinge could you tell me please how you can have this error please. Thanks! |
AFAIR, I simply opened the preferences and tried to change them. |
I'm closing as cannot reproduce. |
When trying to add another theme:
java.lang.NullPointerException
at org.eclipse.tm4e.ui.internal.preferences.ThemePreferencePage$1.selectionChanged(ThemePreferencePage.java:217)
at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:155)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
at org.eclipse.ui.internal.JFaceUtil$$Lambda$8/1294605731.run(Unknown Source)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:152)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2180)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1223)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1252)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:240)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:235)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:400)
The text was updated successfully, but these errors were encountered: