Clarity

  • 1.  Attachement attribute on Cost Plan Object Not working

    Posted Mar 16, 2010 12:56 PM
     Hi,  I have created an attachment attribute on Cost Plan Object and could able to add to the Edit View.When i go to cost plan and attach some file and click on save it is throwing the following error:  Error 500 - Internal Server Error. The server could not retrieve the document due to server-configuration or other technical problems. Contact your site administrator  All other document managers (upload edit checkin ) are working good.  Does any one came across this scinarion?  Regards,Durga Chintaluri  


  • 2.  Re: Attachement attribute on Cost Plan Object Not working

     
    Posted Mar 18, 2010 03:33 PM
    Hi All,
     
    Any input here for Durga?  If not you may want to log an issue with Support to see if they have seen before.
     
    Regards,
    Chris


  • 3.  Re: Attachement attribute on Cost Plan Object Not working

    Posted Mar 19, 2010 12:48 AM
    Hi, whenever you get the "Error 500 - Internal Server Error" you need to look in the log files (app_niku.log etc) on the Clarity application server that generated the error.  The error message in there might tell you more information (but is of a technical nature, usually a java dump of some sort).   If you raise a case with support they will ask you to extract the log files anyway so you might as well look there first!  If you can find the error in the log file and post it here, someone might be able to help!   (but no harm in raising with CA support as well - thats why you pay a support fee :-) )  Dave.


  • 4.  Re: Attachement attribute on Cost Plan Object Not working

    Posted Mar 19, 2010 09:19 AM
     Hi Dave,   It is throwing the following exception when i tried to upload a file in Cost plan Edit View.     It is working for when i tried to upload files to project document manager.   ERROR 2010-03-19 13:13:18,105 [http-443-Processor8] object.ODFAbstractObjectImpl (CHINTD:7031022__6b82caed:revmgr.costplanPost) Could not save document C:\W_RM_STG_VW.txt exception com.niku.union.odf.exception.ODFException: Unable to create attribute attachment folder
    ERROR 2010-03-19 13:13:18,105 [http-443-Processor8] service.ODFService (CHINTD:7031022__6b82caed:revmgr.costplanPost) processRequest Exception
    com.niku.union.odf.exception.ODFException: Error writing file C:\W_RM_STG_VW.txt to file system  On the application it is throwing :Error 500 - Internal Server Error. The server could not retrieve the document due to server-configuration or other technical problems. Contact your site administrator..  Regards,Durga Chintaluri  


  • 5.  Re: Attachement attribute on Cost Plan Object Not working

    Posted May 05, 2010 02:12 AM
    Hi,did you solve your issue?I'm experiencing the same problem with a simple custom object i created just to test the attachment attribute feature.My goal is to attach a  xls  file to every istance of the custom object I created,  in order to allow to a process (started at istance creation)  to  read data from  the attachment using a custom jar.  The following is the error in the log.  Thank you.  Marino  ERROR 2010-05-05 11:43:24,892 [http-80-Processor4] object.ODFAbstractObjectImpl (admin:37545253__-2944b728:odf.customObjectInsertAndClose) Unable to create attribute attachment folder
    java.lang.ArrayIndexOutOfBoundsException: 0
     at com.niku.odf.object.ODFAbstractObjectImpl.getFolderId(ODFAbstractObjectImpl.java:3092)
     at com.niku.odf.object.ODFAbstractObjectImpl.processNewAttachment(ODFAbstractObjectImpl.java:2800)
     at com.niku.odf.object.ODFAbstractObjectImpl.processAttachments(ODFAbstractObjectImpl.java:2612)
     at com.niku.odf.object.ODFObjectImpl.insert(ODFObjectImpl.java:2043)
     at com.niku.odf.object.ODFObjectImpl.insert(ODFObjectImpl.java:1964)
     at com.niku.odf.service.ODFUpdateServiceBinding.process(ODFUpdateServiceBinding.java:105)
     at com.niku.odf.service.ODFService.doProcess(ODFService.java:183)
     at com.niku.odf.service.BaseODFService.processRequest(BaseODFService.java:109)
     at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:759)
     at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:213)
     at com.niku.union.web.WebServiceAdapter.processRequest(WebServiceAdapter.java:195)
     at com.niku.union.web.PortletController.processServiceRequest(PortletController.java:1323)
     at com.niku.union.web.PortletController.processProcessActionRequest(PortletController.java:229)
     at com.niku.union.web.PortletController.processRequest(PortletController.java:156)
     at com.niku.union.web.WebActionController.processAction(WebActionController.java:1090)
     at com.niku.union.web.WebActionController.processRequest(WebActionController.java:170)
     at com.niku.union.web.WebControlServlet.service(WebControlServlet.java:319)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at com.niku.union.web.filter.GZIPResponseFilter.doFilter(GZIPResponseFilter.java:121)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at com.niku.union.web.filter.CharsetFilter.doFilter(CharsetFilter.java:29)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     at java.lang.Thread.run(Thread.java:595)
    ERROR 2010-05-05 11:43:24,892 [http-80-Processor4] object.ODFAbstractObjectImpl (admin:37545253__-2944b728:odf.customObjectInsertAndClose) Could not save document C:\Documents and Settings\AdminCLA\Desktop\New Text Document.txt exception com.niku.union.odf.exception.ODFException: Unable to create attribute attachment folder
    ERROR 2010-05-05 11:43:24,892 [http-80-Processor4] service.ODFService (admin:37545253__-2944b728:odf.customObjectInsertAndClose) processRequest Exception
    com.niku.union.odf.exception.ODFException: Error writing file C:\Documents and Settings\AdminCLA\Desktop\New Text Document.txt to file system
     at com.niku.odf.object.ODFAbstractObjectImpl.processNewAttachment(ODFAbstractObjectImpl.java:2903)
     at com.niku.odf.object.ODFAbstractObjectImpl.processAttachments(ODFAbstractObjectImpl.java:2612)
     at com.niku.odf.object.ODFObjectImpl.insert(ODFObjectImpl.java:2043)
     at com.niku.odf.object.ODFObjectImpl.insert(ODFObjectImpl.java:1964)
     at com.niku.odf.service.ODFUpdateServiceBinding.process(ODFUpdateServiceBinding.java:105)
     at com.niku.odf.service.ODFService.doProcess(ODFService.java:183)
     at com.niku.odf.service.BaseODFService.processRequest(BaseODFService.java:109)
     at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:759)
     at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:213)
     at com.niku.union.web.WebServiceAdapter.processRequest(WebServiceAdapter.java:195)
     at com.niku.union.web.PortletController.processServiceRequest(PortletController.java:1323)
     at com.niku.union.web.PortletController.processProcessActionRequest(PortletController.java:229)
     at com.niku.union.web.PortletController.processRequest(PortletController.java:156)
     at com.niku.union.web.WebActionController.processAction(WebActionController.java:1090)
     at com.niku.union.web.WebActionController.processRequest(WebActionController.java:170)
     at com.niku.union.web.WebControlServlet.service(WebControlServlet.java:319)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at com.niku.union.web.filter.GZIPResponseFilter.doFilter(GZIPResponseFilter.java:121)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at com.niku.union.web.filter.CharsetFilter.doFilter(CharsetFilter.java:29)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     at java.lang.Thread.run(Thread.java:595)
    Caused by: com.niku.union.odf.exception.ODFException: Unable to create attribute attachment folder
     at com.niku.odf.object.ODFAbstractObjectImpl.getFolderId(ODFAbstractObjectImpl.java:3099)
     at com.niku.odf.object.ODFAbstractObjectImpl.processNewAttachment(ODFAbstractObjectImpl.java:2800)
     ... 37 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
     at com.niku.odf.object.ODFAbstractObjectImpl.getFolderId(ODFAbstractObjectImpl.java:3092)
     ... 38 more


  • 6.  Re: Attachement attribute on Cost Plan Object Not working

     
    Posted May 07, 2010 01:44 PM
    I think someone should log an issue with Support and then post the resolution here.
     
    Thanks,
    Chris


  • 7.  RE: Re: Attachement attribute on Cost Plan Object Not working
    Best Answer

    Posted Jun 03, 2010 09:26 AM
    Hi

    We upgraded our system from clarity 8.1.0 to 8.1.5 solved that issue.
    So, that should be a bug in 8.1.0.

    Regards,
    Durga Chintaluri