<< Back to previous view

[QB-2602] Loads of IllegalStateExceptions in findAuditBuildRequest
Created: 15/Dec/15  Updated: 17/Feb/16

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 6.0.35
Fix Version/s: None

Type: Bug Priority: Major
Reporter: AlSt Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
I do not know why and how this can happen:

jvm 1 | Exception in thread "pool-1-thread-246357" java.lang.IllegalStateException
jvm 1 | at com.pmease.quickbuild.model.Configuration.findAuditBuildRequest(Configuration.java:1706)
jvm 1 | at com.pmease.quickbuild.DefaultBuildEngine$5$1.run(DefaultBuildEngine.java:1901)
jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
jvm 1 | at java.lang.Thread.run(Thread.java:745)

Sorry for that less information

 Comments   
Comment by Robin Shen [ 16/Dec/15 12:44 AM ]
Please edit advanced setting of your root configuration and set option "audit build request" to either "yes" or "no". This option is added in a patch release and QB should have set this correctly after migration. But for some reason (typically if the root configuration is created by some custom script), this option may forget to be specified.
Comment by AlSt [ 16/Dec/15 08:20 AM ]
What exactly do you mean with "root configuration". The root configuration is present right after server installation. Or do you mean any parent configuration?
Comment by Robin Shen [ 17/Dec/15 12:41 AM ]
I mean the top level configuration. Please check advanced setting of it to see if the value is undefined.
Comment by Alexey Shumkin [ 16/Feb/16 11:48 AM ]
I have the same errors in a log
jvm 1 | 2016-02-16 11:35:17,880 INFO - Build request has been processed.
jvm 1 | Exception in thread "pool-1-thread-82" java.lang.IllegalStateException
jvm 1 | at com.pmease.quickbuild.model.Configuration.findAuditBuildRequest(Configuration.java:1706)
jvm 1 | at com.pmease.quickbuild.DefaultBuildEngine$5$1.run(DefaultBuildEngine.java:1931)
jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
jvm 1 | at java.lang.Thread.run(Thread.java:745)

>>I mean the top level configuration. Please check advanced setting of it to see if the value is undefined.
Value "audit" was defined and "yes".
I rechecked (uncheck, save, check, save) it, but it did not help.

System Date and Time 2016-02-16 14:47:18
Operating System Linux 3.13.0-32-generic, amd64
JVM OpenJDK 64-Bit Server VM 1.7.0_91, Oracle Corporation
QuickBuild Version 6.1.2 - Fri Jan 08 01:30:14 UTC 201
Comment by Robin Shen [ 17/Feb/16 12:50 AM ]
Root cause of this issue is now found and the issue has now been fixed in 6.1.5.
Generated at Thu May 16 17:23:08 UTC 2024 using JIRA 189.