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.

NPE on first run (MacOS)

See original GitHub issue

MacOS 10.12.2 Rust 1.12.1 Cargo 0.13.0

null
java.lang.NullPointerException
	at org.rust.cargo.toolchain.impl.CargoMetadata.clean(CargoMetadata.kt:116)
	at org.rust.cargo.toolchain.Cargo.fullProjectDescription(Cargo.kt:52)
	at org.rust.cargo.project.workspace.impl.CargoProjectWorkspaceImpl$UpdateTask.run(CargoProjectWorkspaceImpl.kt:165)
	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:710)
	at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:179)
	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:164)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:309)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
mechkgcommented, Jan 12, 2017

Updating to a newer version or Cargo solves the issue.

1reaction
mkaputcommented, Jan 12, 2017

Hi!

What version of Cargo do you use? Recently very similar issue was reported: #916

Read more comments on GitHub >

github_iconTop Results From Across the Web

Null Pointer Exception on MacOS Big Sur - Forum - Modelio
Hi, It seems that a folder name with a space in the path of the JVM launch an error (parsing error maybe ?)....
Read more >
junit in eclipse null pointer exception MAC - Stack Overflow
There seems to be an configuration issue with my Eclipse copy. I have reinstalled the eclipse and this issue resolved.
Read more >
Processing 3.5.4 fails to start with Java NullpointerException ...
4. Issue Java NullPointerException at startup -ContributionManager. java #5823 occurred on fresh install; this problem is fixed by a fresh  ...
Read more >
PDI will not start under MacOS Catalina 10.15 | Pentaho
PDI will not start under MacOS Catalina 10.15 · Click the latest version number (it was 4.16 for me) · Click 'SWT Binary...
Read more >
Null pointer exception from JDBC driver - Snowflake Community
Hi,. I am using snowflake JDBC driver 3.8.5. I was able to make a connection to my Snowflake server. However, when I was...
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