[
https://issues.apache.org/jira/browse/AIRAVATA-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947998#comment-16947998
]
Marcus Christie commented on AIRAVATA-3210:
-------------------------------------------
Relevant stack trace from the log:
{noformat:title=laravel.log}
...
[2019-09-15 18:24:02] production.ERROR: Failed to update experiment: Creating
default object from empty value [] []
[2019-09-15 18:24:02] production.ERROR: exception 'ErrorException' with message
'Creating default object from empty value' in
/var/www/portals/seagrid/app/libraries/ExperimentUtilities.php:1414
Stack trace:
#0 /var/www/portals/seagrid/app/libraries/ExperimentUtilities.php(1414):
Illuminate\Exception\Handler->handleError(2, 'Creating defaul...',
'/var/www/portal...', 1414, Array)
#1 /var/www/portals/seagrid/app/controllers/ExperimentController.php(418):
ExperimentUtilities::apply_changes_to_experiment(Object(Airavata\Model\Experiment\ExperimentModel),
Array)
#2 [internal function]: ExperimentController->editSubmit()
#3
/var/www/portals/seagrid/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(231):
call_user_func_array(Array, Array)
#4 /var/www/portals/seagrid/bootstrap/compiled.php(3819):
Illuminate\Routing\Controller->callAction('editSubmit', Array)
#5 /var/www/portals/seagrid/bootstrap/compiled.php(3807):
Illuminate\Routing\ControllerDispatcher->call(Object(ExperimentController),
Object(Illuminate\Routing\Route), 'editSubmit')
#6 /var/www/portals/seagrid/bootstrap/compiled.php(3012):
Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route),
Object(Illuminate\Http\Request), 'ExperimentContr...', 'editSubmit')
#7 [internal function]:
Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#8 /var/www/portals/seagrid/bootstrap/compiled.php(3370):
call_user_func_array(Object(Closure), Array)
#9 /var/www/portals/seagrid/bootstrap/compiled.php(3037):
Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#10 /var/www/portals/seagrid/bootstrap/compiled.php(3025):
Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#11 /var/www/portals/seagrid/bootstrap/compiled.php(702):
Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#12 /var/www/portals/seagrid/bootstrap/compiled.php(678):
Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#13 /var/www/portals/seagrid/bootstrap/compiled.php(5797):
Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1,
true)
#14 /var/www/portals/seagrid/bootstrap/compiled.php(6404):
Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#15 /var/www/portals/seagrid/bootstrap/compiled.php(6351):
Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#16 /var/www/portals/seagrid/bootstrap/compiled.php(8430):
Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#17 /var/www/portals/seagrid/bootstrap/compiled.php(639):
Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#18 /var/www/portals/seagrid/public/index.php(51):
Illuminate\Foundation\Application->run()
#19 {main} [] []
...
{noformat}
> Cloned experiments in PGA cannot be launched. Getting the error: "Failed to
> update experiment: Creating default object from empty value"
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AIRAVATA-3210
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3210
> Project: Airavata
> Issue Type: Sub-task
> Components: Django Portal, PGA PHP Web Gateway
> Affects Versions: 0.18
> Environment: https://staging.seagrid.org
> Reporter: Eroma
> Assignee: Marcus Christie
> Priority: Major
> Fix For: 0.19
>
> Attachments: Screen Shot 2019-09-15 at 2.24.06 PM.png
>
>
> 1. Click clone in an experiment.
> 2. In edit experiment window click Launch.
> 3. Getting an error "Failed to update experiment: Creating default object
> from empty value"
> 4. If I launch the cloned experiment by selecting it from experiment browse
> and without editing, I can successfully launch it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)