Issue Details (XML | Word | Printable)

Key: FDT-2548
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: FDT Team
Reporter: peleg tuchman
Votes: 2
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
FDT

"'compile' has encountered a problem. an internal error occurred during: "compile"" when debugging.

Created: 19/Jan/12 12:47 PM   Updated: 31/Jul/12 12:41 AM
Component/s: Debugger
Affects Version/s: FDT 5.0
Fix Version/s: FDT 5.5
Security Level: public

Time Tracking:
Not Specified

File Attachments: 1. Text File .log (3 kB)

Environment:
windows 7
flex sdk 4.6.0
Issue Links:
Duplicate
 


 Description  « Hide
when trying to debug an FDT SWF Application, the application builds but does not reach 'build successful' (see console output at end), a dialog appears saying:
'compile' has encountered a problem.
an internal error occurred during: "compile"
details:
An internal error occurred during: "Compile".
java.lang.NullPointerException

the SWF is created and does work when run manually but the debugger does not launch.

console output:

Starting Launcher Main (1).

Starting Full Build of Main (1).
Compiler arguments:
-output
C:\Users\peleg\Dropbox\flash\evo_creatures\bin\ts.swf
-+flexlib=C:\flex_sdk\4.6\frameworks
--compiler.debug=true
--debug-password=
--compiler.source-path+=
C:\Users\peleg\Dropbox\flash\evo_creatures\src
--compiler.library-path+=
C:\flex_sdk\4.6\frameworks\libs\player\11.1\playerglobal.swc,
C:\flex_sdk\4.6\frameworks\libs\textLayout.swc,
C:\flex_sdk\4.6\frameworks\libs\osmf.swc,
C:\flex_sdk\4.6\frameworks\libs\authoringsupport.swc,
C:\flex_sdk\4.6\frameworks\libs\core.swc
-static-link-runtime-shared-libraries=
true
-target-player=11.1
-library-path+=
C:\flex_sdk\4.6/frameworks/locale/en_US
-default-size=550,400

C:\Users\peleg\Dropbox\flash\evo_creatures\src\Test.as

INFO Loading configuration file C:\flex_sdk\4.6\frameworks\flex-config.xml

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.events:Request):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:ILayoutDirectionElement):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:FlexLoader):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:IBorder):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.resources:IResourceModule):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:SpriteAsset):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.modules:ModuleManager):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:EdgeMetrics):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.resources:ResourceBundle):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:mx_internal):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:IFlexAsset):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\framework.swc(mx.utils:StringUtil):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\core.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:FlexSprite):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:ApplicationDomainTarget):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.events:FlexEvent):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\framework.swc(mx.core:FlexTextField):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\core.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.resources:LocaleSorter):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.resources:IResourceBundle):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.events:ModuleEvent):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:IRepeaterClient):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:IFlexDisplayObject):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.events:RSLEvent):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:Singleton):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:IAssetLayoutFeatures):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:RSLData):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.modules:ModuleManagerGlobals):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:IFlexModule):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.modules:IModuleInfo):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.events:ResourceEvent):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.managers:SystemManagerGlobals):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.modules:IModule):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.utils:NameUtil):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:IFlexModuleFactory):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

INFO C:\flex_sdk\4.6\frameworks\libs\core.swc(mx.core:ByteArrayAsset):
Definition obsoleted by 'C:\flex_sdk\4.6\frameworks\libs\framework.swc'.

Pure build time: 112 ms.
Save compiler information in 5 ms.
Clean compiler information in 0 ms.
879 bytes written to file C:\Users\peleg\Dropbox\flash\evo_creatures\bin\ts.swf in 118 ms



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Panel added a comment - 19/Jan/12 04:10 PM
I believe you should attach your eclipse log file.
It should be located in YOUR_WORKSPACE_FOLDER/.metadata

peleg tuchman added a comment - 19/Jan/12 05:23 PM - edited
sorry, here it is...

peleg tuchman made changes - 19/Jan/12 05:23 PM
Field Original Value New Value
Attachment .log [ 13490 ]
Tobias Goeschel added a comment - 28/Jan/12 08:06 PM
I can confirm this issue exists under Mac OS X, too. I get the exact same error message in my log file:

java.lang.NullPointerException
at com.powerflasher.fdt.core.launch.debug.DebugSessionManager.getDebuggerFor(DebugSessionManager.java:50)
at com.powerflasher.fdt.core.launch.debug.DebugSessionManager.launchSessionFor(DebugSessionManager.java:97)
at com.powerflasher.fdt.core.launch.debug.DebugSessionManager.launchSessionAndKillOld(DebugSessionManager.java:137)
at com.powerflasher.fdt.core.internal.launch.debug.concrete.DebuggerStarter.run(DebuggerStarter.java:47)
at com.powerflasher.fdt.core.launch.AbstractTargetStarter.runListenerStarters(AbstractTargetStarter.java:61)
at com.powerflasher.fdt.core.launch.swf.SwfStarter.run(SwfStarter.java:58)
at com.powerflasher.fdt.core.internal.launch.compile.concrete.CompilerProcess$1.run(CompilerProcess.java:226)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Also, I can't stop the debug process via the stop buttons after the error dialog shows, and the application freezes when I try to quit it.


Tobias Goeschel added a comment - 31/Jan/12 09:52 PM
This the same error as FDT-2559

Philipp Arnolds made changes - 01/Feb/12 04:35 PM
Link This issue duplicates FDT-2472 [ FDT-2472 ]
Philipp Arnolds added a comment - 01/Feb/12 04:36 PM
Thanks for your report!

This issue has already been fixed. Please see the linked ticket for a workaround.

regards,

Philipp


Philipp Arnolds made changes - 01/Feb/12 04:36 PM
Resolution Duplicate [ 3 ]
Status Open [ 1 ] Resolved [ 5 ]
Philipp Arnolds made changes - 01/Feb/12 04:36 PM
Fix Version/s 5.1 [ 10432 ]
Sebastian Bär made changes - 08/May/12 03:40 PM
Fix Version/s 5.5 Beta [ 10432 ]
Fix Version/s FDT 5.5 [ 10491 ]
Status Resolved [ 5 ] Closed [ 6 ]
FDT Team made changes - 22/Jun/12 06:32 PM
Assignee Philipp Arnolds [ phiarn ] FDT Team [ fdt team ]
Status Closed [ 6 ] Resolved [ 5 ]
FDT Team made changes - 22/Jun/12 07:01 PM
Resolution Duplicate [ 3 ] Fixed [ 1 ]
Status Resolved [ 5 ] Closed [ 6 ]
jon made changes - 31/Jul/12 12:41 AM
Link This issue duplicates FDT-2866 [ FDT-2866 ]