ah, so you&#39;re adding an image to an ordinary folder as a document.  You should have better luck when trying to do the same in a gallery folder.  These can be found under &#39;images&#39;.<div><br></div><div>cheers, Frank<br>
<br><div class="gmail_quote">On Fri, Sep 24, 2010 at 9:37 AM, slaksh168 <span dir="ltr">&lt;<a href="mailto:santanalakshmi.s@hcl.com">santanalakshmi.s@hcl.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi,<br>
<br>
This is the exception which i get when trying to create a document of type<br>
Image<br>
<br>
<br>
24.09.2010 12:49:15 ERROR<br>
[org.hippoecm.addon.workflow.CompatibilityWorkflowPlug<br>
in$WorkflowAction$WorkflowDialog.onOk():209] Error during workflow execution<br>
javax.jcr.ItemExistsException:<br>
/content/documents/hippogogreen/images/2000/01/im<br>
g1/img1/hippogogreengallery:thumbnail<br>
        at<br>
org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.jav<br>
a:782)<br>
        at<br>
org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:734<br>
)<br>
        at<br>
org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:682<br>
)<br>
        at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:2115)<br>
        at<br>
org.hippoecm.repository.decorating.NodeDecorator.addNode(NodeDecorato<br>
r.java:84)<br>
        at<br>
org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.copy(Fold<br>
erWorkflowImpl.java:508)<br>
        at<br>
org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.copy(Fold<br>
erWorkflowImpl.java:550)<br>
        at<br>
org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.add(Folde<br>
rWorkflowImpl.java:246)<br>
        at<br>
org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.add(Folde<br>
rWorkflowImpl.java:184)<br>
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>
        at java.lang.reflect.Method.invoke(Unknown Source)<br>
        at<br>
org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHa<br>
ndler.invoke(WorkflowManagerImpl.java:495)<br>
        at $Proxy23.add(Unknown Source)<br>
        at<br>
org.hippoecm.frontend.plugins.standardworkflow.FolderWorkflowPlugin$4<br>
.execute(FolderWorkflowPlugin.java:286)<br>
        at<br>
org.hippoecm.frontend.plugins.standardworkflow.FolderWorkflowPlugin$4<br>
.execute(FolderWorkflowPlugin.java:257)<br>
        at<br>
org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowActio<br>
n.execute(CompatibilityWorkflowPlugin.java:160)<br>
        at<br>
org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowActio<br>
n$WorkflowDialog.execute(CompatibilityWorkflowPlugin.java:223)<br>
        at<br>
org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowActio<br>
n$WorkflowDialog.onOk(CompatibilityWorkflowPlugin.java:204)<br>
        at<br>
org.hippoecm.frontend.dialog.AbstractDialog.handleSubmit(AbstractDial<br>
og.java:580)<br>
        at<br>
org.hippoecm.frontend.dialog.AbstractDialog$3.onSubmit(AbstractDialog<br>
.java:430)<br>
        at<br>
org.hippoecm.frontend.dialog.AbstractDialog$ButtonWrapper$1.onSubmit(<br>
AbstractDialog.java:251)<br>
        at<br>
org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxBut<br>
ton.java:102)<br>
        at<br>
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSu<br>
bmitBehavior.java:143)<br>
        at<br>
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.ja<br>
va:177)<br>
        at<br>
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(Abstract<br>
DefaultAjaxBehavior.java:286)<br>
        at<br>
org.apache.wicket.request.target.component.listener.BehaviorRequestTa<br>
rget.processEvents(BehaviorRequestTarget.java:119)<br>
        at<br>
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents<br>
(AbstractRequestCycleProcessor.java:92)<br>
        at<br>
org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(Plugi<br>
nRequestCycleProcessor.java:95)<br>
        at<br>
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j<br>
ava:1250)<br>
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)<br>
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)<br>
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)<br>
        at<br>
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:<br>
479)<br>
        at<br>
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja<br>
va:312)<br>
        at<br>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl<br>
icationFilterChain.java:235)<br>
        at<br>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF<br>
ilterChain.java:206)<br>
        at<br>
org.hippoecm.frontend.ResourceRewriteFilter.doFilter(ResourceRewriteF<br>
ilter.java:129)<br>
        at<br>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl<br>
icationFilterChain.java:235)<br>
        at<br>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF<br>
ilterChain.java:206)<br>
        at<br>
org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(Co<br>
ncurrentLoginFilter.java:54)<br>
        at<br>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl<br>
icationFilterChain.java:235)<br>
        at<br>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF<br>
ilterChain.java:206)<br>
        at<br>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV<br>
alve.java:233)<br>
        at<br>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV<br>
alve.java:191)<br>
        at<br>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j<br>
ava:127)<br>
        at<br>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j<br>
ava:102)<br>
        at<br>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal<br>
ve.java:109)<br>
        at<br>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav<br>
a:298)<br>
        at<br>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java<br>
:857)<br>
        at<br>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce<br>
ss(Http11Protocol.java:588)<br>
        at<br>
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48<br>
9)<br>
        at java.lang.Thread.run(Unknown Source)<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://hippo.2275632.n2.nabble.com/unable-to-add-image-type-document-tp5561944p5565857.html" target="_blank">http://hippo.2275632.n2.nabble.com/unable-to-add-image-type-document-tp5561944p5565857.html</a><br>

</font><div><div></div><div class="h5">Sent from the Hippo CMS 7 mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Hippo-cms7-user mailing list and forums<br>
<a href="http://www.onehippo.org/cms7/support/forums.html" target="_blank">http://www.onehippo.org/cms7/support/forums.html</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Hippo<br>Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466<br>
USA  • San Fransisco  185 H Street Suite B  •  Petaluma CA 94952-5100 •  +1 (707) 773 4646<br>Canada    •   Montréal  5369 Boulevard St-Laurent  •  Montréal QC H2T 1S5  •  +1 (514) 316 8966<br><a href="http://www.onehippo.com/" style="color:rgb(87, 151, 176)" target="_blank">www.onehippo.com</a>  •  <a href="http://www.onehippo.org/" style="color:rgb(87, 151, 176)" target="_blank">www.onehippo.org</a>  •  <a href="mailto:info@onehippo.com" style="color:rgb(87, 151, 176)" target="_blank">info@onehippo.com</a><br>
<br></span><br>
</div>