doublefx / easyWorker

Flex / Air / Pure AS3 library to make ease to work with Workers
Apache License 2.0
81 stars 23 forks source link

Problem running in Apache Flex 13.0 #19

Open al-sabr opened 6 years ago

al-sabr commented 6 years ago

My worker is in a external swc file which is used in the main app compiled in the main swf. I'm using easyWorker as an external swc lib in the main app.

Adobe FlashBuilder 4.7

Type.forName error: A class with the name 'com.doublefx.as3.thread.api.IProperty' could not be found. The class 'com.doublefx.as3.thread.api.IProperty' is probably an internal class or it may not have been compiled.
Type.forName error: A class with the name 'com.doublefx.as3.thread.api.SharableData' could not be found. The class 'com.doublefx.as3.thread.api.SharableData' is probably an internal class or it may not have been compiled.
Type.forName error: A class with the name 'com.doublefx.as3.thread.api.IDataProducer' could not be found. The class 'com.doublefx.as3.thread.api.IDataProducer' is probably an internal class or it may not have been compiled.
Type.forName error: A class with the name 'com.doublefx.as3.thread.util.AsynchronousDataManager' could not be found. The class 'com.doublefx.as3.thread.util.AsynchronousDataManager' is probably an internal class or it may not have been compiled.
Type.forName error: A class with the name 'com.doublefx.as3.thread.error.IllegalStateError' could not be found. The class 'com.doublefx.as3.thread.error.IllegalStateError' is probably an internal class or it may not have been compiled.
Type.forName error: A class with the name 'com.doublefx.as3.thread.error.UnsupportedOperationError' could not be found. The class 'com.doublefx.as3.thread.error.UnsupportedOperationError' is probably an internal class or it may not have been compiled.
Dep: de.gaia.model.marketplace.bases.interfaces.IDeserializeable tag: [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/bases/interfaces/IDeserializeable, Length: 634
Dep: de.gaia.model.marketplace.bases.interfaces.IAttributesMapped tag: [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/bases/interfaces/IAttributesMapped, Length: 401
Dep: de.gaia.model.marketplace.bases.interfaces.IBaseId tag: [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/bases/interfaces/IBaseId, Length: 968
Dep: de.gaia.model.marketplace.bases.interfaces.IBase tag: [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/bases/interfaces/IBase, Length: 1242
Dep: com.doublefx.as3.thread.api.Runnable tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/api/Runnable, Length: 450
Dep: de.gaia.watcher.DirectoryWatcher tag: [82:DoABC] Lazy: true, Name: de/gaia/watcher/DirectoryWatcher, Length: 7151
Dep: com.doublefx.as3.thread.event.ThreadFaultEvent tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadFaultEvent, Length: 1068
Dep: com.doublefx.as3.thread.api.IWorker tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/api/IWorker, Length: 616
Dep: com.doublefx.as3.thread.event.ThreadResultEvent tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadResultEvent, Length: 1073
Dep: com.doublefx.as3.thread.event.ThreadProgressEvent tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadProgressEvent, Length: 1378
Dep: com.doublefx.as3.thread.error.NotImplementedRunnableError tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/error/NotImplementedRunnableError, Length: 687
Dep: com.doublefx.as3.thread.event.ThreadActionResponseEvent tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadActionResponseEvent, Length: 1094
Dep: com.doublefx.as3.thread.event.ThreadActionRequestEvent tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadActionRequestEvent, Length: 828
Dep: de.gaia.model.marketplace.runner.bases.InfosBase tag: [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/runner/bases/InfosBase, Length: 1217
Dep: de.gaia.model.file.interfaces.IHash tag: [82:DoABC] Lazy: true, Name: de/gaia/model/file/interfaces/IHash, Length: 1084
Dep: de.gaia.model.file.Hash tag: [82:DoABC] Lazy: true, Name: de/gaia/model/file/Hash, Length: 1238
Dep: com.doublefx.as3.thread.api.CrossThreadDispatcher tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/api/CrossThreadDispatcher, Length: 1473
Dep: com.doublefx.as3.thread.util.ClassAlias tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/util/ClassAlias, Length: 549
Dep: com.doublefx.as3.thread.util.Closure tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/util/Closure, Length: 966
Dep: com.doublefx.as3.thread.util.DecodedMessage tag: [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/util/DecodedMessage, Length: 676
[SWF]
  Header:
    Version: 25
    Compression: None
    FileLength: 34175
    FileLengthCompressed: 34175
    FrameSize: (550,400)
    FrameRate: 50
    FrameCount: 1
  Tags:
    [69:FileAttributes] AS3: true, HasMetadata: true, UseDirectBlit: false, UseGPU: false, UseNetwork: false
    [64:EnableDebugger2] Password: null, Reserved: 0x1975
    [09:SetBackgroundColor] Color: #ffffff
    [77:Metadata]  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1">
    <dc:format>application/x-shockwave-flash</dc:format>
    <dc:title>Apache Flex Application</dc:title>
    <dc:description>http://flex.apache.org/</dc:description>
    <dc:publisher>Apache Software Foundation</dc:publisher>
    <dc:creator>Apache Software Foundation</dc:creator>
    <dc:language>en_US</dc:language>
    <dc:date>Mar 22, 2018</dc:date>
  </rdf:Description>
</rdf:RDF>
    [65:ScriptLimits] MaxRecursionDepth: 1000, ScriptTimeoutSeconds: 60
    [41:ProductInfo] ProductID: 3, Edition: 6, Version: 4.13 r20140701, CompileDate: Thu Mar 22 11:06:09 GMT+0100 2018
    [43:FrameLabel] Name: ThreadRunner
    [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/bases/interfaces/IDeserializeable, Length: 634
    [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/bases/interfaces/IAttributesMapped, Length: 401
    [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/bases/interfaces/IBaseId, Length: 968
    [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/bases/interfaces/IBase, Length: 1242
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/api/Runnable, Length: 450
    [82:DoABC] Lazy: true, Name: de/gaia/watcher/DirectoryWatcher, Length: 7151
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadFaultEvent, Length: 1068
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/api/IWorker, Length: 616
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadResultEvent, Length: 1073
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadProgressEvent, Length: 1378
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/error/NotImplementedRunnableError, Length: 687
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadActionResponseEvent, Length: 1094
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/event/ThreadActionRequestEvent, Length: 828
    [82:DoABC] Lazy: true, Name: de/gaia/model/marketplace/runner/bases/InfosBase, Length: 1217
    [82:DoABC] Lazy: true, Name: de/gaia/model/file/interfaces/IHash, Length: 1084
    [82:DoABC] Lazy: true, Name: de/gaia/model/file/Hash, Length: 1238
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/api/CrossThreadDispatcher, Length: 1473
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/util/ClassAlias, Length: 549
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/util/ThreadRunner, Length: 7566
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/util/Closure, Length: 966
    [82:DoABC] Lazy: true, Name: com/doublefx/as3/thread/util/DecodedMessage, Length: 676
    [76:SymbolClass] 
      Symbols:
        [0] TagID: 0, Name: com.doublefx.as3.thread.util.ThreadRunner
    [01:ShowFrame] 
    [00:End] 
Thread start
[SWF] MarketPlace.swf - 34,175 bytes after decompression
VerifyError: Error #1014: Class mx.core::DebuggableWorker could not be found.
DigiEggz commented 5 years ago

It looks like you need to add "mx.core::DebuggableWorker" to your aliases list.