Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#24 Categories raises exeptions, nothing works

open
nobody
None
5
2014-08-24
2005-12-01
Anonymous
No

Hi Jmoney
I'm looking for a accountin software and I think your
application would be great for me!

I did not import anything, started a new project from
scratch(file->new)

Well, I tried to create some categories. I am not able
to do anything in there, create new category, create
subcategorie does not work, see stack trace below. I
was able to create some bank accounts without errors.

Used 1.0pre1 RCP on windows xp, java -version:

C:\Documents and Settings\Administrator>java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed
mode, sharing)

Please contact me if you fixed this, I really like to
use Jmoney! Thanks, Remo - remo.liechti@gmail.com

Error 2005-12-01 21:51:27.984 Unhandled event loop
exception
Error 2005-12-01 21:51:27.984 Widget is disposed
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.SWT.error(SWT.java:2836)
at org.eclipse.swt.widgets.Widget.error(Widget.java:395)
at
org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:297)
at
org.eclipse.swt.widgets.Tree.getSelection(Tree.java:1222)
at
org.eclipse.jface.viewers.TreeViewer.getSelection(TreeViewer.java:413)
at
org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:580)
at
org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:1618)
at
org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1494)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1208)
at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1289)
at
net.sf.jmoney.bookkeepingPages.CategoryPage$1.objectAdded(CategoryPage.java:199)
at
net.sf.jmoney.model2.ObjectCollection$1.fire(ObjectCollection.java:57)
at
net.sf.jmoney.JMoneyPlugin$1.sessionChanged(JMoneyPlugin.java:95)
at
net.sf.jmoney.model2.Session.fireEvent(Session.java:351)
at
net.sf.jmoney.model2.ObjectCollection.createNewElement(ObjectCollection.java:54)
at
net.sf.jmoney.model2.Session.createAccount(Session.java:435)
at
net.sf.jmoney.bookkeepingPages.CategoryPage$5.run(CategoryPage.java:431)
at
org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at
net.sf.jmoney.JMoneyApplication.run(JMoneyApplication.java:40)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

Discussion