---
** [bugs:#896] Open files not belonging to the shared module cause
IllegalArgumentExceptions**
**Status:** open
**Group:** IntelliJ 0.1
**Labels:** Intellij
**Created:** Sat Mar 25, 2017 05:09 PM UTC by tobous
**Last Updated:** Sat Mar 25, 2017 05:09 PM UTC
**Owner:** tobous
If a file not belonging to the shared module is open during session
initialization, the call to IProject.getFile(IPath) (located in
EditorManager#addProjectResources(String)) causes the IntelliJResourceImpl to
throw a IllegalArgumentException as the #getFile(...) method tries to create an
IFile with the given path and the called on project, which the resource does
not belong to.
There either needs to be a fix in IntelliJProjectImpl#getFile(...), e.g.
returning a IFile stub if the passed resurce does not belong to the project, or
a fix in EditorManager#addProjectResource(...), e.g. using another method to
get the IFile belonging to a resource.
---
Sent from sourceforge.net because dpp-robot@lists.sourceforge.net is subscribed
to https://sourceforge.net/p/dpp/bugs/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/dpp/admin/bugs/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
DPP-Robot mailing list
DPP-Robot@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-robot