Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#769 closed defect (invalid)

Trying to configure AnnotationTypeCvImporter.jar

Reported by: base Owned by: everyone
Priority: major Milestone:
Component: web Version:
Keywords: Cc:

Description (last modified by Nicklas Nordborg)

Went to Administrate -> Plugins > Definitions

Got this non fatal error

illegal attempt to dereference collection [] with element property reference [itemType] [SELECT COUNT(DISTINCT pld) FROM pld LEFT JOIN pld.guiContexts alj1 LEFT JOIN pld.guiContexts ctx WHERE ((pld.mainType = :p683479870) AND (pld.guiContexts.itemType = :p356147287))]

Then New

and filled in paths to class and jar file and on clicking save got the following:

Version 	BASE 2.4.1 (build #3722; schema #40)
Web server 	Apache Tomcat/5.5.20
Database Server 	MySQL 5.0.27
Database Dialect 	org.hibernate.dialect.MySQLInnoDBDialect
JDBC Driver 	com.mysql.jdbc.Driver (version 5.0)
Java runtime 	Java(TM) 2 Runtime Environment, Standard Edition (1.5.0_09-b03), Sun Microsystems Inc.
Operating system 	Linux amd64 2.6.20-1.2948.fc6
Memory 	Total: 91.3 MB
Free: 61.8 MB
Max: 444.5 MB
Browser 	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20070914 Firefox/
Error message 	Could not instantiate plugin class:
Stack trace PluginDefinition.newInstance( PluginDefinition.loadPluginInformation( PluginDefinition.getNew( org.apache.jsp.admin.plugindefinitions.index_jsp._jspService( org.apache.jasper.runtime.HttpJspBase.service( javax.servlet.http.HttpServlet.service( org.apache.jasper.servlet.JspServletWrapper.service( org.apache.jasper.servlet.JspServlet.serviceJspFile( org.apache.jasper.servlet.JspServlet.service( javax.servlet.http.HttpServlet.service( org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( org.apache.catalina.core.ApplicationFilterChain.doFilter( net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter( org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( org.apache.catalina.core.ApplicationFilterChain.doFilter( org.apache.catalina.core.StandardWrapperValve.invoke( org.apache.catalina.core.StandardContextValve.invoke( org.apache.catalina.core.StandardHostValve.invoke( org.apache.catalina.valves.ErrorReportValve.invoke( org.apache.catalina.core.StandardEngineValve.invoke( org.apache.catalina.connector.CoyoteAdapter.service( org.apache.coyote.http11.Http11Processor.process( org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection( org.apache.tomcat.util.threads.ThreadPool$

Change History (2)

comment:1 by Nicklas Nordborg, 17 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

The first problem is related to ticket #655 which partly will be fixed in 2.4.2. There is also a workaround described.

The second problem happens because the class name is incorrect. It looks like there is a dot missing after 'plugins':
                      ^ here

comment:2 by base, 17 years ago

yes that was the problem. Sorry! Bad typo.

Note: See TracTickets for help on using tickets.