Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE in NEWTHREAD when running in the form / navigator context #1296

Open
AlexKirkouski opened this issue Oct 10, 2024 · 0 comments
Open

NPE in NEWTHREAD when running in the form / navigator context #1296

AlexKirkouski opened this issue Oct 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@AlexKirkouski
Copy link
Contributor

Example:

NEWEXECUTOR {
        FOR iterate(INTEGER ii, 1, 10) DO NEWTHREAD NEWSESSION NEWSQL  {
  
            TRY {
                NEW c = CustomUser {
                    login(c) <- 'admin';
                    APPLY;
                    printToLog('susccess');
                }
        
                IF canceled() THEN {
                    printToLog( CONCAT ' : ', 'MultiThread', 'CONSTRAINT', applyMessage());
                } 
            }
            CATCH {
                printToLog(CONCAT ' : ', 'MultiThread', messageCaughtException());
            }
        }
} THREADS 10;
@AlexKirkouski AlexKirkouski added the bug Something isn't working label Oct 10, 2024
@AlexKirkouski AlexKirkouski self-assigned this Oct 10, 2024
@AlexKirkouski AlexKirkouski changed the title NPE in NEWTHREAD when run in the form / navigator context NPE in NEWTHREAD when running in the form / navigator context Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: New
Development

No branches or pull requests

1 participant