airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raminderjeet Singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-1139) Cannot get all user projects
Date Mon, 14 Apr 2014 20:16:15 GMT

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

Raminderjeet Singh commented on AIRAVATA-1139:
----------------------------------------------

This is the error on server. Looks like we need to handle some null values. 
org.apache.thrift.protocol.TProtocolException: Required field 'owner' is unset! Struct:Project(projectID:default,
owner:null, name:default, creationTime:1394739636000, sharedGroups:[])
	at org.apache.airavata.model.workspace.Project.validate(Project.java:795)
	at org.apache.airavata.model.workspace.Project$ProjectStandardScheme.write(Project.java:927)
	at org.apache.airavata.model.workspace.Project$ProjectStandardScheme.write(Project.java:829)
	at org.apache.airavata.model.workspace.Project.write(Project.java:717)
	at org.apache.airavata.api.Airavata$getAllUserProjects_result$getAllUserProjects_resultStandardScheme.write(Airavata.java:7854)
	at org.apache.airavata.api.Airavata$getAllUserProjects_result$getAllUserProjects_resultStandardScheme.write(Airavata.java:7775)
	at org.apache.airavata.api.Airavata$getAllUserProjects_result.write(Airavata.java:7705)
	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:53)
	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)

> Cannot get all user projects
> ----------------------------
>
>                 Key: AIRAVATA-1139
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1139
>             Project: Airavata
>          Issue Type: Bug
>          Components: Airavata Client
>         Environment: PHP
>            Reporter: David Reagan
>             Fix For: 0.12
>
>
> getAllUserProjects("admin") throws a TTransportException
> Fatal error: Uncaught exception 'Thrift\Exception\TTransportException' with message 'TSocket
read 0 bytes' in C:\wamp\www\Airavata-PHP-Client-Samples\lib\Thrift\Transport\TSocket.php
on line 269



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message