← Back to team overview

sikuli-driver team mailing list archive

[Bug 907726] Re: X-1.0: Region.text(): Null pointer exception with testing frameworks --- fix proposed

 

** Tags added: sikuliinit

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/907726

Title:
  X-1.0: Region.text(): Null pointer exception with testing frameworks
  --- fix proposed

Status in Sikuli:
  Fix Committed

Bug description:
  In all versions of 1.0 of Sikuli on Windows and Mac a Null pointer
  exception is thrown when used within testing frameworks that implement
  their own classloader.

  Fix: Update https://github.com/sikuli/sikuli/blob/develop/sikuli-script/src/main/java/org/sikuli/script/ResourceExtractor.java, Line 17 from:
  ClassLoader cl = ClassLoader.getSystemClassLoader();
  to
  ClassLoader cl = ResourceExtractor.class.getClassLoader();

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/907726/+subscriptions


References