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.

Firebase Performance Monitoring fails to instrument network traces

See original GitHub issue

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs in the code in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow with the firebase tag.
  • For general Firebase discussion, use the firebase-talk google group.
  • For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: 4.1.2
  • Firebase Component: Performance-Monitoring (Database, Firestore, Storage, Functions, etc)
  • Component version: 19.1.1

[REQUIRED] Step 3: Describe the problem

While insturmenting with firebase performance to enable HTTP traces (https://firebase.google.com/docs/perf-mon/get-started-android#add-perfmon-plugin). I get the following error message

Can't instrument because of null. Copying as is.

Steps to reproduce:

This happens when running any :app:assembleDebug

Relevant Code:

// TODO(you): code here to reproduce the problem

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
notsatyarthcommented, Feb 28, 2021

Hi @jposuna, Sorry I missed that. I am still facing this issue. However I do not have the time right now to create a repro for this. I’ll close the issue the and reopen when I can provide the repro. Thank you very much for helping me with this.

0reactions
jposunacommented, Feb 27, 2021

Thank you @satyarths , we will look into how we can provide a more meaningful error message.

Regarding the issue, I understood from your second message that the issue wasn’t resolved and you were still facing some issue. The questions I was asking for were to debug the issue with:

java.lang.ClassNotFoundException: org.apache.http.impl.client.DefaultHttpClient
java.lang.ClassNotFoundException: io.jsonwebtoken.Jwt
java.lang.ClassNotFoundException: io.jsonwebtoken.Claims

If you are still facing this issue, could you provide the information for the issue? If it’s all solved, please feel free to close the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Performance Monitoring troubleshooting and FAQ - Firebase
Any trace that is not started, not stopped, or stopped before started will not be logged. Check your log messages to make sure...
Read more >
Firebase performance monitoring fails to log custom trace
I'm trying to implement firebase performance monitoring for react-native-firebase. I have followed the official installation guide and it ...
Read more >
Fix performance pitfalls and level up your app with Firebase
Join us on the journey to fix common performance pitfalls on your way to a five star rating for your app. Firebase Performance...
Read more >
How to measure your app's performance - Market Finder
Fix app performance issues, use traces to monitor the performance of specific parts of your app, and see a summarized view in the...
Read more >
Monitor new features with Firebase Performance Monitoring
Learn how to use Performance Monitoring to investigate performance issues and monitor new feature rollouts, roll out a configuration change, ...
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