Error opening the demo project with designer

The OS is Windows 2000 Server SP4

java.lang.NoClassDefFoundError: com/calmetrics/factoryhmi/application/gateway/DataSet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.inductiveautomation.factorypmi.plugins.reporting.ReportingDesignerHook.(ReportingDesignerHook.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.inductiveautomation.factorypmi.designer.model.DesignerPluginManager.loadPlugins(DesignerPluginManager.java:62)
at com.inductiveautomation.factorypmi.designer.FPMIDesigner$2.run(FPMIDesigner.java:424)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.calmetrics.factoryhmi.application.gateway.DataSet
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
… 29 more
FactoryPMI v3.2.5 (build 2184)
Java: Sun Microsystems Inc. 1.6.0_04

By chance did you happen to upgrade FactoryPMI without updating the reporting plugin? Doing so can often lead to these types of problems. If you recently upgraded, try running the installer again in custom mode and make sure the reporting plugin is updated.

Or if it’s a fresh install, perhaps you chose not to install the reporting plugin. In that case I’d recommend going back and installing it at least for the demo’s use, even if you don’t intend to use it in your project.

On a side note, I moved this topic to the FactoryPMI forum, since that’s the correct place for it.

Hope this helps!

Regards,

A reinstall and stopping and restarting the FPMI service solved the problem.

Thanks for the help.