Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

robotlegs2.1.0 and SARS integration issue #1

Open
zeukterialpneumaion opened this issue Oct 1, 2013 · 0 comments
Open

robotlegs2.1.0 and SARS integration issue #1

zeukterialpneumaion opened this issue Oct 1, 2013 · 0 comments

Comments

@zeukterialpneumaion
Copy link

I'm trying to implement a robust SARS environment for an app i'm making , am using the example as a project basis ....
...however i want to use the latest robotlegs (2.1.0) but when i load in the SARS bundle i get the following error::

TypeError: Error #1034: Type Coercion failed: cannot convert org.hamcrest.object::IsInstanceOfMatcher@abc4be1 to robotlegs.bender.framework.api.IMatcher.
at robotlegs.bender.extensions.sarsIntegration::SARSIntegrationExtension/extend()[/Users/vjeko/Documents/Work/Projects/Vj3k0/robotlegs-extensions-SARS/src/robotlegs/bender/extensions/sarsIntegration/SARSIntegrationExtension.as:58]
at robotlegs.bender.framework.impl::ExtensionInstaller/install()[/Development/Projects/Robotlegs/robotlegs-framework/src/robotlegs/bender/framework/impl/ExtensionInstaller.as:70]
at robotlegs.bender.framework.impl::ExtensionInstaller/install()[/Development/Projects/Robotlegs/robotlegs-framework/src/robotlegs/bender/framework/impl/ExtensionInstaller.as:61]
at robotlegs.bender.framework.impl::Context/install()[/Development/Projects/Robotlegs/robotlegs-framework/src/robotlegs/bender/framework/impl/Context.as:301]
at robotlegs.bender.bundles::SARSBundle/extend()[/Users/vjeko/Documents/Work/Projects/Vj3k0/robotlegs-extensions-SARS/src/robotlegs/bender/bundles/SARSBundle.as:55]
at robotlegs.bender.framework.impl::ExtensionInstaller/install()[/Development/Projects/Robotlegs/robotlegs-framework/src/robotlegs/bender/framework/impl/ExtensionInstaller.as:70]
at robotlegs.bender.framework.impl::ExtensionInstaller/install()[/Development/Projects/Robotlegs/robotlegs-framework/src/robotlegs/bender/framework/impl/ExtensionInstaller.as:61]
at robotlegs.bender.framework.impl::Context/install()[/Development/Projects/Robotlegs/robotlegs-framework/src/robotlegs/bender/framework/impl/Context.as:301]
at robotlegs.bender.example.sarsintegration::SARSIntegrationDemo/createAppContext()[C:\Users\jez\Documents\programminglanguages\as3\SARSRL2\src\robotlegs\bender\example\sarsintegration\SARSIntegrationDemo.as:134]
at robotlegs.bender.example.sarsintegration::SARSIntegrationDemo/onContext3DCreated()[C:\Users\jez\Documents\programminglanguages\as3\SARSRL2\src\robotlegs\bender\example\sarsintegration\SARSIntegrationDemo.as:112]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at away3d.core.managers::Stage3DProxy/onContext3DUpdate()[C:\Users\vratkajec\Workspaces\Libraries\away3d-core-fp11\src\away3d\core\managers\Stage3DProxy.as:477]

..................
this is coming from this line:
_context.install(SARSBundle)....

any help?
Is there a new SARS bundle for 2.1.0?
Fantastic work by the way!

/////
Ondina (robotlegs fixed this by the following::
I replaced all occurrences of

import org.hamcrest.object.instanceOf;

with

import robotlegs.bender.extensions.matching.instanceOfType;

in SARS' extensions classes

and commented out CommandCenterExtension, in robotlegs.bender.bundles.SARSBundle

I replaced Injector with IInjector in
robotlegs.bender.example.sarsintegration.config.Config.as
/////
see :::http://knowledge.robotlegs.org/discussions/examples/957-robotlegs210-swc-and-sars-error-matcher

Justinfront added a commit to JustinConnectib/robotlegs-extensions-SARS that referenced this issue Sep 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant