Darius Jockel wrote:
>
> Hello Adolfo,
>
>
> adolfo.ufs wrote:
>>
>> Hi,
>>
>> I am trying to use the Hibernate Cartridge with oAW 4.2. I have followed
>> the Hibernate Tutorial example but whenever I execute the file
>> workflow.oaw i find this problem:
>>
>> I'm using Hibernate Cartridge 1.3.0, Eclipse Europa and oAW 4.2
>>
>>
>> if anyone knows the reason why this happens, please answer this message.
>>
>> thank you in advance.
>>
>> adolfo
>>
>
> The release 1.3.0 of the Hibernate Cartridge is compatible with oAW 4.1.2
> and Eclipse 3.2.x.
> The new release (planned for end of october) will be working with oAW 4.2.
>
> Regards
> Darius Jockel
>
I changed to oAW 4.1.2 and Eclipse 3.2.x and found this problem
INFO -
--------------------------------------------------------------------------------------
INFO - openArchitectureWare 4.1.2, Build v20070314
INFO - (c) 2005-2007 openarchitectureware.org and contributors
INFO -
--------------------------------------------------------------------------------------
INFO - running workflow: D:/DSDM -
OpenArchitectureWare/workspace/ufs.dsdm.project/src/main/resources/workflow.oaw
INFO -
INFO - XmiReader: file 'src/main/resources/example-model.uml' => slot
'model'
INFO - workflow org/fornax/cartridges/uml2/hibernate/hibernate.oaw
INFO - XtendComponent: executing
'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
INFO - CheckComponent: slot model check file(s):
org::fornax::cartridges::uml2::hibernate::checks::Constraints
org::fornax::cartridges::uml2::hibernate::checks::AssociationChecks
INFO - hibernateCartridge_generator: generating
'org::fornax::cartridges::uml2::hibernate::templates::Root::Root FOR model'
=> directory 'null'
ERROR - null
java.lang.NullPointerException
at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSettingDelegate(EStructuralFeatureImpl.java:779)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate(BasicEObjectImpl.java:1115)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:610)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:595)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:587)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:582)
at
org.eclipse.uml2.uml.internal.operations.ElementOperations.getValue(ElementOperations.java:557)
at
org.eclipse.uml2.uml.internal.impl.ElementImpl.getValue(ElementImpl.java:286)
at
org.openarchitectureware.uml2.profile.StereotypeType$1.get(StereotypeType.java:110)
at
org.openarchitectureware.expression.ast.FeatureCall.evaluateInternal(FeatureCall.java:115)
at
org.openarchitectureware.expression.ast.Expression.evaluate(Expression.java:41)
at
org.openarchitectureware.expression.ast.OperationCall.evaluateInternal(OperationCall.java:88)
at
org.openarchitectureware.expression.ast.Expression.evaluate(Expression.java:41)
at
org.openarchitectureware.expression.ast.BooleanOperation.evaluateToBoolean(BooleanOperation.java:85)
at
org.openarchitectureware.expression.ast.BooleanOperation.evaluateInternal(BooleanOperation.java:58)
at
org.openarchitectureware.expression.ast.Expression.evaluate(Expression.java:41)
at
org.openarchitectureware.expression.ast.IfExpression.evaluateInternal(IfExpression.java:58)
at
org.openarchitectureware.expression.ast.Expression.evaluate(Expression.java:41)
at
org.openarchitectureware.xtend.ast.ExpressionExtensionStatement.evaluateInternal2(ExpressionExtensionStatement.java:71)
at
org.openarchitectureware.xtend.ast.ExpressionExtensionStatement.evaluateInternal(ExpressionExtensionStatement.java:55)
at
org.openarchitectureware.xtend.ast.Extension.evaluate(Extension.java:117)
at
org.openarchitectureware.expression.ast.OperationCall.evaluateInternal(OperationCall.java:103)
at
org.openarchitectureware.expression.ast.Expression.evaluate(Expression.java:41)
at
org.openarchitectureware.xpand2.ast.ExpressionStatement.evaluateInternal(ExpressionStatement.java:93)
at
org.openarchitectureware.xpand2.ast.Statement.evaluate(Statement.java:39)
at
org.openarchitectureware.xpand2.ast.AbstractDefinition.evaluate(AbstractDefinition.java:112)
at
org.openarchitectureware.xpand2.ast.ExpandStatement.invokeDefinition(ExpandStatement.java:185)
at
org.openarchitectureware.xpand2.ast.ExpandStatement.evaluateInternal(ExpandStatement.java:161)
at
org.openarchitectureware.xpand2.ast.Statement.evaluate(Statement.java:39)
at
org.openarchitectureware.xpand2.ast.FileStatement.evaluateInternal(FileStatement.java:75)
at
org.openarchitectureware.xpand2.ast.Statement.evaluate(Statement.java:39)
at
org.openarchitectureware.xpand2.ast.AbstractDefinition.evaluate(AbstractDefinition.java:112)
at
org.openarchitectureware.xpand2.ast.ExpandStatement.invokeDefinition(ExpandStatement.java:185)
at
org.openarchitectureware.xpand2.ast.ExpandStatement.evaluateInternal(ExpandStatement.java:161)
at
org.openarchitectureware.xpand2.ast.Statement.evaluate(Statement.java:39)
at
org.openarchitectureware.xpand2.ast.IfStatement.evaluateInternal(IfStatement.java:81)
at
org.openarchitectureware.xpand2.ast.Statement.evaluate(Statement.java:39)
at
org.openarchitectureware.xpand2.ast.AbstractDefinition.evaluate(AbstractDefinition.java:112)
at
org.openarchitectureware.xpand2.ast.ExpandStatement.invokeDefinition(ExpandStatement.java:185)
at
org.openarchitectureware.xpand2.ast.ExpandStatement.evaluateInternal(ExpandStatement.java:148)
at
org.openarchitectureware.xpand2.ast.Statement.evaluate(Statement.java:39)
at
org.openarchitectureware.xpand2.ast.AbstractDefinition.evaluate(AbstractDefinition.java:112)
at
org.openarchitectureware.xpand2.ast.ExpandStatement.invokeDefinition(ExpandStatement.java:185)
at
org.openarchitectureware.xpand2.ast.ExpandStatement.evaluateInternal(ExpandStatement.java:161)
at
org.openarchitectureware.xpand2.ast.Statement.evaluate(Statement.java:39)
at
org.openarchitectureware.xpand2.Generator.invokeInternal(Generator.java:221)
at
org.openarchitectureware.workflow.lib.AbstractWorkflowComponent2.invoke(AbstractWorkflowComponent2.java:38)
at
org.openarchitectureware.workflow.container.CompositeComponent.internalInvoke(CompositeComponent.java:81)
at
org.openarchitectureware.workflow.container.CompositeComponent.invoke(CompositeComponent.java:69)
at
org.openarchitectureware.workflow.container.CompositeComponent.internalInvoke(CompositeComponent.java:81)
at
org.openarchitectureware.workflow.container.CompositeComponent.invoke(CompositeComponent.java:69)
at
org.openarchitectureware.workflow.WorkflowRunner.executeWorkflow(WorkflowRunner.java:243)
at
org.openarchitectureware.workflow.WorkflowRunner.run(WorkflowRunner.java:172)
at
org.openarchitectureware.workflow.WorkflowRunner.main(WorkflowRunner.java:122)
if anyone knows the reason why this happens, please answer this message.
thank you in advance.
adolfo
--
View this message in context:
http://www.nabble.com/Help-with-Hibernate-Cartridge-tf4565346s17564.html#a13199702
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer