You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (JIRA)" <ji...@apache.org> on 2019/04/02 16:06:00 UTC

[jira] [Commented] (AIRAVATA-3002) Exception thrown when user clicks on Experiments in workspace while not been in any of the user groups

    [ https://issues.apache.org/jira/browse/AIRAVATA-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807891#comment-16807891 ] 

Marcus Christie commented on AIRAVATA-3002:
-------------------------------------------

Stacktrace on API server:
{noformat}
2019-04-02 16:04:25,698 [pool-9-thread-1836] ERROR o.a.a.r.a.s.h.RegistryServerHandler  - User does not exist in the system. Please provide a valid user..
2019-04-02 16:04:25,698 [pool-9-thread-1836] ERROR o.a.a.r.a.s.h.RegistryServerHandler  - Error while retrieving experiments
org.apache.airavata.model.error.AiravataSystemException: User does not exist in the system. Please provide a valid user..
        at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.searchExperiments(RegistryServerHandler.java:3765)
        at org.apache.airavata.registry.api.RegistryService$Processor$searchExperiments.getResult(RegistryService.java:15464)
        at org.apache.airavata.registry.api.RegistryService$Processor$searchExperiments.getResult(RegistryService.java:15448)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
2019-04-02 16:04:25,698 [pool-24-thread-48] ERROR o.a.a.a.s.h.AiravataServerHandler  - Error while retrieving experiments
org.apache.airavata.registry.api.exception.RegistryServiceException: Error while retrieving experiments. More info : User does not exist in the system. Please provide a valid user..
        at org.apache.airavata.registry.api.RegistryService$searchExperiments_result$searchExperiments_resultStandardScheme.read(RegistryService.java:52180)
        at org.apache.airavata.registry.api.RegistryService$searchExperiments_result$searchExperiments_resultStandardScheme.read(RegistryService.java:52147)
        at org.apache.airavata.registry.api.RegistryService$searchExperiments_result.read(RegistryService.java:52089)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:89)
        at org.apache.airavata.registry.api.RegistryService$Client.recv_searchExperiments(RegistryService.java:3577)
        at org.apache.airavata.registry.api.RegistryService$Client.searchExperiments(RegistryService.java:3559)
        at org.apache.airavata.api.server.handler.AiravataServerHandler.searchExperiments(AiravataServerHandler.java:1193)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$f86017c4.CGLIB$searchExperiments$19(<generated>)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$f86017c4$$FastClassByGuice$$aa25ff1f.invoke(<generated>)
        at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
        at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
        at org.apache.airavata.service.security.interceptor.SecurityInterceptor.invoke(SecurityInterceptor.java:57)
        at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
        at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
        at org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$f86017c4.searchExperiments(<generated>)
        at org.apache.airavata.api.Airavata$Processor$searchExperiments.getResult(Airavata.java:18481)
        at org.apache.airavata.api.Airavata$Processor$searchExperiments.getResult(Airavata.java:18465)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
{noformat}


> Exception thrown when user clicks on Experiments in workspace while not been in any of the user groups
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3002
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3002
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>    Affects Versions: 0.18
>         Environment: https://beta.simccs.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>         Attachments: Screen Shot 2019-04-02 at 10.20.18 AM.png, Screen Shot 2019-04-02 at 10.28.11 AM.png, Screen Shot 2019-04-02 at 10.28.19 AM.png
>
>
> # User used CILogon and in gateway workspace but not a member of any of the existing groups yet. Currently gateway has gateway_user, admin-read-only and admin user groups but this user is new and not in any of those.
>  # Exception attached is thrown, when clicked on experiments.
>  # The page link is [https://beta.simccs.org/workspace/experiments] TypeError at /workspace/experiments
>  unhashable type: ‘AiravataSystemException’
>  Request Method: GET...........
>  # Please see the attachment
>  
>  # This user can also click 'Create new Parser" which should not be available for this user. that also throws the 'Page Not found' error.
>  # In Admin space, the user can create credentials and also create group resource profiles.
>  # All this can be done without being in any active group.
>  # Shouldn't these be restricted for this user?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)