Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
0a08d8b6
Commit
0a08d8b6
authored
Apr 08, 2019
by
Ahmed Ashour
Committed by
skylot
Apr 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(gui): NPE if the autosave is enabled and project is initial (PR #565)
parent
7b18d3a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
JadxProject.java
jadx-gui/src/main/java/jadx/gui/settings/JadxProject.java
+7
-5
No files found.
jadx-gui/src/main/java/jadx/gui/settings/JadxProject.java
View file @
0a08d8b6
...
...
@@ -91,6 +91,7 @@ public class JadxProject {
}
public
void
save
()
{
if
(
getProjectPath
()
!=
null
)
{
try
(
BufferedWriter
writer
=
Files
.
newBufferedWriter
(
getProjectPath
()))
{
writer
.
write
(
GSON
.
toJson
(
this
));
saved
=
true
;
...
...
@@ -98,6 +99,7 @@ public class JadxProject {
LOG
.
error
(
"Error saving project"
,
e
);
}
}
}
public
static
JadxProject
from
(
Path
path
,
JadxSettings
settings
)
{
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment