Here is the situation.  When the app starts up, it tries to load a file;  this worked with the old Jess version AND the old Eclipse (3.2.0).  I have upgraded two things simultaneously so this may be an eclipse problem.  But the code gets to the place where the file is supposed to load:

]
Jess exception on startup.

Jess reported an error in routine batch.
  Message: Cannot open file.
The error occurred at line -1
The line looks like this: 
null

Message: Cannot open file
Jess reported an error in routine batch.
  Message: Cannot open file.
at jess.Batch.findDocument(Batch.java:131)
at jess.Batch.batch(Batch.java:77)
at jess.Batch.batch(Batch.java:53)
at jess.Batch.batch(Batch.java:36)
at jess.Rete.batch(Rete.java:2242)
at edu.utah.cdmcc.decisionsupport.glucose.ApplicationWorkbenchAdvisor.postStartup(ApplicationWorkbenchAdvisor.java:45)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1854)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at edu.utah.cdmcc.decisionsupport.glucose.Application.run(Application.java:30)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.io.FileNotFoundException: rules/Glucose.clp (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at java.io.FileReader.<init>(FileReader.java:41)
at jess.Batch.findDocument(Batch.java:121)
... 22 more

Reply via email to