Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException #104

tianxiaogu opened this Issue Nov 4, 2017 · 1 comment


None yet
2 participants
Copy link

tianxiaogu commented Nov 4, 2017

General information

  • Device: Android Emulator and Nexus 5
  • Android Version: Android 6.0.1
  • App version: v0.1.5 (6) from FDroid
[APE] // CRASH: net.gsantner.markor (pid 4041) (elapsed nanos: 1890761323424)
[APE] // Short Msg: java.lang.NullPointerException
[APE] // Long Msg: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String' on a null object reference
[APE] // Build Label: Android/sdk_google_phone_x86/generic_x86:6.0/MASTER/4088240:userdebug/test-keys
[APE] // Build Changelist: 4088240
[APE] // Build Time: 1497047463000
[APE] // java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String' on a null object reference
[APE] // 	at net.gsantner.markor.activity.NoteActivity.saveNote(
[APE] // 	at net.gsantner.markor.activity.NoteActivity.previewNote(
[APE] // 	at net.gsantner.markor.activity.NoteActivity.onOptionsItemSelected(
[APE] // 	at
[APE] // 	at
[APE] // 	at
[APE] // 	at
[APE] // 	at
[APE] // 	at$2.onMenuItemClick(
[APE] // 	at$1.onMenuItemClick(
[APE] // 	at$MenuBuilderCallback.onMenuItemSelected(
[APE] // 	at
[APE] // 	at
[APE] // 	at
[APE] // 	at
[APE] // 	at
[APE] // 	at
[APE] // 	at android.view.View.performClick(
[APE] // 	at android.view.View$
[APE] // 	at android.os.Handler.handleCallback(
[APE] // 	at android.os.Handler.dispatchMessage(
[APE] // 	at android.os.Looper.loop(
[APE] // 	at
[APE] // 	at java.lang.reflect.Method.invoke(Native Method)
[APE] // 	at$
[APE] // 	at
[APE] //

Steps to reproduce

  1. Click new button
  2. Do not input title and click preview
  3. Click edit
  4. Input a random title
  5. Click preview

A sequence of screenshots can be found following these instructions.
Following instructions at

  1. Open
  2. Click Start button to adjust the view.
  3. Type 348 and click Select, click the highlighted event in the timeline. You will see a picture of the screenshot below.
    • The reproduce steps start at 348 and end at 351
    • Use Move Right or drag the timeline to move right.

Expected result

What is the expected output?

What do you see instead?


This comment has been minimized.

Copy link

gsantner commented Nov 4, 2017

fixed in 0.1.6 (released)

@gsantner gsantner closed this Nov 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.