I got error from my code, but the B4A doesnt show which line code to be error
the log show:
LogCat connected to: B4A-Bridge: GT-I9300 GT-I9300-351869058577423
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
** Service (ngoceh) Destroy **
Ignoring event as service was destroyed.
** Activity (main) Resume **
Installing file.
** Activity (main) Pause, UserClosed = false **
PackageAdded: package:b4a.example
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (ngoceh) Create **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Activity (main) Pause, UserClosed = false **
java.lang.NullPointerException <------------------ Error When change Activity Main To Activity Chat
** Activity (chat) Create, isFirst = true **
** Activity (chat) Resume **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Activity (chat) Pause, UserClosed = true **
** Activity (main) Resume **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Activity (main) Pause, UserClosed = false **
** Service (ngoceh) Start **
java.lang.NullPointerException <--------------------- Error
** Activity (chat) Create, isFirst = false **
** Activity (chat) Resume **
** Service (ngoceh) Start **
** Activity (chat) Pause, UserClosed = true **
Because of this error my "Ngoceh" Service got stuck on waiting response from HTTPclient object(stuck forever until i back to Main Activity, the service execute the HTTP response)
Detail of error:
** Activity (main) Pause, UserClosed = false **
setKeyboardVisibility: false
Launching: ActivityRecord{41bc39c0 b4a.example/.chat}
Changing focus from Window{41c9c190 b4a.example/b4a.example.main paused=true} to null
setInputWindows
Losing focus: Window{41c9c190 b4a.example/b4a.example.main paused=true}
setInputWindows
setInputWindows
java.lang.NullPointerException
setInputWindows
setInputWindows
Changing focus from null to Window{41c234d0 b4a.example/b4a.example.chat paused=false}
setLightsOn(true)
setInputWindows
setInputWindows
Gaining focus: Window{41c234d0 b4a.example/b4a.example.chat paused=false}
** Activity (chat) Create, isFirst = false **
false false
false false
Help me , i already stuck for 2 days
the log show:
LogCat connected to: B4A-Bridge: GT-I9300 GT-I9300-351869058577423
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
** Service (ngoceh) Destroy **
Ignoring event as service was destroyed.
** Activity (main) Resume **
Installing file.
** Activity (main) Pause, UserClosed = false **
PackageAdded: package:b4a.example
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (ngoceh) Create **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Activity (main) Pause, UserClosed = false **
java.lang.NullPointerException <------------------ Error When change Activity Main To Activity Chat
** Activity (chat) Create, isFirst = true **
** Activity (chat) Resume **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Activity (chat) Pause, UserClosed = true **
** Activity (main) Resume **
** Service (ngoceh) Start **
** Service (ngoceh) Start **
** Activity (main) Pause, UserClosed = false **
** Service (ngoceh) Start **
java.lang.NullPointerException <--------------------- Error
** Activity (chat) Create, isFirst = false **
** Activity (chat) Resume **
** Service (ngoceh) Start **
** Activity (chat) Pause, UserClosed = true **
Because of this error my "Ngoceh" Service got stuck on waiting response from HTTPclient object(stuck forever until i back to Main Activity, the service execute the HTTP response)
Detail of error:
** Activity (main) Pause, UserClosed = false **
setKeyboardVisibility: false
Launching: ActivityRecord{41bc39c0 b4a.example/.chat}
Changing focus from Window{41c9c190 b4a.example/b4a.example.main paused=true} to null
setInputWindows
Losing focus: Window{41c9c190 b4a.example/b4a.example.main paused=true}
setInputWindows
setInputWindows
java.lang.NullPointerException
setInputWindows
setInputWindows
Changing focus from null to Window{41c234d0 b4a.example/b4a.example.chat paused=false}
setLightsOn(true)
setInputWindows
setInputWindows
Gaining focus: Window{41c234d0 b4a.example/b4a.example.chat paused=false}
** Activity (chat) Create, isFirst = false **
false false
false false
Help me , i already stuck for 2 days