http://coldfusion.com logo
#box-products
Title
# box-products
b

birdy1980

05/05/2022, 8:06 AM
Hello, I seem to have found a bug in commandbox 5.5.1. If I try this command
mkdir foo && cd foo
I get an error
Copy code
ERROR (5.5.1+00562)

variable [JOB] doesn't exist


\system\services\CommandService.cfc: line 353
351:                    } else {
352:                            if( structKeyExists( local, 'result' ) && len( result ) ){
353:                                    if( job.getActive() ) {
354:                                            job.addLog( result );
355:                                    } else {
called from \system\services\CommandService.cfc: line 224
called from \system\Shell.cfc: line 819
called from \system\Shell.cfc: line 634
called from \system\Bootstrap.cfm: line 160

To enable full stack trace, run config set verboseErrors=true
Did someone else encounter this as well?
b

bdw429s

05/05/2022, 12:56 PM
Yep, I found this yesterday and fixed it in the bleeding edge. I'll put out a 5.5.2 in a couple days if no other bugs crop up.
👍🏻 1
👍🏾 1
In the mean time, use "mkdir foo --cd" 😂
c

chapmandu

05/05/2022, 11:37 PM
Hi @bdw429s We are seeing this error since the 5.5.1 update. INFO: Starting server using generated script: /usr/bin/startup.sh /usr/bin/startup.sh: line 3: /usr/lib/CommandBox/serverJREs/openjdk8_jre_x64_linux_hotspot_jdk8u332-b09/bin/java: No such file or directory Here are some hopefully relevant bits of info from the logs: FROM ortussolutions/commandbox:jdk8-alpine Server start command: /usr/lib/CommandBox/serverJREs/openjdk8_jre_x64_linux_hotspot_jdk8 -jar /usr/lib/CommandBox/lib/runwar-4.7.4.jar INFO: CF Engine defined as lucee@5.3.8.206
b

bdw429s

05/06/2022, 12:56 AM
Just a guess, but does this file exist? 🙂
Copy code
/usr/lib/CommandBox/serverJREs/openjdk8_jre_x64_linux_hotspot_jdk8u332-b09/bin/java
Also, why did you put this question in someone else's unrelated thread?
😳 1
@chapmandu
c

chapmandu

05/06/2022, 2:16 AM
Sorry bout the thread hijack.. I was reading it and replied thinking I was in the main channel..
😁 1
2 Views