File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
modules/platform/src/main/java/net/ashald/envfile/platform
src/main/resources/META-INF Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] .
4
4
5
+ ## 3.1.2 - 2019-05-21
6
+
7
+ ### Fixed
8
+
9
+ - Try to recover from ` AssertionError: Already disposed: Project ` , reported via email and in ([ #83 ] )
10
+
5
11
## 3.1.1 - 2019-04-24
6
12
7
13
### Fixed
@@ -99,6 +105,7 @@ This project adheres to [Semantic Versioning].
99
105
[ #70 ] : https://github.com/Ashald/EnvFile/issues/70
100
106
[ #72 ] : https://github.com/Ashald/EnvFile/issues/72
101
107
[ #81 ] : https://github.com/Ashald/EnvFile/issues/81
108
+ [ #81 ] : https://github.com/Ashald/EnvFile/issues/83
102
109
103
110
[ Keep a CHANGELOG ] : http://keepachangelog.com
104
111
[ Semantic Versioning ] : http://semver.org/
Original file line number Diff line number Diff line change @@ -105,7 +105,12 @@ private File getFile() {
105
105
}
106
106
String resolvedPath = path ;
107
107
if (!FileUtil .isAbsolute (resolvedPath )) {
108
- VirtualFile virtualFile = runConfig .getProject ().getBaseDir ().findFileByRelativePath (resolvedPath );
108
+ VirtualFile virtualFile ;
109
+ try {
110
+ virtualFile = runConfig .getProject ().getBaseDir ().findFileByRelativePath (resolvedPath );
111
+ } catch (AssertionError ignored ) { // can bee thrown deep from IoC implementation
112
+ virtualFile = null ;
113
+ }
109
114
if (virtualFile != null ) {
110
115
resolvedPath = virtualFile .getPath ();
111
116
}
Original file line number Diff line number Diff line change 38
38
]]> </description >
39
39
40
40
<change-notes ><![CDATA[
41
- <a href="https://github.com/Ashald/EnvFile/tree/v3.1.1 "><b>v3.1.1 </b></a> (2019-04-24 )
41
+ <a href="https://github.com/Ashald/EnvFile/tree/v3.1.2 "><b>v3.1.2 </b></a> (2019-05-21 )
42
42
<br/>
43
43
<br/>
44
44
45
45
<b>Fixed</b>:
46
46
<ul>
47
- <li>Substitute parent process env vars in IDEA - wasn't working before </li>
47
+ <li>Try to recover from 'AssertionError: Already disposed: Project', reported via email and in </li>
48
48
</ul>
49
49
<br/>
50
50
<br/>
You can’t perform that action at this time.
0 commit comments