Welcome!

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

Reply
New Contributor
veresov
Posts: 2
Registered: ‎03-14-2011
My Device: PlayBook
Accepted Solution

Hello World app: RAPC exception occurred

Hi all!

 

I'm trying to build simple "Hello World" app for PlayBook.

I'm getting "RAPC exception occurred" for this simple app.

 

The config.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" 
xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.3" rim:header="RIM-Widget:rim/widget">
  <name>Hello</name>
  <content src="index.htm"/>
</widget>

Index.htm is:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
<head>
<meta name="viewport" content="width=device-width"/>
<title></title>
</head>
<body>
<div>Hello World</div>
</body>
</html>

 

To build I use command: 

 

c:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager>bbwp d:\P

layBook\Examples\Test\Test.zip /o d:\PlayBook\Examples\Test /d /v

 

 

In output I gets no additional details just "RAPC exception occurred" even having "/v" switch in parameters.

 

Can anyone help me?

 

With best regards,

Andrew Veresov

New Contributor
veresov
Posts: 2
Registered: ‎03-14-2011
My Device: PlayBook

Re: Hello World app: RAPC exception occurred

Replying to myself just in case that other nubbies could have a same error.

I used regular WebWorks packager instead of WebWorks Packager for PlayBook.

 

So, make sure that you are using bbwp from right location.