Project

General

Profile

Actions

Support #3119

closed

HomeLIbrary: registering to VRE and VRE Folder problem

Added by Massimiliano Assante over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Urgent
Category:
Other
Start date:
Apr 01, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

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)
Actions #1

Updated by Massimiliano Assante over 9 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.
Actions #2

Updated by Massimiliano Assante over 9 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

Actions #3

Updated by Massimiliano Assante over 9 years ago

I tried with a different user on services.d4science, still on BioDiversityLab VRE, same exception.

Actions #4

Updated by Valentina Marioli over 9 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Valentina Marioli over 9 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.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)