Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Server's disk usage #2193

brutan ·
Hi,

Disk space on my server goes to zero quite fast, so I am trying to understand how to manage QB disk usage in a correct way. I checked one 50GB db file and cannot understand what is the reason for such amount of data to be stored here. Could you please help me to understand?
The example db file is: quickbuild-data/configurations/11/reports/buildstats/DEFAULT/buildstats.h2.db
Artifact retention policy is set to zero (I expect artifacts will be deleted with builds).
Cleanup Strategy is set to store 5 builds.
Configuration #11 has 5 builds according to the cleanup strategy. Build log is about 25MB, build artifacts are about 110MB. Which is less than one GB for all the builds in sum.
So why do I have 50GB db file for this configuration? Is there a way to reduce amount of statistic data stored in the db?

I am using QB 4.0.50.

Thanks,
Andrey
  • replies 24
  • views 7511
  • stars 0
steveluo ADMIN ·
Hi,

It's hard to believe you got 50GB data for buildstats. Actually, this db file stores only below information:
buildId (long), stepPath(string), stepType(string), duration(long), status(enum), successed(boolean)

So please help to do some test below:
1. Open this db, (you may reference to this page: http://www.h2database.com/html/tutorial ... h2_console)
2. SELECT COUNT(*) FROM stepstats (should be number of your steps X the number of your builds for one configuration)
3. SELECT * FROM stepstats limit 1000

I just want to know how many records are there in your database and what's the average size for each row. By the way, how many steps are there in your configuration?

All statistics report data (not only build stats, but also JUnit, NUnit, etc.) cannot be cleaned up automatically according to your cleanup strategy. But you can set up a configuration to rebuild the statistics data and schedule the configuration to run in any frequency you want.
brutan ·
Configuration has 9 steps. Builds have 45 runtime steps.

COUNT(*)
153652

Not sure what to present for the second SELECT statement, 1000 records seems to be too mach for a post. The longest step path seems to be 350 chars and shortest is "master".

Am I rightly understood that QB will keep all statistic data for deleted builds?

Thanks,
Andrey
steveluo ADMIN ·
In your case, 50G is abnormal. I have just insert 200,000 records to the database with 420 characters for each stepPath, the database file is about 650M. But it slow down the collecting metrics significantly.

I don't know why you got 50G data here. It's true that QuickBuild doesn't delete those statistics data automatically when you remove the builds. But you can add a configuration with a rebuild statistics step to do this dirty work just like what I mentioned in previous post. Hope that can helps.
brutan ·
I executed stats rebuild for this configuration and the db file was removed. Does it mean that these 5 builds I have for the configuration do not produce any statistic info?
I also tried to rebuild statistic for "root" recursively but got:
java.io.EOFException: input contained no data
caused by: input contained no data

How to resolve this?
Generally I was able to clean ~270GB on server (77% => 48% disk usage) by rebuilding statistics for different configurations, so it seems like the rebuild process is required step for QB maintenance. So I am going to set it to scheduled execution. Just need to understand how to deal with the error above.

Thanks,
Andrey
steveluo ADMIN ·
Please post your full stack trace here. I cannot know what's the real problem with just only these two lines.

Is the error only related to this configuration? After you rebuild the stats, are you able to visit other configurations' statistics page especially for the buildstats?
brutan ·
I got the error for "root" configuration. And I also got it for biggest child in the "root". For the configuration #11 which I took as example for first post there is no error.

Here is the trace stack:
15:48:45,313 [master>t2@qb.rhonda.vtc.ru:8810] ERROR - Step 'master>t2' is failed.
java.lang.RuntimeException: java.io.EOFException: input contained no data
at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:58)
at com.pmease.quickbuild.util.ExceptionUtils.wrapAsUnchecked(ExceptionUtils.java:82)
at com.pmease.quickbuild.migration.VersionedDocument.fromXML(VersionedDocument.java:457)
at com.pmease.quickbuild.util.BeanUtils.readFile(BeanUtils.java:378)
at com.pmease.quickbuild.util.BeanUtils.readFile(BeanUtils.java:382)
at com.pmease.quickbuild.util.BeanUtils.readFile(BeanUtils.java:386)
at com.pmease.quickbuild.plugin.report.engine.migration.VersionFile.read(VersionFile.java:24)
at com.pmease.quickbuild.plugin.report.engine.migration.MigrationExecutor.readDataVersion(MigrationExecutor.java:41)
at com.pmease.quickbuild.plugin.report.engine.migration.MigrationExecutor.needUpgrade(MigrationExecutor.java:86)
at com.pmease.quickbuild.plugin.report.engine.migration.MigrationExecutor.doUpgrade(MigrationExecutor.java:63)
at com.pmease.quickbuild.plugin.report.engine.migration.MigrationExecutor.upgrade(MigrationExecutor.java:96)
at com.pmease.quickbuild.plugin.report.engine.metadata.ReportCategory.upgrade(ReportCategory.java:789)
at com.pmease.quickbuild.plugin.report.engine.metadata.ReportCategory.getCategoryDirOfBuild(ReportCategory.java:451)
at com.pmease.quickbuild.plugin.report.engine.contribution.AbstractReportPlugin.hasBuildReport(AbstractReportPlugin.java:311)
at com.pmease.quickbuild.plugin.report.engine.contribution.AbstractReportPlugin$3.isApplicable(AbstractReportPlugin.java:205)
at com.pmease.quickbuild.plugin.report.engine.contribution.publisher.StatisticsReportPublisher.collectStatistics(StatisticsReportPublisher.java:72)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep.rebuildStatistics(StatisticsRebuildStep.java:133)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep.run(StatisticsRebuildStep.java:113)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep$$EnhancerByCGLIB$$af90047d.CGLIB$run$0(<generated>)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep$$EnhancerByCGLIB$$af90047d$$FastClassByCGLIB$$3918f41.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:270)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep$$EnhancerByCGLIB$$af90047d.run(<generated>)
at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:479)
at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:29)
at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:47)
at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:61)
at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:78)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)
at org.dom4j.io.XPP3Reader.parseDocument(XPP3Reader.java:369)
at org.dom4j.io.XPP3Reader.read(XPP3Reader.java:213)
at com.pmease.quickbuild.migration.VersionedDocument.fromXML(VersionedDocument.java:455)
... 26 more
steveluo ADMIN ·
Please upgrade your QuickBuild to the latest. We have an issue on processing empty version file which is used by tracking the report version internally.
brutan ·
Upgraded to 5.0.10.
Here is new error for "Rebuild Statistics" on "root":
15:20:36,896 ERROR - Step 'master>t2' is failed.
com.pmease.quickbuild.QuickbuildException: Construct category null failed.
at com.pmease.quickbuild.util.ExceptionUtils.wrapException(ExceptionUtils.java:89)
at com.pmease.quickbuild.plugin.report.engine.metadata.ReportCategory.fromXML(ReportCategory.java:231)
at com.pmease.quickbuild.plugin.report.engine.extensionpoint.AbstractTypedXMLObject.initFromStream(AbstractTypedXMLObject.java:63)
at com.pmease.quickbuild.plugin.report.engine.extensionpoint.AbstractTypedXMLObject.initFromClassResource(AbstractTypedXMLObject.java:67)
at com.pmease.quickbuild.plugin.report.customstats.CustomReportCategory.<init>(CustomReportCategory.java:16)
at com.pmease.quickbuild.plugin.report.customstats.CustomStatsCategory.toCategory(CustomStatsCategory.java:117)
at com.pmease.quickbuild.plugin.report.customstats.PluginSetting.getCategories(PluginSetting.java:132)
at com.pmease.quickbuild.plugin.report.customstats.publisher.CustomStatsProvider.collectStatistics(CustomStatsProvider.java:29)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep.rebuildStatistics(StatisticsRebuildStep.java:133)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep.run(StatisticsRebuildStep.java:113)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep$$EnhancerByCGLIB$$5286ff59.CGLIB$run$0(<generated>)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep$$EnhancerByCGLIB$$5286ff59$$FastClassByCGLIB$$68d2cb73.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:269)
at com.pmease.quickbuild.maintenance.StatisticsRebuildStep$$EnhancerByCGLIB$$5286ff59.run(<generated>)
at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:501)
at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:29)
at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:47)
at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:61)
at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:78)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: Class com.pmease.quickbuild.plugin.report.engine.util.XMLHelper can not access a member of class com.pmease.quickbuild.plugin.report.engine.datareport.ReportMetaData with modifiers "private"
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at com.pmease.quickbuild.plugin.report.engine.util.XMLHelper.reflectionFromXML(XMLHelper.java:547)
at com.pmease.quickbuild.plugin.report.engine.extensionpoint.AbstractTypedXMLObject.reflectionReadFromNode(AbstractTypedXMLObject.java:49)
at com.pmease.quickbuild.plugin.report.engine.extensionpoint.AbstractTypedXMLObject.fromXML(AbstractTypedXMLObject.java:31)
at com.pmease.quickbuild.plugin.report.engine.datareport.ReportMetaData.fromXML(ReportMetaData.java:102)
at com.pmease.quickbuild.plugin.report.engine.metadata.ReportMetas.fromXML(ReportMetas.java:161)
at com.pmease.quickbuild.plugin.report.engine.metadata.ReportCategory.fromXML(ReportCategory.java:203)
... 24 more
Caused by: java.lang.IllegalAccessException: Class com.pmease.quickbuild.plugin.report.engine.util.XMLHelper can not access a member of class com.pmease.quickbuild.plugin.report.engine.datareport.ReportMetaData with modifiers "private"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
at java.lang.reflect.Field.doSecurityCheck(Field.java:978)
at java.lang.reflect.Field.getFieldAccessor(Field.java:914)
at java.lang.reflect.Field.set(Field.java:675)
at com.pmease.quickbuild.plugin.report.engine.util.XMLHelper.reflectionFromXML(XMLHelper.java:544)
... 29 more
steveluo ADMIN ·
Hi,

I cannot reproduce the problem. What's your JDK? And my guess is your upgrade may not successful. So please do your upgrade again by following below upgrade guide to see whether it can help:

http://wiki.pmease.com/display/QB50/Bac ... store+Data
brutan ·
here is JDK version:
JVM OpenJDK 64-Bit Server VM 1.6.0_22, Sun Microsystems Inc.

I am not sure I understand about the upgrade. I can follow that procedure to upgrade from my current 5.0.10 to new instance of 5.0.10, or I need to do downgrade back to 4.0.50, and then repeat upgrade to 5.0.10 with these additional steps?
steveluo ADMIN ·
No, you needn't downgrade your system. Just following the upgrade guide step by step. If the error persists, please send your database backup to us (steve at pmease dot com or support at pmease dot com) and we also need know the platform you are running on.
brutan ·
Upgraded from 5.0.10 to 5.0.13 using the procedure. The only problem I got is abnormal backup process unless "exclude audit" is checked. So have to exclude these. Statistics rebuild works fine on "root" now. Server displays "5.0.10" as current version, but it is not a big issue I hope.

Thanks,
Andrey
robinshen ADMIN ·
What errors you are experiencing when doing backup including audits?
brutan ·
After some thinking QB showed empty page. On two tries backup.zip was different size (with QB on pause).
With audit excluded I saw popup about successful backup and backup size was same for few tries.
robinshen ADMIN ·
Any error messages being printed out in console when that happens?
brutan ·
Server is installed as service - no console. I did not check server log for error messages.
robinshen ADMIN ·
Server console log can be found in "logs/console.log", or you can open log by clicking the server log at right top side of QB screen.
brutan ·
Hi Robin, I got this issue with full backup again - empty page after executing the backup. I checked server log and there is a bunch off error messages. I can sent you the whole 130kb via email if you need it.

2013-10-04 19:25:59,942 [qtp1160800030-23] INFO com.pmease.quickbuild.entitymanager.impl.DefaultDataManager - Exporting table 'User'...
2013-10-04 19:25:59,942 [qtp1160800030-23] INFO com.pmease.quickbuild.entitymanager.impl.DefaultDataManager - Querying table ids...
2013-10-04 19:25:59,943 [qtp1160800030-23] INFO com.pmease.quickbuild.entitymanager.impl.DefaultDataManager - Loading table rows (1->55) from database...
2013-10-04 19:25:59,946 [qtp1160800030-23] INFO com.pmease.quickbuild.entitymanager.impl.DefaultDataManager - Converting table rows to XML...
2013-10-04 19:25:59,949 [qtp1160800030-23] INFO com.pmease.quickbuild.entitymanager.impl.DefaultDataManager - Writing resulting XML to file 'Users.xml...
2013-10-04 19:25:59,950 [qtp1160800030-23] INFO com.pmease.quickbuild.entitymanager.impl.DefaultDataManager -
2013-10-04 19:26:02,309 [qtp1160800030-23] ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
at com.pmease.quickbuild.model.User_$$_javassist_24.getDisplayName(User_$$_javassist_24.java)
at com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager.audit(DefaultAuditManager.java:44)
at com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager.audit(DefaultAuditManager.java:59)
at com.pmease.quickbuild.web.page.administration.DatabaseBackupPage$2.onSubmit(DatabaseBackupPage.java:93)
at org.apache.wicket.markup.html.form.Form$10.component(Form.java:1157)
at org.apache.wicket.markup.html.form.Form$10.component(Form.java:1152)
at org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:273)
at org.apache.wicket.util.visit.Visits.visitPostOrder(Visits.java:244)
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1150)
at org.apache.wicket.markup.html.form.Form.process(Form.java:803)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:728)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:670)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:272)
at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:220)
at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:179)
at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:165)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at com.pmease.quickbuild.web.MainServlet.service(MainServlet.java:124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.eclipse.equinox.http.helper.FilterServletAdaptor$FilterChainImpl.doFilter(FilterServletAdaptor.java:56)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:243)
at org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(Quickbuild.java:1000)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:365)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:679)
2013-10-04 19:26:02,337 [qtp1160800030-23] ERROR com.pmease.quickbuild.web.WicketConfig - Error handling wicket request.
org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at [ [Component id = backupNowForm]] on component [ [Component id = backupNowForm]] threw an exception
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:282)
at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:220)
at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:179)
at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:165)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at com.pmease.quickbuild.web.MainServlet.service(MainServlet.java:124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.eclipse.equinox.http.helper.FilterServletAdaptor$FilterChainImpl.doFilter(FilterServletAdaptor.java:56)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:243)
at org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(Quickbuild.java:1000)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:365)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:272)
... 41 more
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
at com.pmease.quickbuild.model.User_$$_javassist_24.getDisplayName(User_$$_javassist_24.java)
at com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager.audit(DefaultAuditManager.java:44)
at com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager.audit(DefaultAuditManager.java:59)
at com.pmease.quickbuild.web.page.administration.DatabaseBackupPage$2.onSubmit(DatabaseBackupPage.java:93)
at org.apache.wicket.markup.html.form.Form$10.component(Form.java:1157)
at org.apache.wicket.markup.html.form.Form$10.component(Form.java:1152)
at org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:273)
at org.apache.wicket.util.visit.Visits.visitPostOrder(Visits.java:244)
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1150)
at org.apache.wicket.markup.html.form.Form.process(Form.java:803)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:728)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:670)
... 46 more
robinshen ADMIN ·
Can this be reproduced? Or is this happening occasionally?
brutan ·
This seems to be 100% reproducible. Though I tried only twice.
robinshen ADMIN ·
Which QB version are you using now? And what database QB is using?
brutan ·
QB is 5.0.31
DB is mysql.x86_64 5.1.69-1.el6_4
robinshen ADMIN ·
Can you please export the database directly with MySQL and send to [robin AT pmease DOT com] so that I can test here?
brutan ·
Sent the DB backup. But it is 10MB in .gz archive, so not sure it will pass through email servers.