Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 442
Registered: ‎08-02-2010
My Device: Z10
Accepted Solution

Errors when trying to compile WebWorks app

Hi all. Can someone help me solve these compie errors I receive when trying to build with Ripple?


[INFO] Packaging the bar file
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(Unknown Source)
at net.rim.tumbler.airpackager.AirPackager.createSplashscreen(AirPackager.java:723)
at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:191)
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:152)
at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:77)
[ERROR] Air Packager exception occurred


I made sure my JRE is 32 bit, I added the System path to the /bin.


My Config is below:


<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
  <author href="http://www.example.com/"
          rim:copyright="Copyright 1998-2012 My Corp">none</author>
  <name>Sample application</name>
    A sample application to demonstrate some features.
  <rim:orientation mode="auto"/>
  <rim:loadingScreen backgroundImage="bg.png"
    <rim:transitionEffect type="zoomIn"/>
  <rim:category name="games"/>    
  <icon src="icon.png"/>
  <content src="index.html"/>
  <feature id="blackberry.ui.dialog"/>
  <access uri="http://www.somedomain.com" subdomains="true">
    <feature id="blackberry.app.event"/>
    <feature id="blackberry.invoke"/>

 I've read all the threads re: the same problem but nothing I've tried has worked.


Posts: 134
Registered: ‎05-19-2012
My Device: Torch 9800, PlayBook 64GB, Dev Alpha

Re: Errors when trying to compile WebWorks app

Looks like your problem is because the WebWorks packager isn't able to open some of your image files, double check if there's any missing and make sure the permissions to read the files are correct.

I've had similar problems with the WebWorks packager and I solved them by running it as root.
If I helped you please click the "Like" button to support my work.
My apps: CherryNotes - Bookmarked - Requests
Social Me: about.me - Twitter
Posts: 442
Registered: ‎08-02-2010
My Device: Z10

Re: Errors when trying to compile WebWorks app

Ahh thanks will try compiling as administrator tmw via cmd prompt rather than Ripple. Will let you know. 

Posts: 442
Registered: ‎08-02-2010
My Device: Z10

Re: Errors when trying to compile WebWorks app

Using your suggestions I got it to compile. I should also mention (in case anyone else has run into this problem) I was forgetting to change the project root settings when going between applications so that's what was causing the missing image file path errors.