gajendravaradhan / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

java.lang.NumberFormatException being thrown when running sikuli slides - (copy and paste screenshot bug) #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Downloaded sikuli-slides
2.Open cmd window
3.Typed java -jar sikuli-slides-1.0.0.jar sikuli.pptx

What is the expected output? What do you see instead?
I was expecting sikuli to at least find the images in the screen
I got this message:
Exception in thread "main" java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.sikuli.slides.parsing.SlideParser.startElement(SlideParser.java:113)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknow
n Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStart
Element(Unknown Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentC
ontentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocum
ent(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknow
n Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.sikuli.slides.parsing.SlideParser.parseDocument(SlideParser.java:59)
at 
org.sikuli.slides.core.SikuliPowerPoint.parseSlideFile(SikuliPowerPoint.java:85)
at 
org.sikuli.slides.core.SikuliPowerPoint.runSikuliPowerPoint(SikuliPowerPoint.jav
a:48)
at org.sikuli.slides.guis.MainUI.doSikuliPowerPoint(MainUI.java:33)
at org.sikuli.slides.guis.MainUI.main(MainUI.java:43)

What version of the product are you using? On what operating system?
sikuli-slides version 1.0.0. I am using Windows 7 64-bit and create the .pptx 
file using Microsoft Office Powerpoint 2007.

Please provide any additional information below.

Original issue reported on code.google.com by ciceroau...@gmail.com on 28 Mar 2013 at 5:11

Attachments:

GoogleCodeExporter commented 8 years ago
@ciceroaugusto Thank you for reporting this bug and attaching the .pptx file. 
This is a known bug that occurs when you copy and paste the screenshot into the 
slide. The workaround is to insert the screenshot into the slide or insert a 
duplicate slide instead of copying and pasting the screenshot. This bug is 
being investigated. Thanks!

Original comment by khalid3ahmed on 30 Mar 2013 at 12:25

GoogleCodeExporter commented 8 years ago
Fixed in sikuli-slides 1.1.0

Original comment by khalid3ahmed on 9 Apr 2013 at 3:40