question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I recently got this log in one of our apps and wanted to reach out. It was a Motorola 6 that it’s from.

Fatal Exception: java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord.
       at android.media.AudioRecord.startRecording(AudioRecord.java:894)
       at omrecorder.PullTransport$AbstractPullTransport.preparedSourceToBePulled(PullTransport.java:89)
       at omrecorder.PullTransport$AbstractPullTransport.start(PullTransport.java:70)
       at omrecorder.AbstractRecorder$1.run(AbstractRecorder.java:29)
       at java.lang.Thread.run(Thread.java:818)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
nzalacommented, Apr 13, 2017

add

if (recorder == null) return; if (recorder != null) { recorder.stopRecording(); pulltransport.audioSource().release(); recorder = null; } @jpack1337

1reaction
kenchoongcommented, Sep 6, 2020

add

if (recorder == null) return; if (recorder != null) { recorder.stopRecording(); pulltransport.audioSource().release(); recorder = null; } @jpack1337

And this:

yes i have @jpack1337 u need call recordInstance.release().

Life saving answer… Thank you very much

Read more comments on GitHub >

github_iconTop Results From Across the Web

PullTransport (om-recorder 1.1.0 API)
All Known Implementing Classes: PullTransport. ... A PullTransport is a object who pulls the data from AudioSource and transport it to OutputStream ...
Read more >
OmRecorder/PullTransport.java at master - GitHub
A Simple Pcm / Wav audio recorder with nice api. https://play.google.com/store/apps/details?id=com.kingbull.omrecorder - OmRecorder/PullTransport.java at ...
Read more >
@fullpull_transport • Instagram photos and videos
Full Pull Transport, LLC - SF BAY AREA'S #1 transport and towing company Dispatch@fullpulltransport.com TEXT 408-497-7742 for your next haul.
Read more >
Company Snapshot PERFECT PULL TRANSPORT LLC
Entity Type: CARRIER. Operating Status: NOT AUTHORIZED, Out of Service Date: None. Legal Name: PERFECT PULL TRANSPORT LLC.
Read more >
Full Pull Transport, LLC - Facebook
Full Pull Transport. If you have a CDL or know someone with a CDL we will teach you the art of auto hauling!...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found