Community
Participate
Working Groups
Stack trace when generating perf results with I20080318-0800
Kim, it seems that it's a database access issue. While connecting on line 396 of DB_Results in connect() method, I always get a SQLException: No suitable driver The perf results generation was not designed to work without a DB connection and there's no specific protection while accessing DB to get the data, hence the NPE on the first array without any items... :-( However, it seems that the connection issue does not come from the database itself as I can access it from the Results view I use to verify the performance results each week. I use it from a runtime workbench although the perf results generation uses a runtime applications extension. As I'm not really an expert in this kind of launch config, I'll see if I can figure out what could be the difference between the working (runtime wkbch) and non-working (runtime application) DB access...
Note that I didn't get any trouble on maintenance stream database. I can connect to the DB from the runtime workbench as well as running the runtime application to generate the perf results. Note also that when connection to the 3.4 DB, I didn't see any results for I20080318-0800 build... So, either the perf tests didn't really run or the results were not stored in database.
Hmm, it seems I didn't investigate deeply enough yesterday evening... In fact the exception also occurs on my runtime workbench. I was thinking it worked but I was only reading results stored locally! Sorry for that. So, now it sounds more like a database issue. Maybe the network server is down for this database?
Oooops, forget my previous comment!!! Again, I didn't investigate enough... :-( Sorry for the noise The database connection looks OK. The SQLException occurs as we do not have the DB2 driver but use the cloudscape one instead. So, the first connection attempt fails but the second one succeeds! Querying the database for all builds, does not show any 'I20080318-0800' item: so, finally, the problem comes from the fact that there's no results for this build! The conclusion is that perf results generation needs to be modified to report properly in the log the fact that the requested build has no performance results instead of raising a NPE... (and makes me become completely noisy!!!)
Note that there was no performance results stored for build I20080318-0800 due to bug 223372.
Please adjust the target milestone, so it does not point at a closed milestone in the past.
This has been fixed a while ago...