[CDO] 'Decoration Calculation' error using CDO Sessions View [message #929397] |
Mon, 01 October 2012 12:27 |
|
Hi all,
we encounter this error while using the CDO Sessions View.
Here is our environment and steps for getting into the error:
- downloaded Eclipse Juno SR1 (4.2.1) RCP & RAP Developers package
- from http://www.elver.org/eclipse/2.0.0/update, installed
MySQL Connector/J 5.1.11.201209301655
- from http://download.eclipse.org/modeling/emf/cdo/updates/releases, installed
CDO R20120918-0947
Net4j DB Framework
Net4j DB Framework MYSQL Adapter 4.1.0.v20120911-1146
- from Juno update site http://download.eclipse.org/releases/juno, installed
Modeling
CDO Model Repository SDK 4.1.1.v20120911-1146
- created a CDO Server product with the following cdo-server.xml
<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>
<acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
</acceptor>
<repository name="demo">
<store type="db">
<mappingStrategy type="horizontal">
<property name="qualifiedNames" value="true"/>
<property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
<property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
</mappingStrategy>
<dbAdapter name="mysql"/>
<dataSource
class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
url="jdbc:mysql://localhost/cdotest?createDatabaseIfNotExist=true"
user="root"
password="admin"
/>
</store>
</repository>
</cdoServer>
At this point we start the server (it starts succesfully), then open the CDO Sessions View and:
- open a new Session
- open a Transaction
- expanded the Transaction's children node
=> here an error popup shows (while the children node, the resouce, expands)
Quote:'Decoration Calculation' has encountered a problem.
An internal error occurred during 'Decoration Calculation'.
After that, in apparently a random way, most contextual menus on the tree nodes are empty
Does this may have to do with the setup steps and update sites above; in other words, is the above setup sequence right?
Thank you very much
Vincenzo Caselli
[Updated on: Mon, 01 October 2012 12:39] Report message to a moderator
|
|
|
Re: [CDO] 'Decoration Calculation' error using CDO Sessions View [message #929415 is a reply to message #929397] |
Mon, 01 October 2012 12:42 |
|
Am 01.10.2012 14:27, schrieb Vincenzo Caselli:
> Hi all,
> we encounter this error while using the CDO Sessions View.
Can you please paste the complete stack trace here?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
> Here is our environment and steps for getting into the error:
>
> - downloaded Eclipse Juno SR1 (4.2.1) RCP & RAP Developers package
>
> - from http://www.elver.org/eclipse/2.0.0/update, installed MySQL Connector/J 5.1.11.201209301655
>
> - from http://download.eclipse.org/modeling/emf/cdo/updates/releases, installed
> CDO R20120918-0947 Net4j DB Framework Net4j DB Framework MYSQL Adapter 4.1.0.v20120911-1146
>
> - from Juno update site http://download.eclipse.org/releases/juno, installed
> Modeling CDO Model Repository SDK 4.1.1.v20120911-1146
>
> - created a CDO Server product with the following cdo-server.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <cdoServer>
>
> <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
> </acceptor>
>
> <repository name="demo">
>
> <store type="db">
> <mappingStrategy type="horizontal">
> <property name="qualifiedNames" value="true"/>
> <property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
> <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
> </mappingStrategy>
> <dbAdapter name="mysql"/>
> <dataSource
> class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
> url="jdbc:mysql://localhost/cdotest?createDatabaseIfNotExist=true"
> user="root"
> password="admin"
> />
> </store>
> </repository>
>
> </cdoServer>
>
> At this point we start the server (it starts succesfully), then open the CDO Sessions View and:
> - open a new Session
> - open a Transaction
> - expanded the Transaction's children node
> => here an error popup shows (while the children node, the resouce, expands)
>
> 'Decoration Calculation' has encountered a problem.
> An internal error occurred during 'Decoration Calculation'
>
> Does this may have to do with the setup steps and update sites above; in other words, is the above setup sequence right?
>
> Thank you very much
> Vincenzo Caselli
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: [CDO] 'Decoration Calculation' error using CDO Sessions View [message #929471 is a reply to message #929415] |
Mon, 01 October 2012 13:38 |
|
Hi Eike,
there is no error in Console, just the popup with the contents in previous message.
The maximum detailed info is obtained by clicking "Details" on the popup.
Here is the content:
Quote:An internal error occurred during: "Decoration Calculation".
Path must include project and resource name: /
Note: the steps to reproduce the error are indeed
- open a new Session
- open a Transaction
- create a Resource
- expanded the Transaction's children node
=> here an error popup
Let me know if I can give you other details.
Cheers
Vincenzo
|
|
|
|
Re: [CDO] 'Decoration Calculation' error using CDO Sessions View [message #929605 is a reply to message #929553] |
Mon, 01 October 2012 15:52 |
|
Error Log! Sure, here it is below.
We are testing with Juno SR1 (4.2.1), just released.
I'm not 100% sure, but would bet that 4.2.0 and previous didn't show the problem.
I also think it's nothing related to CDO, but have the suspect on some collateral side-effect of something made on 4.2.1
Cheers
Vincenzo
java.lang.IllegalArgumentException: Path must include project and resource name: /
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2169)
at org.eclipse.core.internal.resources.Container.getFile(Container.java:208)
at org.eclipse.bpel.validator.factory.AdapterFactory.getFileFromPlatformURI(AdapterFactory.java:584)
at org.eclipse.bpel.validator.factory.AdapterFactory.getFileFromURI(AdapterFactory.java:559)
at org.eclipse.bpel.validator.factory.AdapterFactory.adapt_EObject2IResource(AdapterFactory.java:132)
at org.eclipse.bpel.validator.factory.AdapterFactory.getAdapter(AdapterFactory.java:81)
at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:80)
at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:295)
at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:119)
at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.isEnabledFor(ActionExpression.java:513)
at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:743)
at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1053)
at org.eclipse.ui.internal.decorators.DecoratorDefinition.isEnabledFor(DecoratorDefinition.java:281)
at org.eclipse.ui.internal.decorators.DecoratorManager.getDecoratorsFor(DecoratorManager.java:382)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecoratorsFor(LightweightDecoratorManager.java:315)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:340)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
|
|
|
Re: [CDO] 'Decoration Calculation' error using CDO Sessions View [message #929731 is a reply to message #929605] |
Mon, 01 October 2012 18:03 |
|
Am 01.10.2012 17:52, schrieb Vincenzo Caselli:
> Error Log! Sure, here it is below.
> We are testing with Juno SR1 (4.2.1), just released. I'm not 100% sure, but would bet that 4.2.0 and previous didn't
> show the problem.
> I also think it's nothing related to CDO, but have the suspect on some collateral side-effect of something made on 4.2.1
> Cheers
> Vincenzo
>
>
> java.lang.IllegalArgumentException: Path must include project and resource name: /
> at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
> at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2169)
> at org.eclipse.core.internal.resources.Container.getFile(Container.java:208)
> at org.eclipse.bpel.validator.factory.AdapterFactory.getFileFromPlatformURI(AdapterFactory.java:584)
> at org.eclipse.bpel.validator.factory.AdapterFactory.getFileFromURI(AdapterFactory.java:559)
> at org.eclipse.bpel.validator.factory.AdapterFactory.adapt_EObject2IResource(AdapterFactory.java:132)
> at org.eclipse.bpel.validator.factory.AdapterFactory.getAdapter(AdapterFactory.java:81)
> at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:80)
> at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:295)
> at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:119)
> at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.isEnabledFor(ActionExpression.java:513)
> at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:743)
> at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1053)
> at org.eclipse.ui.internal.decorators.DecoratorDefinition.isEnabledFor(DecoratorDefinition.java:281)
> at org.eclipse.ui.internal.decorators.DecoratorManager.getDecoratorsFor(DecoratorManager.java:382)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecoratorsFor(LightweightDecoratorManager.java:315)
> at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:340)
> at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
> at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Maybe I'm not seeing it because we develop and build against 3.8.x.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.03396 seconds