Support #3119
closedHomeLIbrary: registering to VRE and VRE Folder problem
100%
Description
I tried to register to TabularDataLab VRE but the VRE Folder was not assigned to me reporting this exception in the logs
2016-04-01 14:12:37,948 INFO session.ASLSession [TP-Processor5,setScope:319] %[PORTAL] 1195755367 [TP-Processor5] INFO org.gcube.application.framework.core.session.ASLSession - The scope about to set is: /d4science.research-infrastructures.eu/gCubeApps/TabularDataLab
2016-04-01 14:12:37,968 INFO server.NewsServiceImpl [TP-Processor2,getAllUpdateUserFeeds:231] %[PORTAL] 1195755387 [TP-Processor2] INFO org.gcube.portlets.user.newsfeed.server.NewsServiceImpl - ****** retrieving feeds for user: massimiliano.assante
org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException: org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException: java.lang.String cannot be cast to org.gcube.common.homelibary.model.items.ItemDelegate
at org.gcube.common.homelibrary.jcr.workspace.JCRWorkspace.getItemByAbsPath(JCRWorkspace.java:2825)
at org.gcube.common.homelibrary.jcr.workspace.JCRWorkspace.getItemByPath(JCRWorkspace.java:2808)
at org.gcube.common.homelibrary.jcr.workspace.JCRWorkspace.getVREFolderByScope(JCRWorkspace.java:3188)
at org.gcube.portlets.user.lastupdatedfiles.server.FileServiceImpl.getLastUpdateFiles(FileServiceImpl.java:112)
at sun.reflect.GeneratedMethodAccessor2666.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
Updated by Massimiliano Assante almost 10 years ago
The same problem happened with BioDiversityLab VRE, I left the VRE and the VRE Folder was removed from my share, then I rejoined BioDiversityLab same exception
miliano.assante
2016-04-01 14:18:40,750 INFO server.FileServiceImpl [TP-Processor2,getLastUpdateFiles:102] %[PORTAL] 1196118169 [TP-Processor2] INFO org.gcube.portlets.user.lastupdatedfiles.server.FileServiceImpl - Trying to get Group folder for scope=/d4science.research-infrastructures.eu/gCubeApps/BiodiversityLab
2016-04-01 14:18:40,771 INFO servlet.JCRServlets [TP-Processor2,getItemByPath:237] %[PORTAL] 1196118190 [TP-Processor2] INFO org.gcube.common.homelibrary.jcr.workspace.servlet.JCRServlets - Calling Servlet GetItemByPath /Home/massimiliano.assante/Workspace/MySpecialFolders/d4science.research-infrastructures.eu-gCubeApps-BiodiversityLab by massimiliano.assante
org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException: org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException: java.lang.String cannot be cast to org.gcube.common.homelibary.model.items.ItemDelegate
at org.gcube.common.homelibrary.jcr.workspace.JCRWorkspace.getItemByAbsPath(JCRWorkspace.java:2825)
at org.gcube.common.homelibrary.jcr.workspace.JCRWorkspace.getItemByPath(JCRWorkspace.java:2808)
at org.gcube.common.homelibrary.jcr.workspace.JCRWorkspace.getVREFolderByScope(JCRWorkspace.java:3188)
at org.gcube.portlets.user.lastupdatedfiles.server.FileServiceImpl.getLastUpdateFiles(FileServiceImpl.java:112)
at sun.reflect.GeneratedMethodAccessor2666.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.
Updated by Massimiliano Assante almost 10 years ago
I tried with a different user that has never belonged to BioDiversityLab VRE, same exception. It feels like we have this error since we deployed the HomeLibrary 3.10.1 patch
Updated by Massimiliano Assante almost 10 years ago
I tried with a different user on services.d4science, still on BioDiversityLab VRE, same exception.
Updated by Valentina Marioli almost 10 years ago
- Status changed from New to In Progress
Updated by Valentina Marioli almost 10 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
The issue has been fixed for BioDiversityLab and TabularDataLab VRE Folder. It was due to a bug removing an administrator from the sharing.
I'm going to close this ticket and to open a new ticket to avoid this behaviour.