Re: WOLips can't load prototypes from jar anymore
Re: WOLips can't load prototypes from jar anymore
- Subject: Re: WOLips can't load prototypes from jar anymore
- From: Lachlan Deck <email@hidden>
- Date: Thu, 29 Jan 2009 04:29:55 +1100
On 29/01/2009, at 12:19 AM, Mike Schrag wrote:
Ugh - I'd forgotten to confirm my subscription to woproject-
commits. What was the commit#?
Never mind: 5653
Can a jar person try that out (i tried it on jars inside and
outside the project and it worked)? I also added support for
double-clicking index.eomodeld's from inside the jar, which opens
the right model now, too.
with regards,
jar people? working?
Sorry for the delay ... 3.4.5653 seems okay for working with models
that reference models in jars. i.e., depending on ERPrototypes (which
is in a jar)
works fine for MyEOModel. But as far as *opening* that model on its
own you can see it's not possible to open the erprototypes.eomodeld
itself separately via the *.eomodeld/.
But expanding to reveal the index.eomodeld... double clicking...
... it attempts to open it but shows this dialog:
Having the errors view open at the same time - nothing shows up
initially. Clicking on 'Show' I get a string of errors - but were they
flow on effects? I'm not sure. The NullPointer below is on a different
project. The last stack trace may be of interest.
!SUBENTRY 1 org.maven.ide.eclipse 2 75 2009-01-28 23:23:06.975
!MESSAGE Errors running builder 'Maven Project Builder' on project
'webobjects-webobjects543'.
!SUBENTRY 1 org.maven.ide.eclipse 2 75 2009-01-28 23:23:06.976
!MESSAGE java.lang.NullPointerException encountered while running
Maven Project Builder.
!STACK 0
java.lang.NullPointerException
at
org
.eclipse
.core.internal.events.ResourceDelta.findMember(ResourceDelta.java:108)
at
org
.maven
.ide
.eclipse
.internal.builder.MavenBuilder.hasChangedResources(MavenBuilder.java:
182)
at org.maven.ide.eclipse.internal.builder.MavenBuilder
$2.visit(MavenBuilder.java:134)
at
org
.maven
.ide
.eclipse
.internal
.project.MavenProjectFacade.acceptImpl(MavenProjectFacade.java:227)
at
org
.maven
.ide
.eclipse
.internal.project.MavenProjectFacade.accept(MavenProjectFacade.java:218)
at
org
.maven
.ide
.eclipse
.internal.builder.MavenBuilder.processResources(MavenBuilder.java:131)
at
org
.maven
.ide.eclipse.internal.builder.MavenBuilder.build(MavenBuilder.java:101)
at org.eclipse.core.internal.events.BuildManager
$2.run(BuildManager.java:633)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org
.eclipse
.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at
org
.eclipse
.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager
$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org
.eclipse
.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at
org
.eclipse
.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
341)
at
org
.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
140)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.maven.ide.eclipse 4 0 2009-01-29 03:41:53.668
!MESSAGE Can't read Maven project from /Users/ldeck/.m2/repository/
wonder/core/ERPrototypes/5.0.0-SNAPSHOT/ERPrototypes-5.0.0-SNAPSHOT.pom
!STACK 0
org.apache.maven.extension.ExtensionScanningException: Cannot resolve
pre-scanned plugin artifact (for use as an extension):
org.objectstyle.woproject.maven2:maven-wolifecycle-plugin: Failed to
resolve extension plugin: org.objectstyle.woproject.maven2:maven-
wolifecycle-plugin:maven-plugin:RELEASE
at
org
.apache
.maven
.extension
.DefaultBuildExtensionScanner
.checkModelBuildForExtensions(DefaultBuildExtensionScanner.java:393)
at
org
.apache
.maven
.extension
.DefaultBuildExtensionScanner
.scanInternal(DefaultBuildExtensionScanner.java:187)
at
org
.apache
.maven
.extension
.DefaultBuildExtensionScanner
.scanForBuildExtensions(DefaultBuildExtensionScanner.java:120)
at
org.apache.maven.embedder.MavenEmbedder.readProject(MavenEmbedder.java:
377)
at
org.apache.maven.embedder.MavenEmbedder.readProject(MavenEmbedder.java:
369)
at
org
.maven
.ide
.eclipse
.internal
.project
.MavenProjectManagerImpl.downloadSources(MavenProjectManagerImpl.java:
790)
at
org
.maven
.ide
.eclipse
.internal
.project
.MavenProjectManagerRefreshJob.run(MavenProjectManagerRefreshJob.java:
102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.apache.maven.extension.ExtensionManagerException:
Failed to resolve extension plugin:
org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:maven-
plugin:RELEASE
at
org
.apache
.maven
.extension
.DefaultExtensionManager
.addPluginAsExtension(DefaultExtensionManager.java:247)
at
org
.apache
.maven
.extension
.DefaultBuildExtensionScanner
.checkModelBuildForExtensions(DefaultBuildExtensionScanner.java:389)
... 7 more
Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The
plugin 'org.objectstyle.woproject.maven2:maven-wolifecycle-plugin'
does not exist or no valid version could be found
at
org
.apache
.maven
.plugin
.version
.DefaultPluginVersionManager
.resolvePluginVersion(DefaultPluginVersionManager.java:128)
at
org
.apache
.maven
.plugin
.version
.DefaultPluginVersionManager
.resolvePluginVersion(DefaultPluginVersionManager.java:65)
at
org
.apache
.maven
.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:178)
at
org
.apache
.maven
.extension
.DefaultExtensionManager
.addPluginAsExtension(DefaultExtensionManager.java:218)
... 8 more
!ENTRY org.eclipse.wst.validation 4 0 2009-01-29 03:42:57.908
!MESSAGE
!STACK 0
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:178)
at java.io.DataInputStream.readUTF(DataInputStream.java:565)
at java.io.DataInputStream.readUTF(DataInputStream.java:522)
at
org
.eclipse
.wst.validation.internal.DependencyIndex.init(DependencyIndex.java:147)
at
org
.eclipse
.wst
.validation.internal.DependencyIndex.isDependedOn(DependencyIndex.java:
231)
at
org
.eclipse
.wst.validation.internal.ValBuilderJob.visit(ValBuilderJob.java:207)
at
org
.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:
68)
at
org
.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:
79)
at
org
.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:
79)
at
org
.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:
48)
at
org
.eclipse
.wst.validation.internal.ValBuilderJob.deltaBuild(ValBuilderJob.java:
180)
at
org
.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:
149)
at
org
.eclipse
.wst
.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:
125)
at
org
.eclipse
.core
.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.eclipse.ui 4 0 2009-01-29 03:59:20.349
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:74)
at
org
.eclipse
.jface.viewers.StructuredSelection.<init>(StructuredSelection.java:72)
at org.objectstyle.wolips.eomodeler.editors.EOModelErrorDialog
$1.widgetSelected(EOModelErrorDialog.java:181)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
228)
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:3474)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3064)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.objectstyle.wolips.eomodeler.editors.EOModelEditor
$4.run(EOModelEditor.java:745)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org
.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3338)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3067)
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:
382)
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)
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden