Entity from Table - eclipse

I am using "JPA Entities from table option" in order to get the entity generated form database tables, all the setup is correct even JPA is generating the entity for the database tables, but when my table consist the column type XML..
"MAPSETDETAIL" XML
the entity not getting generated. Any one have any idea. I am using JPA prespective from eclipse LUNA for entity generation.
Error in workspace .metadata/.log file.....
> !MESSAGE Error Generating Entities
> !STACK 0
> org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getImportStatements' in class
> org.eclipse.jpt.jpa.gen.internal.ORMGenTable threw exception
> java.lang.NullPointerException # main.java.vm[7,9]
> at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:205)
> at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
> at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
> at org.apache.velocity.Template.merge(Template.java:254)
> at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:508)
> at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:473)
> at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateJavaFile(PackageGenerator.java:333)
> at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateClass(PackageGenerator.java:310)
> at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateInternal(PackageGenerator.java:132)
> at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.doGenerate(PackageGenerator.java:106)
> at org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generate(PackageGenerator.java:82)
> at org.eclipse.jpt.jpa.ui.internal.wizards.gen.GenerateEntitiesFromSchemaWizard$GenerateEntitiesJob.runInWorkspace(GenerateEntitiesFromSchemaWizard.java:285)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.NullPointerException
Complete Stack Trace....
> !ENTRY org.eclipse.egit.ui 2 0 2016-08-31 00:21:55.373 !MESSAGE
> Warning: EGit couldn't detect the installation path "gitPrefix" of
> native Git. Hence EGit can't respect system level Git settings which
> might be configured in ${gitPrefix}/etc/gitconfig under the native Git
> installation directory. The most important of these settings is
> core.autocrlf. Git for Windows by default sets this parameter to true
> in this system level configuration. The Git installation location can
> be configured on the Team > Git > Configuration preference page's
> 'System Settings' tab. This warning can be switched off on the Team >
> Git > Confirmations and Warnings preference page.
>
> !ENTRY org.eclipse.egit.ui 2 0 2016-08-31 00:21:55.375 !MESSAGE
> Warning: The environment variable HOME is not set. The following
> directory will be used to store the Git user global configuration and
> to define the default location to store repositories:
> 'C:\Users\Katara'. If this is not correct please set the HOME
> environment variable and restart Eclipse. Otherwise Git for Windows
> and EGit might behave differently since they see different
> configuration options. This warning can be switched off on the Team >
> Git > Confirmations and Warnings preference page.
>
> !ENTRY org.eclipse.jdt.ui 4 10001 2016-08-31 00:47:41.172 !MESSAGE
> Internal Error !STACK 0 org.eclipse.jface.text.BadLocationException
> at
> org.eclipse.jface.text.AbstractDocument.addPosition(AbstractDocument.java:355)
> at
> org.eclipse.core.internal.filebuffers.SynchronizableDocument.addPosition(SynchronizableDocument.java:236)
> at
> org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightingPresenter.updatePresentation(SemanticHighlightingPresenter.java:414)
> at
> org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightingPresenter$1.run(SemanticHighlightingPresenter.java:347)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:611) at
> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at
> org.eclipse.equinox.launcher.Main.run(Main.java:1465)
>
> !ENTRY org.eclipse.jpt.jpa.gen 4 0 2016-08-31 02:12:51.390 !MESSAGE
> Error Generating Entities !STACK 0
> org.apache.velocity.exception.MethodInvocationException: Invocation of
> method 'getImportStatements' in class
> org.eclipse.jpt.jpa.gen.internal.ORMGenTable threw exception
> java.lang.NullPointerException # main.java.vm[7,9] at
> org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:205)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
> at org.apache.velocity.Template.merge(Template.java:254) at
> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:508)
> at
> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:473)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateJavaFile(PackageGenerator.java:333)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateClass(PackageGenerator.java:310)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateInternal(PackageGenerator.java:132)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.doGenerate(PackageGenerator.java:106)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generate(PackageGenerator.java:82)
> at
> org.eclipse.jpt.jpa.ui.internal.wizards.gen.GenerateEntitiesFromSchemaWizard$GenerateEntitiesJob.runInWorkspace(GenerateEntitiesFromSchemaWizard.java:285)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused
> by: java.lang.NullPointerException at
> org.eclipse.jpt.common.utility.internal.StringTools.indexOfWhitespace(StringTools.java:697)
> at
> org.eclipse.jpt.common.utility.internal.StringTools.removeAllWhitespace(StringTools.java:687)
> at
> org.eclipse.jpt.common.utility.internal.TypeDeclarationTools.className(TypeDeclarationTools.java:215)
> at
> org.eclipse.jpt.jpa.db.internal.DTPColumnWrapper.getJavaType(DTPColumnWrapper.java:140)
> at
> org.eclipse.jpt.jpa.db.internal.DTPColumnWrapper.getJavaType(DTPColumnWrapper.java:125)
> at
> org.eclipse.jpt.jpa.db.internal.DTPColumnWrapper.getJavaTypeDeclaration(DTPColumnWrapper.java:119)
> at
> org.eclipse.jpt.jpa.gen.internal.util.DTPUtil.getJavaType(DTPUtil.java:72)
> at
> org.eclipse.jpt.jpa.gen.internal.BaseEntityGenCustomizer.getPropertyTypeFromColumn(BaseEntityGenCustomizer.java:90)
> at
> org.eclipse.jpt.jpa.gen.internal.ORMGenColumn.getPropertyType(ORMGenColumn.java:184)
> at
> org.eclipse.jpt.jpa.gen.internal.ORMGenTable.buildColumnTypesMap(ORMGenTable.java:204)
> at
> org.eclipse.jpt.jpa.gen.internal.ORMGenTable.getImportStatements(ORMGenTable.java:138)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:589) at
> org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:137)
> at
> org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:350)
> at
> org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:180)
> ... 14 more
>
> !ENTRY org.eclipse.jpt.jpa.gen 4 0 2016-08-31 02:13:52.696 !MESSAGE
> Error Generating Entities !STACK 0
> org.apache.velocity.exception.MethodInvocationException: Invocation of
> method 'getImportStatements' in class
> org.eclipse.jpt.jpa.gen.internal.ORMGenTable threw exception
> java.lang.NullPointerException # main.java.vm[7,9] at
> org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:205)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
> at org.apache.velocity.Template.merge(Template.java:254) at
> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:508)
> at
> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:473)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateJavaFile(PackageGenerator.java:333)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateClass(PackageGenerator.java:310)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generateInternal(PackageGenerator.java:132)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.doGenerate(PackageGenerator.java:106)
> at
> org.eclipse.jpt.jpa.gen.internal.PackageGenerator.generate(PackageGenerator.java:82)
> at
> org.eclipse.jpt.jpa.ui.internal.wizards.gen.GenerateEntitiesFromSchemaWizard$GenerateEntitiesJob.runInWorkspace(GenerateEntitiesFromSchemaWizard.java:285)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused
> by: java.lang.NullPointerException at
> org.eclipse.jpt.common.utility.internal.StringTools.indexOfWhitespace(StringTools.java:697)
> at
> org.eclipse.jpt.common.utility.internal.StringTools.removeAllWhitespace(StringTools.java:687)
> at
> org.eclipse.jpt.common.utility.internal.TypeDeclarationTools.className(TypeDeclarationTools.java:215)
> at
> org.eclipse.jpt.jpa.db.internal.DTPColumnWrapper.getJavaType(DTPColumnWrapper.java:140)
> at
> org.eclipse.jpt.jpa.db.internal.DTPColumnWrapper.getJavaType(DTPColumnWrapper.java:125)
> at
> org.eclipse.jpt.jpa.db.internal.DTPColumnWrapper.getJavaTypeDeclaration(DTPColumnWrapper.java:119)
> at
> org.eclipse.jpt.jpa.gen.internal.util.DTPUtil.getJavaType(DTPUtil.java:72)
> at
> org.eclipse.jpt.jpa.gen.internal.BaseEntityGenCustomizer.getPropertyTypeFromColumn(BaseEntityGenCustomizer.java:90)
> at
> org.eclipse.jpt.jpa.gen.internal.ORMGenColumn.getPropertyType(ORMGenColumn.java:184)
> at
> org.eclipse.jpt.jpa.gen.internal.ORMGenTable.buildColumnTypesMap(ORMGenTable.java:204)
> at
> org.eclipse.jpt.jpa.gen.internal.ORMGenTable.getImportStatements(ORMGenTable.java:138)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:589) at
> org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:137)
> at
> org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:350)
> at
> org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:180)
> ... 14 more

Related

TypoScript conditions with symfony expression language throws error

I have following typoscript condition:
[request.getNormalizedParams().getHttpHost() == 'www.domain.com' && traverse(request.getQueryParams(), 'tx_news_pi1/news') > 0 && {$const.pid.pageX} in tree.rootLineIds]
which throws this error in the TYPO3 log:
Thu, 24 Sep 2020 06:52:04 +0200 [ERROR] request="2fa420fbc8c67" component="TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Unable to get a property on a non-object. - {"expression":"request.getNormalizedParams().getHttpHost() == 'www.domain.com' && traverse(request.getQueryParams(), 'tx_news_pi1/news') > 0 && 11 in tree.rootLineIds","exception":"RuntimeException: Unable to get a property on a non-object. in /var/www/typo3cms/typo3_src-10.4.8/vendor/symfony/expression-language/Node/GetAttrNode.php:83
The problem seems to be the request.getNormalizedParams().getHttpHost() when the cronjob calls typo3/sysext/core/bin/typo3 scheduler:run.
How can I get rid of the error in the log file?
Changing the condition to the following removes the entries from the log file:
[request.getNormalizedParams() && request.getNormalizedParams().getHttpHost() == 'www.domain.com' && traverse(request.getQueryParams(), 'tx_news_pi1/news') > 0 && {$const.pid.pageX} in tree.rootLineIds]
So I just added the request.getNormalizedParams() && at the beginning of the condition.

Getting access to Coq's rich XML-like AST output

In older versions of Coq (< 8.5), the main coqtop process would interchange data with IDEs using strings.
This was supposedly recently changed - how does one query the richer XML-like structure representing ASTs?
Use case: I would like to interpret whatever Coq computes in a different way - that is, I need its results after performing operations (such as invoking tactics) in a form that's not string that I need to parse.
Note: this answer has been edited to make it up to date
The only reasonable option as of end of 2018 is SerAPI, a Coq language server that supports full serialization of Coq documents. Using SerAPI you can get a full representation of any Coq document or internal structure:
$ rlwrap sertop --printer=human
(Add () "Lemma u n : n + 0 = n.")
> (Answer 0 (StmAdded 2 (...) NewTip))
(Query ((sid 2)) Ast)
> (Answer 1(ObjList
> ((CoqAst
> (VernacStartTheoremProof Lemma
> ((((((Id u)) ()))
> (((LocalRawAssum
> (((Name (Id n))))
> (Default Explicit)
> (CHole () IntroAnonymous ())))
> (CNotation
> "_ = _"
> (((CNotation
> "_ + _"
> (((CRef
> (Ident
> (Id n)))
> ())
> (CPrim
> (Numeral (Ser_Bigint 0))))
> () ()))
> (CRef
> (Ident
> (Id n)))
> ()))
> () ()))
> ())))
> false)))))
Note that SerAPI is experimental software and I am the main author.

Prediction.io - pio train fails with exception

just getting started with Prediction.IO - Getting an exception when performing pio train. I'm using the universal recommender template.
Pio status, and pio-start-all working fine, reporting no errors
Seems " nor Elasticsearch client found" - but curl localhost fine on port 9200.
Does anybody has a clue on what the error message given is referring to?
> [INFO] [URModel] Ready to pass date fields names to closure Some(List(, , ))
> [INFO] [URModel] Converting PropertyMap into Elasticsearch style rdd
> [Stage 41:=============================> (2 + 2) / 4][INFO] [URModel] Grouping all correlators into doc +
> fields for writing to index
> [INFO] [URModel] Finding non-empty RDDs from a list of 2 correlators and 1 properties
> [INFO] [URModel] New data to index, performing a hot swap of the index.
> Exception in thread "main" java.lang.IllegalStateException: No Elasticsearch client configuration detected, check your pio-env.sh
> forproper configuration settings
> at dk.bilzonen.esClient$.client$lzycompute(esClient.scala:58)
> at dk.bilzonen.esClient$.client(esClient.scala:55)
> at dk.bilzonen.esClient$.hotSwap(esClient.scala:169)
> at dk.bilzonen.URModel.save(URModel.scala:147)
> at dk.bilzonen.URModel.save(URModel.scala:38)
> at io.prediction.controller.P2LAlgorithm.makePersistentModel(P2LAlgorithm.scala:111)
> at io.prediction.controller.Engine$$anonfun$makeSerializableModels$2.apply(Engine.scala:294)
> at io.prediction.controller.Engine$$anonfun$makeSerializableModels$2.apply(Engine.scala:293)
> at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> at scala.collection.Iterator$class.foreach(Iterator.scala:727)
> at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
> at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
> at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
> at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
> at scala.collection.AbstractTraversable.map(Traversable.scala:105)
> at io.prediction.controller.Engine.makeSerializableModels(Engine.scala:293)
> at io.prediction.controller.Engine.train(Engine.scala:185)
> at io.prediction.workflow.CoreWorkflow$.runTrain(CoreWorkflow.scala:65)
> at io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:247)
> at io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
> at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
> at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
> at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
> at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
The default configuration for PredictionIO (in pio-env.sh in your PredictionIO /conf directory) has ElasticSearch running on port 9300. If you update it to 9200 there does your training step succeed?

IPython fails to import pandas from Miniconda

I'm using IPython and pandas to work with Google Bigquery. I installed pandas using 'condas install pandas'. And I believe Miniconda stalled all dependencies. But when I tried to import pandas in IPython notebook, it gave me the following errors:
>
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call last)
> <ipython-input-1-a3826df0a77b> in <module>()
> ----> 1 import pandas as pd
> 2
> 3 projectid = "geotab-bigdata-test"
> 4 data_frame = pd.read_gbq('SELECT * FROM RawVin.T20141201', project_id = projectid)
>
> C:\Users\fionazhao\Installed\Continuum\Miniconda\lib\site-packages\pandas\__init__.pyc
> in <module>()
> 45
> 46 # let init-time option registration happen
> ---> 47 import pandas.core.config_init
> 48
> 49 from pandas.core.api import *
>
> C:\Users\fionazhao\Installed\Continuum\Miniconda\lib\site-packages\pandas\core\config_init.py
> in <module>()
> 15 is_instance_factory, is_one_of_factory,
> 16 get_default_val)
> ---> 17 from pandas.core.format import detect_console_encoding
> 18
> 19
>
> C:\Users\fionazhao\Installed\Continuum\Miniconda\lib\site-packages\pandas\core\format.py
> in <module>()
> 7 from pandas.core.base import PandasObject
> 8 from pandas.core.common import adjoin, notnull
> ----> 9 from pandas.core.index import Index, MultiIndex, _ensure_index
> 10 from pandas import compat
> 11 from pandas.compat import(StringIO, lzip, range, map, zip, reduce, u,
>
> C:\Users\fionazhao\Installed\Continuum\Miniconda\lib\site-packages\pandas\core\index.py
> in <module>()
> 13 import pandas.algos as _algos
> 14 import pandas.index as _index
> ---> 15 from pandas.lib import Timestamp, Timedelta, is_datetime_array
> 16 from pandas.core.base import PandasObject, FrozenList, FrozenNDArray, IndexOpsMixin, _shared_docs
> 17 from pandas.util.decorators import (Appender, Substitution, cache_readonly,
>
> ImportError: cannot import name Timedelta
Found solutions myself. When install pandas using Miniconda, we should make sure all python threads have been stopped. Otherwise, it'll messed up the installation and bring such errors.
I just stopped all python threads, re-install pandas by 'conda install -f pandas', and the errors gone

OSGI startup is very slow

I'm trying to figure out why the OSGI startup process of our RCP application is so slow and were the time is lost.
I have enabled osgi.debug with the following options:
org.eclipse.osgi/profile/startup = true
org.eclipse.osgi/profile/benchmark = true
org.eclipse.osgi/profile/debug = true
Below is a snippet from the profiling output
9754 : 0 >> BundleContextImpl.startActivator() > enter
9754 : 0 -- BundleContextImpl.startActivator() > calling initial#reference:file:plugins/com.razorcat.ite.ui.views_1.0.0 .jar/
bundle activator
9754 : 0 -- BundleContextImpl.startActivator() > returned from initial#reference:file:plugins/com.razorcat.ite.ui.views
_1.0.0.jar/ bundle activator
9754 : 0 << BundleContextImpl.startActivator() > exit
38896 : 29142 >> BundleContextImpl.startActivator() > enter
38896 : 0 -- BundleContextImpl.startActivator() > calling initial#reference:file:plugins/com.razorcat.tessy.remoting.web
app_1.0.1.jar/ bundle activator
38896 : 0 -- BundleContextImpl.startActivator() > returned from initial#reference:file:plugins/com.razorcat.tessy.remoti
ng.webapp_1.0.1.jar/ bundle activator
38896 : 0 << BundleContextImpl.startActivator() > exit
I wonder if there is a way to find were the time (ca. 30 secs) is lost between the exit and enter entry. Is there any option to more fine tune the profiling output?