Re: Bug when importing a WO-project to WOLips??

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Thu Sep 25 2003 - 12:26:30 EDT

  • Next message: Chuck Hill: "Re: building wolips on osx: longer than 100 characters"

    Hi Endre,

    the import makes a copy from the old project. In your case the from
    location is the same as the destination. Try to checkout your project
    to a different location and import it from there.

    Ulrich

    On Thursday, 25. September 2003, at 15:34PM, Endre Rognerud wrote:

    > Hi!
    >
    > I'm using WOLips when developing WO-applications. Now I tried to
    > import an
    > old application into Eclipse/WOLips, but that didn't work. I'm not
    > sure if I
    > did it the WOLips way, but I think it is a bug.
    >
    > Here's what I did:
    >
    > - checked out the project into "c:\eclipse\workspace\avis"
    > - created the "src" folder and moved the java-files
    > - in Eclipse, chose "New project" (WOLips - application)
    > - selected the folder "c:\eclipse\workspace\avis"
    > - marked that "PB.project" should be imported
    > - finish
    >
    > Now nothing happened and an exception appeared in the log. I've pasted
    > in
    > the exception. I'm using "Eclipse 2.1 on Windows XP" and "WOLips
    > 1.0.7.23".
    >
    > Hope you get something out of this :)
    >
    >
    >
    > !ENTRY org.eclipse.ui 4 0 sep 25, 2003 15:02:01.631
    > !MESSAGE java.lang.NullPointerException
    > !STACK 0
    > java.lang.NullPointerException
    > at
    > org.objectstyle.wolips.wizards.WOApplicationCreationPage.createProject(
    > WOApp
    > licationCreationPage.java:138)
    > at
    > org.objectstyle.wolips.wizards.WOApplicationCreationWizard.performFinis
    > h(WOA
    > pplicationCreationWizard.java:95)
    > at
    > org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:
    > 608)
    > at
    > org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:
    > 321)
    > at
    > org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
    > at
    > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
    > 89)
    > at
    > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    > at
    > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
    > at
    > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
    > at
    > org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
    > at org.eclipse.jface.window.Window.open(Window.java:563)
    > at
    > org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:107)
    > at
    > org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
    > at
    > org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(A
    > ction
    > ContributionItem.java:456)
    > at
    > org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(Actio
    > nCont
    > ributionItem.java:403)
    > at
    > org.eclipse.jface.action.ActionContributionItem.access$0(ActionContribu
    > tionI
    > tem.java:397)
    > at
    > org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEv
    > ent(A
    > ctionContributionItem.java:72)
    > at
    > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    > at
    > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
    > at
    > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
    > at
    > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    > at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    > at
    > org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoade
    > r.jav
    > a:845)
    > at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    > at
    > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
    > va:39
    > )
    > at
    > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
    > rImpl
    > .java:25)
    > at java.lang.reflect.Method.invoke(Method.java:324)
    > at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
    > at org.eclipse.core.launcher.Main.run(Main.java:747)
    > at org.eclipse.core.launcher.Main.main(Main.java:583)
    >
    > --
    > Endre
    >



    This archive was generated by hypermail 2.0.0 : Thu Sep 25 2003 - 12:26:28 EDT