← Back to team overview

sikuli-driver team mailing list archive

[Bug 907726] [NEW] Null pointer exception on reading text from a region [Java]

 

Public bug reported:

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();

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
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:
  Null pointer exception on reading text from a region [Java]

Status in Sikuli:
  New

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


Follow ups

References