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 [plugindefi0_.id.guiContexts] with element property reference [itemType] [SELECT COUNT(DISTINCT pld) FROM net.sf.basedb.core.data.PluginDefinitionData 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:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Error message 	Could not instantiate plugin class: uk.ac.ebi.nugo.pluginsAnnotationTypeCvImporter
Stack trace 	

...at PluginDefinition.newInstance(PluginDefinition.java:992)
...at PluginDefinition.loadPluginInformation(PluginDefinition.java:1088)
...at PluginDefinition.getNew(PluginDefinition.java:142)
...at org.apache.jsp.admin.plugindefinitions.index_jsp._jspService(index_jsp.java:161)
...at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
...at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
...at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)

...at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
...at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
...at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
...at net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:72)
...at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
...at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
...at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
...at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
...at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
...at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
...at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
...at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
...at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
...at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
...at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
...at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
...at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
...at java.lang.Thread.run(Thread.java:595)

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':

uk.ac.ebi.nugo.pluginsAnnotationTypeCvImporter
                      ^ here

comment:2 by base, 17 years ago

yes that was the problem. Sorry! Bad typo.

Note: See TracTickets for help on using tickets.