Opened 18 years ago

Closed 18 years ago

#183 closed defect (wontfix)

cannot add annotation and new Items

Reported by: lyu@… Owned by: Nicklas Nordborg
Priority: critical Milestone:
Component: core Version:
Keywords: Cc:


Dear all,

After I downloaded the latest source code “2106 Mar 23, 2006”, and compiled on my own machine, then copy all of the classes to the tomcat, I got one compile error, and another thing is still about the annotation.

The compile error is about the net.sf.basedb.util.jep.RawFunction, the default compiler is missed.

The annotation error is, I cannot add the annotation to the sample, I do not know why, since this bug has been fixed up from version 2089, and the 2106 is the latest one, supposed it will be available on 2106. The error message is still about the permission…. At this point, I can add new items, such as sample.

But, the weird thing is: after copying the three classes (,, from, then compiled them, and replaced such three classes I got from version 2106, I can add the annotations for those items, however, I found that I cannot add new items, such as Samples anymore. Here is the exception:

java.lang.NoSuchMethodError on page /base2/biomaterials/samples/index.jsp

net.sf.basedb.core.DbControl.newItem(Ljava/lang/Class;)Lnet/sf/basedb/core/BasicItem; Sample.getNew( org.apache.jsp.biomaterials.samples.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$

21 more...

Anyone know what happed?

Thanks a lot!


Change History (2)

comment:1 by Nicklas Nordborg, 18 years ago

Please supply the original exceptions. Not the one you got after mixing files from different revisions. We will not look into this error otherwise.

comment:2 by Jari Häkkinen, 18 years ago

Resolution: wontfix
Status: newclosed

This problem is due to mixing of classes from different subversion revisions.

Note: See TracTickets for help on using tickets.