Henrique, this looks exactly the same as the error I got a few weeks
ago. (See Migrations NPE 25/08/2008).
It has to do with ERPrototypes and/or other models being within a jar.
I submitted a patch for this (see thread 'erprototypes ... is not a
File error') which I think Mike committed already. Are you using the
latest nightly?
On 31/10/2008, at 4:37 AM, Henrique Prange (JIRA) wrote:
> NullPointer while trying to generate Migrations
> -----------------------------------------------
>
> Key: WOL-909
> URL: http://issues.objectstyle.org/jira/browse/WOL-909
> Project: WOProject/WOLips
> Issue Type: Bug
> Components: wolips
> Environment: Mac OS X
> WOLips latest nightly build
> Reporter: Henrique Prange
>
>
> java.lang.NullPointerException
> at
> org
> .objectstyle
> .wolips
> .eomodeler
> .core.model.EOEntity.fillInReferencedEntities(EOEntity.java:1094)
> at
> org
> .objectstyle
> .wolips
> .eomodeler
> .core.model.EOEntity.fillInReferencedEntities(EOEntity.java:1119)
> at
> org
> .objectstyle
> .wolips
> .eomodeler.core.model.EOEntity.getReferencedEntities(EOEntity.java:
> 1079)
> at
> org
> .objectstyle
> .wolips
> .eomodeler
> .core.model.EOEntityComparator.compare(EOEntityComparator.java:19)
> at
> org
> .objectstyle
> .wolips
> .eomodeler
> .core.model.EOEntityComparator.compare(EOEntityComparator.java:12)
> at java.util.Arrays.mergeSort(Arrays.java:1284)
> at java.util.Arrays.mergeSort(Arrays.java:1296)
> at java.util.Arrays.sort(Arrays.java:1223)
> at java.util.Collections.sort(Collections.java:159)
> at
> org
> .objectstyle
> .wolips
> .eomodeler
> .core.sql.MigrationGenerator.generate(MigrationGenerator.java:29)
> at
> org
> .objectstyle
> .wolips
> .eomodeler
> .actions
> .GenerateMigrationDialog
> .generateMigration(GenerateMigrationDialog.java:152)
> at
> org
> .objectstyle
> .wolips
> .eomodeler
> .actions
> .GenerateMigrationDialog
> .createDialogArea(GenerateMigrationDialog.java:105)
> at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760)
> at org.eclipse.jface.window.Window.create(Window.java:431)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
> at org.eclipse.jface.window.Window.open(Window.java:790)
> at
> org
> .objectstyle
> .wolips
> .eomodeler
> .actions.GenerateMigrationAction.run(GenerateMigrationAction.java:117)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
> 251)
> at
> org
> .eclipse
> .jface
> .action
> .ActionContributionItem
> .handleWidgetSelection(ActionContributionItem.java:583)
> at org.eclipse.jface.action.ActionContributionItem.access
> $2(ActionContributionItem.java:500)
> at org.eclipse.jface.action.ActionContributionItem
> $5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
> 3482)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
> 2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org
> .eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
> 288)
> at
> org
> .eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
> 488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
> 149)
> at
> org
> .eclipse
> .ui
> .internal.ide.application.IDEApplication.start(IDEApplication.java:
> 113)
> at
> org
> .eclipse
> .equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> at
> org
> .eclipse
> .core
> .runtime
> .internal
> .adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
> 110)
> at
> org
> .eclipse
> .core
> .runtime
> .internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at
> org
> .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 386)
> at
> org
> .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the
> administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
with regards,
--Lachlan Deck
This archive was generated by hypermail 2.0.0 : Thu Oct 30 2008 - 19:37:18 EDT