Skip to content

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

@AlexKirkouski

Description

@AlexKirkouski

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;

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions