Laur's blog
Sign in Subscribe

virtual

A collection of 2 posts
Stop moving files in ESXi
esxi

Stop moving files in ESXi

The other day I had an issue with a VM on my ESXi (old-ish) install and I needed to move a VM to a new location. Unfortunately, the VM was quite big (about 200G) and the move process went reeeallyyy slooooow. I mean it :). I needed to abort the move
Jul 11, 2024 1 min read
NullPointerException - getInstrumentation().getContext()
android

NullPointerException - getInstrumentation().getContext()

Here's a beginner mistake... The following code: public class ReactiveApiTest extends InstrumentationTestCase { protected LocalJsonClient mLocalJsonClient; public ReactiveApiTest() { super(); mLocalJsonClient = new LocalJsonClient( getInstrumentation().getContext() ); } // ... } Throws an exception: Attempt to invoke virtual method 'android.content.Context android.app.Instrumentation.getContext()' on a null object reference It to
Mar 11, 2015 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost