Windows :: Flex Web - Warnings Or Exceptions Were Found While Compiling Null?
Jul 17, 2009
I did have the capability to compile my mxml files via the browser on my local machine. I've had to do a reinstall but now I'm having problems trying to compile.My current setup is:
WAMP 2.0i
- Apache 2.2.8
- PHP 5.2.8
- MySQL 5.1.36
FlashDevelop 3.0.0 RC1
Win XP
I've tried compiling in Firefox 3.5, IE8 & Chrome but all receive the same error:
Compilation results
Errors, warnings or exceptions were found while compiling null.Visit the online Flex documentation or API reference for further information. An error occured on the server.
Server error is: 'Error occurred in server thread; nested exception is: java.lang. NoSuchMethodError: flex.license.License.(Ljava/util/ Map;Ljava/lang/ String; Lflex/ license/Logger;)V'
I've followed the instructions from adobe:
http:[url]....I can compile without an issue via CMD but I prefer to use the browser as I find that much faster.
View 2 Replies
Similar Posts:
Feb 23, 2011
I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:
[Code]...
All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.
View 1 Replies
Feb 17, 2010
I am compiling my css files to swf files and loading them at run time. I have no problem compiling these and using ClassReference statements most of the time:
[Code]...
Does not work. The difference is that the HeaderBackground is a class in the same project as the css file. That does compiel fine if I move the style into my mxml file though.
I wonder if the compiler uses different source paths when compiling the css fiels or something. This is in FlashBuilder 4 build 269271 SDK 13963
View 6 Replies
Jul 10, 2009
When I try to compile a game I am developing that includes the class below I get one of two errors:
1046: Type was not found or was not a compile-time constant: DataChangeEvent.
or
1046: Type was not found or was not a compile-time constant: Event.
I am on Flash CS4 with the Flex SDK 3.2.0 installed and all library paths set in the little project properties window and general prefs. I really ned to get this thing done. I can't just copy and paste the source now, because I have images in my library I have no idea how to get linked classes, etc out.
Code:
package {
import fl.events.*;
import flash.display.*;
import flash.events.*;
public class PencView extends DisplayObject implements IPencView{
protected var model:PencModel;
[Code] .....
View 3 Replies
Nov 10, 2011
I'm looking for a way to catch an Exception thrown by PHP in Flex using HTTPService. Is it possible to do it without using AMFPHP?
In my current implementation, if an Exception is thrown in PHP, a FaultEvent.FAULT is indeed dispatched on Flex side. The only problem is that the exception's message string is nowhere to be found in FaultEvent.[code]...
View 1 Replies
Mar 8, 2012
I am using a custom java exception to provide the flex client with more info than the exception itself. My exception extends Exception and it has a attribute with the needed info for the client. Well, my problem is the following: when I build my exception if I invoke super() or super("message") the flex client can access all the info properly. But if I build the exception with a Throwable cause, super(cause), then the flex client can only access to stackTrace.
public class MyException extends Exception {
private String errorCode;
public String getErrorCode() {
return errorCode;
} public void setErrorCode(String errorCode) {
[Code] ......
By using MyException(String msg) the flex client can access to errorCode
By using MyException(Throwable cause) the flex client can't access to errorCode
In the flex side the code is:
var faultEvent : FaultEvent = FaultEvent( event );
var errorMessage:ErrorMessage = faultEvent.message as ErrorMessage;
var codeError:String = errorMessage.rootCause.errorCode;
View 1 Replies
Nov 10, 2010
I did suppress warnings in flex compiler using "-show-binding-warnings=false". But what I am interested to achieve is to suppress run time warnings (especially binding warnings - since I am getting data in model mostly in XML structures and it is fine for me if its unable to bind to its nested child nodes) in console (I am working on flex on Eclipse with the flex plug in). Is there a way to achieve it?
View 1 Replies
Apr 9, 2010
I have been trying to test my application to make sure that all the important classes can serialize/reload themselves properly (especially those which implement IExternalizable):
[Test]
public function testMyObjectSerialization():void {
var myobj:MyObject = new MyObject();[code]....
And I would like to be warned when I try to serialize a strongly-typed object which does not have a [RemoteClass] set (because that almost certainly represents a bug in my code).So, is there any way to configure the AMF serializer to give warnings?Also, it seems like this might be possible using services-config.xml... But the documentation seems to imply that services-config is channel-level, and I'd really like it if my unit tests could run without talking to the server (and I'm not using LCDS, so a bunch of the services-config wouldn't apply to me anyway).
View 1 Replies
Aug 31, 2009
I've recently started working with an application written using Adobe Flex 3. We're using several deprecated functions and unfortunately we can't remove these dependencies.
The documentation says to set -show-deprecated-warnings=false into the Compiler Additional Options. This isn't accepted, but I've found that using -show-deprecation-warnings=false will be accepted by the dialog, but gives an error about declaring the option twice when I try to compile the project.
Ideally, I'd like a way to disable the warning on a case-by-case basis. disable the warnings either per-file, per-project or globally?
View 2 Replies
Aug 31, 2010
I've got an ActionScript 3 source file (.as) that has hundreds of untyped variables. This file works perfectly although it outputs a warning for every untyped variable which gets me ~800 warnings clogging the Error panel in my IDE.
Although warnings are helpful in my other source files, I want to suppress warnings for this one .as file, because I'm in no mood to specify data types for them all.
I'm using FlashDevelop 3 on Windows 7, and compiling an AS3 AIR project using the Flex 4 SDK.
View 2 Replies
Nov 24, 2010
I use FDT for my flex programming and there are some warnings that I want to suppress.for example:Private function is never used. Found 'list_ itemRendererFunc' at line foo column bar.I actually paste this function name as a string to a datagroup's itemRendererFunction property. how do I mark this line that will not show the warning?
View 1 Replies
Mar 30, 2011
I am taking XML type variables in model and binding with component properties in action script code. Its perfectly fine if its unable to bind the child nodes or other sibling properties of the XML itself and I dont want eclipse to generate this run time warning! I did suppress warnings in flex compiler using "-show-binding-warnings=false". But that does not seem to be working for run time binding warnings.
Warning: unable to bind to property <'some node name'> on class 'XML' (class is not an IEventDispatcher)
View 1 Replies
Mar 31, 2010
In Flash Professional CS4, I get "migration issue" warnings when I use mouse/keyboard input handler names such as onMouseDown, onKeyUp, etc., even though I have added event listeners for them. These names are perfectly legal for functions, but since these were automatically fired in ActionScript 2.0, we are now (albeit sensibly) warned that their use is no longer automatic in AS3.I understand the purpose of the warnings, but they aren't useful for me. I want to suppress these warnings, but without suppressing any other warnings, which I generally do find useful.I found a flex-info.xml style document in the Flash User Data dir.[userdatafolder]/Adobe/Flash CS4/en/Configuration/ActionScript 3.0/FlexInfo.xml.However, this file contains a disappointing comment: <!-- Flash does not support most flex-config options. -->, and doesn't seem to respond to my directives even after restarting flash. Found an issue "Erroneous, annoying "Migration issue" warnings" on Adobe bug tracker. A fix is confirmed for the Flex SDK, but no mention of Flash...
View 5 Replies
Oct 28, 2011
I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder
[Code]...
View 1 Replies
Mar 8, 2010
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?
var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);
[code]....
View 1 Replies
Nov 25, 2011
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
View 1 Replies
Nov 17, 2009
I am trying to do a simple 3d tween on the timeline. I am doing this in the simplest way possible but Flash is throwing an error. Here is what I am doing[code]...
When I publish the swf I get the error message on every frame[code]...
View 2 Replies
Dec 16, 2010
I have a demo application using Adobe Air that accesses my own SSL web service that uses a self-signed certificate. In .NET clients, I can explicitly handle (and ignore) certificate warnings and suppress them via the ServicePointManager.ServerCertificateValidationCallback. I've examined the URLRequest and URLLoader classes but haven't found anything.
View 1 Replies
Aug 29, 2009
i setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.
View 1 Replies
Aug 24, 2010
I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.
As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player
View 1 Replies
Feb 6, 2012
I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?
View 1 Replies
Feb 21, 2011
I get the following warning when I run my application:
warning: incompatible embedded font 'Arial' specified for spark.components::Label (Label104).This component requires that the embedded font be declared with embedAsCff=true.
The application I am working on is a mix of Halo and Sparks components as I am migrating it to Flex 4. The text that is showing in the text fields is defaulting the systems serif font. There are a few problems with this warning.
1) I am not embedding any fonts in the application. I am not even assigning the Arial font to any of the components.
2) If I check the "Use Flash Text Engine in MX components", then all the text fields in the app throw the warning. Not just the sparks text fields.
Why does flex 4 think that I am using an embedded font with the sparks components? Is there any way to get around this warning and have the text fields use a non embedded font?
View 1 Replies
Sep 21, 2009
I want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?
View 1 Replies
Jul 30, 2010
does anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.
View 1 Replies
Jun 9, 2009
I added an external stylesheet file (css) to my flex project. Is there a possibility that the css is not compiled with the swf? It would be great if I could put the swf on my webspace and afterwards only change a css file to customize my application and fit it to the colors of my homepage.
View 1 Replies
Jun 12, 2010
I am creating Dynamic Destinations
MessageBroker broker = MessageBroker.getMessageBroker(null);
MessageService service = (MessageService) broker.getService("message-service");
MessageDestination destination = (MessageDestination) service.createDestination("Group1");
[code].....
But I am getting Null Pointer Exception
MessageBroker broker = MessageBroker.getMessageBroker(null);
View 1 Replies
Aug 15, 2011
I have create a menu but when clicking on menu so that it shows, I get an error on the line because of the line "myMenu.show(null,null)". See function below:
private function createAndShowmyMenu():void {
myMenu = Menu.createMenu(null, myMenuDataProvider, false);
myMenu.labelField="@label"[code]........
View 1 Replies
Apr 29, 2010
I've made a library which I'd like to compile to an SWC file, I've tried to do this in FDT by choosing FDT AS3 Library as Run settings, but all I end up with is a 0kb .swc file. Does anybody know what I'm doing wrong? I can't find much when I google it either
View 2 Replies
Mar 1, 2012
we're having a strange problem on a project here. When we use NetConnection in combination with a NetGroup to initiate communication between two local AIR applications on Windows XP, they always both connect to the NetGroup succesfully and detect each other as neighbors. However, on Windows 7 both applications connect succesfully to the NetConnection and NetGroup both don't detect each other as neighbors.To reproduce this problem, here are two AIR applications:[code]
These applications can connect and send message to each other without a problem on Windows XP. On Windows 7 however, they cannot.Does anyone know why this wouldn't work on Windows 7 and what steps can be taken to make it work? It's critical to our project that this works.In some cases, the applications take quite a long time to detect each other as neighbors (up to 15 seconds in some cases), in other cases they detect each other immediately. Does anyone know what could cause this delay?
View 1 Replies
Jul 23, 2009
I'm having problems compiling applications with remote ant, something similar to this. However the flex compiler seems to have problems with this. When I run the same script on my local compiles everything without any problems but when I try the remote ant it fails without giving more information.
View 1 Replies