GithubHelp home page GithubHelp logo

2.7.7.1 CRASH at XPRIZE sites java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference about robotutor_2019 HOT 4 OPEN

JackMostow avatar JackMostow commented on September 16, 2024
2.7.7.1 CRASH at XPRIZE sites java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference

from robotutor_2019.

Comments (4)

JackMostow avatar JackMostow commented on September 16, 2024

RoboTutor doesn't use TTS, so why is it initializing it??

cmu.xprize.util.TTSsynthesizer.onInit(TTSsynthesizer.java:68)
android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java:824)

from robotutor_2019.

JackMostow avatar JackMostow commented on September 16, 2024

Caused by student exit?
CRASH_20181115_202603_6113001032_release_2.7.7.1.txt
after:
...
{"type":"LOG_DATA","tutor":"activity_selector","class":"TUTORSTATE","tag":"TSTag","time":"1542302174377","data":{"target":"activity_selector","type":"behavior","value":"GOODBYE_BUTTON_BEHAVIOR",".promptAudioI want to stop using RoboTutor":"",".buttonBehaviorSELECT_EXIT":"",".buttonidSbuttonExit":"",".helpAudioI want to stop using RoboTutor":""}},
{"type":"LOG_DATA","tutor":"activity_selector","class":"INFO","tag":"RTag","time":"1542302174504","data":{"target":"ctutor","action":"create","tutorname":"activity_selector"}},
{"class":"BATTERY","tag":"Battery","time":"1542302174507","percent":"0.81","chargeType":"UNPLUGGED"},
{"class":"ERROR","tag":"CTutor","type":"Exception","time":"1542302175161","msg":"ERROR: Non-ITutor child view in:activity_selector","exception":"java.lang.ClassCastException: android.view.SurfaceView cannot be cast to cmu.xprize.robotutor.tutorengine.ITutorObject"},
{"type":"LOG_DATA","tutor":"activity_selector","class":"INFO","tag":"RTag","time":"1542302175162","data":{"target":"ctutorgraph","action":"preenterscene","setdatasource":"[file]dev_data.json"}},
{"class":"VERBOSE","tag":"RTag","type":"TimeStamp","datetime":"11/15/2018 20:16:15","time":"1542302175820","data":{"RoboTutor":"SessionEnd"}},
{"end":"end"}]}

from robotutor_2019.

kevindeland avatar kevindeland commented on September 16, 2024

I added two new folders to Google Drive.

a_crash_examine_0941
a_crash_examine_2942

Each has a collection of all CRASH and PERF files logged between 11/15 and 11/16 for a given tablet.

Many of the CRASH logs contain the hashCode() error. The goal is to map each of these crashes to a corresponding PERF log.
Some of the CRASH logs contain the StringOutOfBoundsException error called from TBpComponent.trackAndLogPerformance(). These will each map to a PERF log that ends with a bpop.addsub activity. This relationship can be used as a sort of "ground truth" between the CRASH and the PERF logs.

from robotutor_2019.

kevindeland avatar kevindeland commented on September 16, 2024

For reference, here are the types of Crashes in each of the CRASH log files, where HASH indicates the crash mentioned here, STRING indicates the StringOutOfBoundsException, and MEM indicates an OutOfMemoryError.

2942

  • CRASH_20181110_085415_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_140436_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_145629_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_145748_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_152530_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_174326_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_180426_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_180612_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_181442_6118002942_release_2.7.7.1 HASH
  • CRASH_20181115_185640_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_185704_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_190651_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_190814_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_190854_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_192455_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_193509_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_194146_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_194228_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_201746_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_203536_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_204122_6118002942_release_2.7.7.1 STRING
  • CRASH_20181115_213426_6118002942_release_2.7.7.1 HASH
  • CRASH_20181116_080655_6118002942_release_2.7.7.1 STRING
  • CRASH_20181116_080841_6118002942_release_2.7.7.1 STRING
  • CRASH_20181116_081452_6118002942_release_2.7.7.1 HASH
  • CRASH_20181116_090544_6118002942_release_2.7.7.1 HASH

0941

  • CRASH_20181110_085743_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181115_173753_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181115_174732_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181115_182024_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181115_184934_5A27000941_release_2.7.7.1 MEM
  • CRASH_20181115_185149_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181115_185150_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181115_192830_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181115_200252_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181115_210153_5A27000941_release_2.7.7.1 MEM
  • CRASH_20181115_211107_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181116_070443_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181116_074336_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181116_113037_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181116_113457_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181116_122242_5A27000941_release_2.7.7.1 HASH
  • CRASH_20181116_134808_5A27000941_release_2.7.7.1 STRING
  • CRASH_20181116_134834_5A27000941_release_2.7.7.1 STRING
  • CRASH_20181116_134914_5A27000941_release_2.7.7.1 STRING
  • CRASH_20181116_134943_5A27000941_release_2.7.7.1 STRING
  • CRASH_20181116_135049_5A27000941_release_2.7.7.1 STRING
  • CRASH_20181116_135146_5A27000941_release_2.7.7.1 STRING
  • CRASH_20181116_135245_5A27000941_release_2.7.7.1 STRING
  • CRASH_20181116_135538_5A27000941_release_2.7.7.1 STRING
  • CRASH_20181116_135620_5A27000941_release_2.7.7.1 STRING

from robotutor_2019.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.