History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OSMORC-27
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Robert F. Beeger
Reporter: gui
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Osmorc

Exception during dependency sync

Created: 17 May 08 21:03   Updated: 22 Jun 08 00:28
Component/s: None
Affects Version/s: 0.5.0
Fix Version/s: 0.6.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
idea 7.0.3 on win xp
Edited manifest file manually outside of intellij. When activating intellij frame again, this happened


 Description  « Hide
Assertion failed:
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:96)
at com.intellij.openapi.roots.impl.RootModelImpl.addModuleOrderEntry(RootModelImpl.java:150)
at net.beeger.osmorc.ModuleDependencySynchronizer$1.run(ModuleDependencySynchronizer.java:118)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:98)
at net.beeger.osmorc.ModuleDependencySynchronizer.syncDependenciesFromManifest(ModuleDependencySynchronizer.java:62)
at net.beeger.osmorc.OsmorcProjectComponent.syncAllModuleDependencies(OsmorcProjectComponent.java:111)
at net.beeger.osmorc.OsmorcProjectComponent.access$200(OsmorcProjectComponent.java:46)
at net.beeger.osmorc.OsmorcProjectComponent$2.run(OsmorcProjectComponent.java:97)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:19)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:131)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:132)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:136)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

 All   Comments   Work Log   Change History      Sort Order:
Robert F. Beeger - 15 Jun 08 23:37
Thanks for the report.
Do you still know what you changed in the manifest?
In the current development version this problem doesn't seem to occur. Probably we fixed it as a side effect of the other changes.
I'll try it with 0.5.0 sometime this week.
Anyways, any information telling us how to reproduce it, would be helpful. So we could make sure that it's not some specific situation in your project that will continue to produce this error in the next release.

Robert F. Beeger - 22 Jun 08 00:28
Actually the real problem here doesn't seem to be editing a manifest outside of IDEA. That works perfectly. A Require-Bundle statement that makes a bundle require itself produces the exception shown in the bug report. Osmorc now doesn't try to add module dependencies from a module to itself even if the manifest requires it.