Friday, 27 July 2012

Apache Flex SDK 4.8 not working with Flash Builder 4.6


I downloaded the just released Apache Flex SDK 4.8 and tried to use it in Flash Builder 4.6 with the AIR SDK 3.3 and 3.4 Beta, but it doesn't work. I used the usual overlay technique, first copying the Flex 4.8 SDK in a new folder in my Flash Builder SDK directory and then copying the AIR SDK right over it. This has been working ever since (Flex SDK 4.6 and AIR SDK 3.3 for instance works just fine).


However, when running a build using Flex SDK 4.8 with either AIR SDK, an error is thrown as reported here.


I found the variable ${airHome} in two files that have changed since Flex SDK 4.6:


In the Flex sdk directory under frameworks are two file: air-config.xml and airmobile-config.xml.


Searching for "airhome" will find the string at two locations in each file. Once the variable is removed including the following /frameworks/ part, the above error disappears:


change


{airHome}/frameworks/libs/air

to 


libs/air

After that the first error message disappears, another error crops up for which I haven't found a solution yet:



Description Resource Path Location Type
1045: Interface ISWFContext was not found. ESE_LeisurePOS line 25 Flex Problem


The same project is perfectly compiled under Flex SDK 4.6 and AIR SDK 3.x.


Maybe someone has an idea what the issue could be. 

Tuesday, 17 July 2012

Aaaargh...we screwed up the latest n-Mobility DEMO version...

We introduced a really nasty bug in version 2.5.4 of our n-Mobility Demo (FREE) client. We had good intentions to increase the number of databases and views within each database that can be configured and used with the free client, but messed it up (the full version is not effected by this issue).

After installing the n-Mobility Demo client one would immediately get an error screen with following (or similar) message...


Null 


RangeError: Index '4' specified is out of bounds.
at mx.collections::ListCollectionView/getItemAt()[E:\dev\4.y\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:502]
at mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()[E:\dev\4.y\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:874]
at views::MobileNotesWorkspace/receivedDatabaseList()[C:\FBW\nMobility\src\scripts\MobileNotesWorkspace.as:301]
at packages.DominoUtilities::DominoDBUtilities/common_arraycol2d_result()[C:\FBW\Flex4Soapgate\src\packages\DominoUtilities\DominoDBUtilities.as:1800]
at packages.DominoUtilities::DominoDBUtilities/dbcolumnx_result()[C:\FBW\Flex4Soapgate\src\packages\DominoUtilities\DominoDBUtilities.as:1514]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\AbstractOperation.as:249]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:318]
at mx.rpc::Responder/result()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\Responder.as:56]
at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:84]
at DirectHTTPMessageResponder/completeHandler()[E:\dev\4.y\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:451]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
...

The reason for this error is that the client is expecting at least (not up to) 5 databases (the same applies to the number of views), though it would show only the first 5 anyway. Until today only 4 databases had been configured in our Flexdomino.net test environment to which the client connects to by default. And hence the above "Out of Bounce" error.

We have fixed this temporarily by making sure our test environment has 5 demo databases and at least 5 views within each database. If you want (or have already tried) to use the n-Mobility client in your environment, you must ensure that the soapgate Q! database on your server contains at least 5 active Database Access Profiles and each profile contains 5 at least 5 views.

As said above, only the demo (or free) version 2.5.4 of the n-Mobility client is effected.

If you have already installed the n-Mobility client 2.5.4 and received the above error message, please open the Setup screen inside the app and use the Reset System feature (under Local Cache Maintenance) to set your application back to default settings (effectively clearing any locally cached data).


After that you can test the free app again with our demo databases on Flexdomino.net without problems.

A fixed update of the n-Mobility Demo client will be posted on the respective app stores asap.

We apologise for the inconvenience.

The Flexdomino.net Team



Tuesday, 3 July 2012

FREE n-Mobility Desktop Client

We decided to publish a FREE n-Mobility Client for the Windows Desktop. It is a complete client with no limitations and works exactly as the n-Mobility Clients for the various supported smart phones and tablet devices.

Monday, 2 July 2012

Since iOS 5.1.1 my iPad2 is downgraded to a gaming console...

Here is link to Apple's Support Community where users (including myself) reported a problem with the Mail App, which renders the iPad useless as on office tool...