Bugs item #1507978, was opened at 2006-06-17 23:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=724978&aid=1507978&group_id=132696
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Other
Group: Pre-Alpha
Status: Open
Resolution: None
Priority: 5
Submitted By: Wyrm Tools (wyrmtools)
Assigned to: Wyrm Tools (wyrmtools)
Summary: Invoking IScriptEngine.getAdapter() returns null
Initial Comment:
While updating some DiceScript unit tests, I
attempted to get an instance of the DiceScript engine
as follows:
final IDiceScriptEngine engine =
(IDiceScriptEngine)CorePlugin.getDefault()
.getPlatform().getScriptEngineManager()
.getScriptEngine( IDiceScriptEngine.PREFIX )
.getAdapter( IDiceScriptEngine.class );
This expression is returning null. Some debugging
revealed that the result of getScriptEngine() is a
ScriptEngineProxy instance. It seems that the
proxy's getAdapter() method is not correctly
processing the request to cast to an
IDiceScriptEngine and returns null.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=724978&aid=1507978&group_id=132696
|