Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
173331c6
Commit
173331c6
authored
Aug 06, 2024
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #60584【@Form】「マスタデータの取得に失敗しました。画面を更新してください。」が頻発する
parent
f6359afb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ABVJE_BL/src/jp/agentec/abook/abv/bl/download/ContentRefresher.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+3
-1
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/download/ContentRefresher.java
View file @
173331c6
...
@@ -178,7 +178,7 @@ import jp.agentec.adf.util.DateTimeUtil;
...
@@ -178,7 +178,7 @@ import jp.agentec.adf.util.DateTimeUtil;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
Logger
.
e
(
TAG
,
"initializeMasterData Exception"
,
e
);
Logger
.
e
(
TAG
,
"initializeMasterData Exception"
,
e
);
if
(
i
==
3
)
{
//3回目のリトライ失敗時、例外処理投げる。
if
(
i
==
3
)
{
//3回目のリトライ失敗時、例外処理投げる。
throw
e
;
throw
new
Exception
(
"initializeMasterData"
)
;
}
else
{
}
else
{
Thread
.
sleep
(
500
);
//0.5秒間隔でリトライ処理を実行
Thread
.
sleep
(
500
);
//0.5秒間隔でリトライ処理を実行
}
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
173331c6
...
@@ -452,9 +452,11 @@ public class OperationListActivity extends OperationActivity {
...
@@ -452,9 +452,11 @@ public class OperationListActivity extends OperationActivity {
if
(
ex
!=
null
)
{
if
(
ex
!=
null
)
{
// ヘッダーの新着更新処理を完了にさせる
// ヘッダーの新着更新処理を完了にさせる
stopUpdateAnimation
();
stopUpdateAnimation
();
final
ABookAlertDialog
messageDialog
=
AlertDialogUtil
.
createAlertDialog
(
OperationListActivity
.
this
,
R
.
string
.
app_name
);
final
ABookAlertDialog
messageDialog
=
AlertDialogUtil
.
createAlertDialog
(
OperationListActivity
.
this
,
R
.
string
.
app_name
);
if
(
ex
.
getMessage
().
equals
(
"initializeMasterData"
))
{
//マスターデータ取得失敗時
messageDialog
.
setMessage
(
getString
(
R
.
string
.
failed_get_master_data
));
messageDialog
.
setMessage
(
getString
(
R
.
string
.
failed_get_master_data
));
if
(
isAutoSync
()
&&
mAutoSyncingFlg
)
{
}
else
{
messageDialog
.
setMessage
(
getString
(
R
.
string
.
msg_new_content_update_error
));
messageDialog
.
setMessage
(
getString
(
R
.
string
.
msg_new_content_update_error
));
}
}
messageDialog
.
setPositiveButton
(
R
.
string
.
confirm
,
new
DialogInterface
.
OnClickListener
()
{
messageDialog
.
setPositiveButton
(
R
.
string
.
confirm
,
new
DialogInterface
.
OnClickListener
()
{
...
...
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