Hi hypnosat7, this error is caused by the TextConfigurationReader, so I assume that you forgot to create the textconfiguration that is required for the hibernate cartridge. To solve the problem please create a file named hibernateConfig.txt (directly in one of your source folders) with the following content:
-preProcessing +mappings -JPAAnnotations +pojo -schemaExport -FieldsAreNaturalKeys -hibernate_dirCleaner Regards, Benjamin On Thu, Sep 3, 2009 at 7:05 PM, hypnosat7<abla...@yahoo.fr> wrote: > > Hello, > > I'm trying to call the jsf cartridge from my project workflow but no way ! > This is the error trace I get: > > 0 INFO WorkflowRunner - > -------------------------------------------------------------------------------------- > 2 INFO WorkflowRunner - openArchitectureWare v4.3.1 > 3 INFO WorkflowRunner - (c) 2005-2008 openarchitectureware.org and > contributors > 3 INFO WorkflowRunner - > -------------------------------------------------------------------------------------- > 3 INFO WorkflowRunner - running workflow: workflow/tras.oaw > 3 INFO WorkflowRunner - > 1618 INFO StandaloneSetup - Registering platform uri > 'G:\data\eclipse\Topcased-2.6.0\workspace' > Exception in thread "main" java.lang.NullPointerException > at java.io.Reader.<init>(Unknown Source) > at java.io.InputStreamReader.<init>(Unknown Source) > at > org.openarchitectureware.util.featureconfig.text.TextConfigurationReader.checkConfigurationInternal(TextConfigurationReader.java:42) > at > org.openarchitectureware.workflow.lib.AbstractWorkflowComponent2.checkConfiguration(AbstractWorkflowComponent2.java:42) > at > org.openarchitectureware.workflow.container.CompositeComponent.checkConfiguration(CompositeComponent.java:169) > at > org.openarchitectureware.workflow.container.CompositeComponent.checkConfiguration(CompositeComponent.java:169) > at > org.openarchitectureware.workflow.container.CompositeComponent.checkConfiguration(CompositeComponent.java:169) > at > org.openarchitectureware.workflow.WorkflowRunner.prepare(WorkflowRunner.java:310) > at > org.openarchitectureware.workflow.WorkflowRunner.run(WorkflowRunner.java:258) > at > org.openarchitectureware.workflow.WorkflowRunner.main(WorkflowRunner.java:213) > > > > > This is my workflow file : > <?xml version="1.0" encoding="UTF-8"?> > <workflow> > <property file="workflow/tras_workflow.properties"/> > <!-- Package with uri 'http://www.eclipse.org/uml2/2.1.0/UML' not > found.--> > <bean class="oaw.uml2.Setup" standardUML2Setup="true"/> > <!-- set up EMF for standalone execution --> > <bean class="org.eclipse.mwe.emf.StandaloneSetup" > > <platformUri value=".."/> > </bean> > > <!-- load model and store it in slot 'model' --> > <component class="org.eclipse.mwe.emf.Reader"> > <uri value="platform:/resource/${model.file}" /> > <modelSlot value="model" /> > </component> > > <component id="dirCleaner" > class="org.openarchitectureware.workflow.common.DirectoryCleaner"> > <directory value="${outlet.src.dir}, ${outlet.res.dir}"/> > </component> > > <cartridge file="org/fornax/cartridges/uml2/jsf/jsf.oaw" > inheritAll="true"> > </cartridge> > > </workflow> > -- > View this message in context: > http://www.nabble.com/jsf-cartridge-tp25280217s17564p25280217.html > Sent from the Fornax-Platform mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fornax-developer > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer