OK. I finally figured out the problem with the VersionInfo.wtkx file. It was 
missing the namespace information. I had patterned it off of a file from the 
wizard that was just a welcome screen pulling from a text file and did not have 
a class associate with it. Now that it has been corrected I am getting Window 
not open and null pointer errors saying that the display and window are not 
open.

I will continue to chug at it.

Jason Dorsey | Engineering Intern
1233 West Loop South
Houston, TX 77027 USA
[email protected] 
www.attachmate.com  |  www.netiq.com


-----Original Message-----
From: Chris Bartlett [mailto:[email protected]] 
Sent: Wednesday, November 30, 2011 5:13 PM
To: [email protected]
Subject: Re: TablePane Question

So it sounds like the root object in your versionInfo.wktx file should be a 
VersionInfo and not a TablePane.
Change that (and reset the WTKX ID back to its original value) and I think you 
should be OK.
You will need to qualify it and/or add a namespace like in the 
autoSyncVersion.wtkx file.

On 30 November 2011 23:06, Jason Dorsey <[email protected]> wrote:
> Thx Chris,
>
> Changing the ID did help a bit. I was able to see the pane and the error was 
> replaced with "window not open" and "nullpointer" errors. Even though it is 
> not the desired end result it did confirm that the autoSyncVersion.wtkx and 
> autoSyncVersion.java files are correct (mostly).
>
> The definitions for AutoSyncVersion and VersionInfo follow:
>
> public class AutoSyncVersion  extends Frame implements Bindable public 
> class VersionInfo extends TablePane implements Bindable
>
> Since it extends the class I think that should be able to work.
>
> I am still reading the other message...
>
> Jason Dorsey | Engineering Intern
> 1233 West Loop South
> Houston, TX 77027 USA
> [email protected]
> www.attachmate.com  |  www.netiq.com
>
> -----Original Message-----
> From: Chris Bartlett [mailto:[email protected]]
> Sent: Wednesday, November 30, 2011 4:51 PM
> To: [email protected]
> Subject: Re: TablePane Question
>
> On 30 November 2011 22:42, Chris Bartlett <[email protected]> wrote:
>> My guess is that the
>> web.ui.autosync.version.AutoSyncVersion.versionInfo field is 
>> annotated with @WTKX, which causes WTKXSerializer to try to set its 
>> value to the included WTKX file due to it having a matching WTKX ID.
>> (wtkx:id="versionInfo")
>
> One really quick thing you could do is to change the ID assigned to the 
> included 'versionInfo.wktx' and see if the problem goes away.
> That obviously won't solve the issue or help to determine what the issue is, 
> but you should at least be able to see your TablePane and avoid the Exception.
>
> Then check to see if you can set the
> web.ui.autosync.version.AutoSyncVersion.versionInfo field to a 
> TablePane instance in pure java with no Pivot involvement.  If it 
> works, it would suggest that it is not a typing issue of some kind, 
> unless there are weird classloader things going on too :)
>
> Just something along these lines...
> AutoSyncVersion asv = new AutoSyncVersion(); asv.setVersionInfo(new 
> TablePane());  // Is this valid, because if it isn't, then WTKXSerializer 
> won't be able to do it either.
>

Reply via email to