WebHelp AIR - Object reference error

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

WebHelp AIR - Object reference error

Postby saanvik on Tue Sep 23, 2008 11:56 am

Just for kicks I thought I'd try to see what the WebHelp AIR output looks like. When I build it, though, I get the dreaded "Internal error: Object reference not set to an instance of an object."

Any ideas? Normal webhelp builds fine for the project. There are some errors when building webhelp (missing images referred to in the CSS file by classes that are not used and some missing linked files), but I don't think that would cause the issue.

I do have the latest version of AIR installed. I do have multiple JVMs. I am using the latest version of Flare.
saanvik
Propeller Head
 
Posts: 16
Joined: Fri Oct 20, 2006 2:46 pm

Re: WebHelp AIR - Object reference error

Postby Dave Lee on Tue Sep 23, 2008 12:33 pm

I got that in a few of my projects that included some normal HTML files (i.e. not XHTML files created in Flare's editor).
The same projects build fine as WebHelp targets without any errors.

When you build the AIR target, does the error appear in the log when it's processing a particular file?
Dave Lee
Master Propellus Maximus
 
Posts: 5946
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: WebHelp AIR - Object reference error

Postby Richard Ferrell on Tue Sep 23, 2008 2:37 pm

Also be sure your Default Topic is set to default.air instead of default.htm
Richard Ferrell

Certified Madcap Trainer
Image
Richard Ferrell
Propellus Maximus
 
Posts: 838
Joined: Mon May 01, 2006 10:11 am
Location: Inside California

Re: WebHelp AIR - Object reference error

Postby saanvik on Tue Sep 23, 2008 2:40 pm

Do you mean Startup Topic? If not, where do I find the Default Topic setting?
saanvik
Propeller Head
 
Posts: 16
Joined: Fri Oct 20, 2006 2:46 pm

Re: WebHelp AIR - Object reference error

Postby saanvik on Tue Sep 23, 2008 6:38 pm

There were a couple of HTML (not XHTML) files in my project. Fixing those solved the problem.
saanvik
Propeller Head
 
Posts: 16
Joined: Fri Oct 20, 2006 2:46 pm

Re: WebHelp AIR - Object reference error

Postby Dave Lee on Wed Sep 24, 2008 1:08 am

Althought you found the problem, it's worth putting in a bug report for this - I don't really see why a project that works fine for normal WebHelp isn't also ok for WebHelp AIR.
Dave Lee
Master Propellus Maximus
 
Posts: 5946
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: WebHelp AIR - Object reference error

Postby RamonS on Wed Sep 24, 2008 4:27 am

My guess is that AIR displays the help. If it is anything like Flash it is very weird in the way it handles non-Flash / non-AIR content unless it is explicitly endorsed.
RamonS
Senior Propellus Maximus
 
Posts: 4291
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: WebHelp AIR - Object reference error

Postby Dave Lee on Wed Sep 24, 2008 4:39 am

RamonS wrote:My guess is that AIR displays the help. If it is anything like Flash it is very weird in the way it handles non-Flash / non-AIR content unless it is explicitly endorsed.


Just to be clear, this is during a build - you can't get as far as making the AIR package to install and view it.

It's hard to say what's happening. If you go by what the log says, this error happens at the 'processing topics' stage, well before the end of the build when the log would say it's 'Running the 'Adobe AIR compiler' (it doesn't get this far though).

Perhaps there's some stricter file checking going on, although I'm not sure why it'd shut out standard HTML files.
Dave Lee
Master Propellus Maximus
 
Posts: 5946
Joined: Mon Mar 05, 2007 8:33 am
Location: UK


Return to Web-based Outputs

Who is online

Users browsing this forum: No registered users and 7 guests

cron