Ich bin dabei eine neue Verein-Instanz in JVerein aufzusetzen.
Beim Anlegen von Beitragsgruppen erhalte ich folgende Fehlermeldung:
Code: Alles auswählen
java.lang.NullPointerException: Cannot invoke "org.eclipse.swt.internal.cocoa.NSWindow.contentView()" because "window" is null
at org.eclipse.swt.widgets.Control.calculateVisibleRegion(Control.java:775)
at org.eclipse.swt.widgets.Control.getVisibleRegion(Control.java:2060)
at org.eclipse.swt.widgets.Control.isObscured(Control.java:2341)
at org.eclipse.swt.widgets.Scrollable.scrollClipViewToPoint(Scrollable.java:347)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6565)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSScrollView.setDocumentView(NSScrollView.java:91)
at org.eclipse.swt.widgets.Scrollable.setZOrder(Scrollable.java:396)
at org.eclipse.swt.widgets.Control.createWidget(Control.java:1026)
at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:167)
at org.eclipse.swt.widgets.Text.createWidget(Text.java:596)
at org.eclipse.swt.widgets.Control.<init>(Control.java:126)
at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:76)
at org.eclipse.swt.widgets.Text.<init>(Text.java:140)
at de.willuhn.jameica.gui.style.StyleFactoryDefaultImpl.createTextArea(StyleFactoryDefaultImpl.java:73)
at de.willuhn.jameica.gui.input.TextAreaInput.getTextWidget(TextAreaInput.java:51)
at de.willuhn.jameica.gui.input.TextInput.getControl(TextInput.java:116)
at de.willuhn.jameica.gui.input.AbstractInput.paint(AbstractInput.java:119)
at de.willuhn.jameica.gui.input.AbstractInput.paint(AbstractInput.java:100)
at de.willuhn.jameica.gui.util.Container.addLabelPair(Container.java:98)
at de.jost_net.JVerein.gui.view.BeitragsgruppeDetailView.bind(BeitragsgruppeDetailView.java:81)
at de.willuhn.jameica.gui.GUI$5.run(GUI.java:714)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
at de.willuhn.jameica.gui.GUI$6.run(GUI.java:911)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5048)
at de.willuhn.jameica.gui.GUI.startSync(GUI.java:907)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:597)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:532)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:569)
at de.jost_net.JVerein.gui.action.BeitragsgruppeDetailAction.handleAction(BeitragsgruppeDetailAction.java:52)
at de.willuhn.jameica.gui.parts.Button$1$1.run(Button.java:174)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
at de.willuhn.jameica.gui.GUI$6.run(GUI.java:911)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5048)
at de.willuhn.jameica.gui.GUI.startSync(GUI.java:907)
at de.willuhn.jameica.gui.parts.Button$1.widgetSelected(Button.java:168)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4441)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4227)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3837)
at de.willuhn.jameica.gui.GUI.loop(GUI.java:928)
at de.willuhn.jameica.gui.GUI.init(GUI.java:331)
at de.willuhn.jameica.system.Application.init(Application.java:145)
at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
at de.willuhn.jameica.Main.main(Main.java:78)
Gib es Ideen, dieses Problem zu beheben?
Viele Grüße
thomas