bolerio / seco

Advanced Scripting IDE for JVM based languages.
28 stars 4 forks source link

Evaluating in a different from 'top' context #39

Open bolerio opened 8 years ago

bolerio commented 8 years ago

This seems to be broken. Tried to create a new context, different from top. Added a class path to it and even when evaluating the simplest BeanShell import statement, I get the following:

java.lang.ClassCastException: seco.rtenv.ContextLink cannot be cast to seco.rtenv.RuntimeContext at seco.rtenv.EvaluationContext.(EvaluationContext.java:154) at seco.ThisNiche.getEvaluationContext(ThisNiche.java:136) at seco.notebook.DocUtil.calc_eval_ctx(DocUtil.java:293) at seco.notebook.DocUtil.calc_eval_ctx(DocUtil.java:295) at seco.notebook.DocUtil.access$000(DocUtil.java:47) at seco.notebook.DocUtil$1.run(DocUtil.java:274) at seco.util.RequestProcessor$Task.run(RequestProcessor.java:511) at seco.util.RequestProcessor$Processor.run(RequestProcessor.java:945)