[
https://issues.apache.org/jira/browse/BEAM-13077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aydar Zaynutdinov updated BEAM-13077:
-------------------------------------
Description:
cod to receive this issue:
{code:java}
lc, _ := fs_tool.NewLifeCycle(pb.Sdk_SDK_JAVA, uuid.New())
// 1
err := lc.CreateFolders()
if err != nil {
panic(err)
}
// 2
err := lc.CreateFolders()
if err != nil {
panic(err)
}
// 3
err := lc.CreateFolders()
if err != nil {
panic(err)
}
// 4 (panic occurs)
err := lc.CreateFolders()
if err != nil {
panic(err)
}
{code}
Expected result:
we should use _lc.CreateFolders()_ without any errors is associated with the
count of using this method.
was:
scenario:
{code:java}
lc, _ := fs_tool.NewLifeCycle(pb.Sdk_SDK_JAVA, uuid.New())
// 1
err := lc.CreateFolders()
if err != nil {
panic(err)
}
// 2
err := lc.CreateFolders()
if err != nil {
panic(err)
}
// 3
err := lc.CreateFolders()
if err != nil {
panic(err)
}
// 4 (panic occurs)
err := lc.CreateFolders()
if err != nil {
panic(err)
}
{code}
> [Playground] LifeCycle.CreateFolders() after several uses returns error
> -----------------------------------------------------------------------
>
> Key: BEAM-13077
> URL: https://issues.apache.org/jira/browse/BEAM-13077
> Project: Beam
> Issue Type: Bug
> Components: beam-playground
> Reporter: Aydar Zaynutdinov
> Assignee: Aydar Zaynutdinov
> Priority: P3
>
> cod to receive this issue:
> {code:java}
> lc, _ := fs_tool.NewLifeCycle(pb.Sdk_SDK_JAVA, uuid.New())
> // 1
> err := lc.CreateFolders()
> if err != nil {
> panic(err)
> }
> // 2
> err := lc.CreateFolders()
> if err != nil {
> panic(err)
> }
>
> // 3
> err := lc.CreateFolders()
> if err != nil {
> panic(err)
> }
> // 4 (panic occurs)
> err := lc.CreateFolders()
> if err != nil {
> panic(err)
> }
> {code}
>
> Expected result:
> we should use _lc.CreateFolders()_ without any errors is associated with the
> count of using this method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)