Working?

19 views
Skip to first unread message

Phil Herold

unread,
Aug 27, 2013, 2:20:59 PM8/27/13
to dockab...@googlegroups.com
Hi,

The framework looks promising, but I have issues just getting the simple sample running. I created a simple project and copied in the code for sample1.mxml. When it runs in the browser and I try to drag one of the panels, I get this traceback and the app is dead:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at DockManagerImpl/createDockHint()[C:\Dokumente und Einstellungen\dim\Desktop\DockableFlex-ReportedIssuesFixed-SDK4\net\goozo\mx\dockable\DockManagerImpl.as:95]
at DockManagerImpl/doDock()[C:\Dokumente und Einstellungen\dim\Desktop\DockableFlex-ReportedIssuesFixed-SDK4\net\goozo\mx\dockable\DockManagerImpl.as:220]
at net.goozo.mx.dockable::DockManager$/doDock()[C:\Dokumente und Einstellungen\dim\Desktop\DockableFlex-ReportedIssuesFixed-SDK4\net\goozo\mx\dockable\DockManager.as:55]
at net.goozo.mx.dockable::DockablePanel/startDragDockPanel()[C:\Dokumente und Einstellungen\dim\Desktop\DockableFlex-ReportedIssuesFixed-SDK4\net\goozo\mx\dockable\DockablePanel.as:87]
at DragStarter/runListener()[C:\Dokumente und Einstellungen\dim\Desktop\DockableFlex-ReportedIssuesFixed-SDK4\net\goozo\mx\dockable\DragStarter.as:107]
at DragStarter/handleMouseMove()[C:\Dokumente und Einstellungen\dim\Desktop\DockableFlex-ReportedIssuesFixed-SDK4\net\goozo\mx\dockable\DragStarter.as:86]

Any ideas? Thanks.

toshe

unread,
Aug 28, 2013, 11:40:46 AM8/28/13
to dockab...@googlegroups.com
Please provide more info about:
Flex SDK Verison
Flash Player Version
If you've modified the code of the sample post it.

Note that currenty pure spark applications are not supported.
Note also that the Apache Flex SDK components behave differently. I still don't know if it is a bug or a feature, but many of my self-written components throw NullPrt in 4.10 and recoding would make them backward incompatible.

Regards,
toshe

PS. I the flexdockable with Flex SDK 4.5/4.6 since two years without seeing a single error.

Phil Herold

unread,
Aug 28, 2013, 1:27:56 PM8/28/13
to dockab...@googlegroups.com
Toshe,

Thanks for the response. I was trying to run this against the 3.6 Flex SDK. Once I switched to use 4.6 Flex runtime, it worked fine (that explains the null value for FlexGlobals.topLevelApplication at line 95 in DockManagerImpl). 

I think your site could be more explicit about requiring Flex 4, especially since it advertises Dockable Flex for Flex 3 ("dockable panel controls of adobe flex3"). Also, please update the ASDoc on that site if you are still maintaining it. The site doesn't include the ASDoc for all the components, and it still has "dockalbe" as part of the package name (instead of "dockable").

--
Phil


--
You received this message because you are subscribed to a topic in the Google Groups "dockableflex" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dockableflex/2mUPeOMtuCo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dockableflex...@googlegroups.com.
To post to this group, send email to dockab...@googlegroups.com.
Visit this group at http://groups.google.com/group/dockableflex.
For more options, visit https://groups.google.com/groups/opt_out.

toshe

unread,
Aug 29, 2013, 6:30:18 AM8/29/13
to dockab...@googlegroups.com, phe...@nc.rr.com
Hi Phil,
It supports Flex SDK 3 (3.6) in earlier revisions. One must get the proper revision from svn and compile it. But this version contains some unfixed bugs.
I didn't expect anyone to use a 4-5 years old sdk as the 4.6 is almost completly backward compatible:)
I am not the author of dockableflex and have only svn rights. I only fixed 6-7 bugs and ported it to flex 4.5.

Toshe

Phil Herold

unread,
Aug 29, 2013, 6:53:24 AM8/29/13
to dockab...@googlegroups.com
OK, fair enough. Like I said, I've got it working. I do hope you'll fix the web site for this as I suggested, if possible.

Thanks for your help.

--
Phil
Reply all
Reply to author
Forward
0 new messages