Filter in GUI not working: NoClassDefFoundError #7

Closed
frog23 opened this Issue Sep 4, 2012 · 1 comment

Projects

None yet

1 participant

@frog23
frog23 commented Sep 4, 2012

I was testing version 6.1 of Droid today and noticed that the filter dialog was not opening, so I took a look in the console and noticed an exception: "java.lang.NoClassDefFoundError: antlr/ANTLRException" (complete stack trace see below).

I am using Droid v6.1 (UI) on Windows 7 Professional 64 Bit with Java 1.6.0_26.

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: antlr/ANTLRException at org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:58) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:98) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:358) at $Proxy85.createQuery(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:198) at $Proxy85.createQuery(Unknown Source) at uk.gov.nationalarchives.droid.profile.referencedata.ReferenceDataDaoImpl.getFormats(ReferenceDataDaoImpl.java:61) at uk.gov.nationalarchives.droid.profile.referencedata.ReferenceDataServiceImpl.getReferenceData(ReferenceDataServiceImpl.java:53) at uk.gov.nationalarchives.droid.profile.ProfileInstanceManagerImpl.getReferenceData(ProfileInstanceManagerImpl.java:428) at uk.gov.nationalarchives.droid.profile.ProfileInstanceManagerImpl$$FastClassByCGLIB$$5bdc2e99.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:628) at uk.gov.nationalarchives.droid.profile.ProfileInstanceManagerImpl$$EnhancerByCGLIB$$d146ee3d.getReferenceData(<generated>) at uk.gov.nationalarchives.droid.profile.ProfileManagerImpl.getReferenceData(ProfileManagerImpl.java:402) at uk.gov.nationalarchives.droid.gui.filter.action.InitialiseFilterAction.initialiseFilter(InitialiseFilterAction.java:70) at uk.gov.nationalarchives.droid.gui.filter.FilterDialog.intialiseFilter(FilterDialog.java:220) at uk.gov.nationalarchives.droid.gui.filter.FilterDialog.<init>(FilterDialog.java:156) at uk.gov.nationalarchives.droid.gui.DroidMainFrame.jButtonFilterActionPerformed(DroidMainFrame.java:1215) at uk.gov.nationalarchives.droid.gui.DroidMainFrame.access$1200(DroidMainFrame.java:120) at uk.gov.nationalarchives.droid.gui.DroidMainFrame$14.actionPerformed(DroidMainFrame.java:602) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(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: antlr.ANTLRException at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 71 more

@frog23
frog23 commented Jun 21, 2013

This was fixed with droid 6.1.2. Thanks.

@frog23 frog23 closed this Jun 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment