I managed to get the Jython scripting working by rebuilding ICE using the 0.3 (developer) versions of EASE. I’ll open a Github issue and submit a patch for this tomorrow.
However, now I’m seeing another problem, which I think is ICE related. When I run a script, it seems to work correctly until it gets to the last line, which looks like this:
coreService.processItem(reflectModel.getId(), "Calculate Reflectivity", 1);
at which point I get a NPE. Here is the error:
Traceback (most recent call last): File "(none)", line 48, in <module> at org.eclipse.ice.reflectivity.ReflectivityModel.process(ReflectivityModel.java:210) at org.eclipse.ice.core.internal.itemmanager.ItemManager.processItem(ItemManager.java:981) at org.eclipse.ice.core.internal.Core.processItem(Core.java:506) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
java.lang.NullPointerException: java.lang.NullPointerException
Anybody have any thoughts on why this might be happening?
Greg |