[
https://issues.apache.org/jira/browse/DELTASPIKE-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin E. updated DELTASPIKE-819:
---------------------------------
Attachment: ReproducerDemo.zip
jboss-modules-deltaspike.zip
I have created a RepropducerDemo.zip.
But to run it, you will have create a deltaspike-jboss-module. This is done by
extracting jboss-modules-deltaspike.zip into the JBoss/modules -directory.
On the creation of the demo i noticed, that the deltaspike-jboss-module could
be the problem. Because if you add all the deltaspike-libaries directly to the
war and remove the "jboss-deployment-structure.xml" from the war everything
looks fine.
So it is maybe more a jboss specific problem?
> ViewConfigExtension produces IllegalProductException: Cannot return null from
> a non-dependent producer method on JBoss EAP 6.3
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: DELTASPIKE-819
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-819
> Project: DeltaSpike
> Issue Type: Bug
> Affects Versions: 1.2.1
> Environment: JBoss EAP 6.3 + DeltaSpike 1.0.0 (also tried 1.2.1) +
> JSF 2.1 + CDI
> Reporter: Martin E.
> Assignee: Gerhard Petracek
> Priority: Minor
> Fix For: 1.2.2
>
> Attachments: ReproducerDemo.zip, jboss-modules-deltaspike.zip
>
>
> The Deployment of the app looks good, but on usage i get these error:
> The portlet threw an exception:
> org.jboss.weld.exceptions.IllegalProductException: WELD-000052 Cannot return
> null from a non-dependent producer method: [method] @Produces
> @ApplicationScoped public
> org.apache.deltaspike.jsf.impl.config.view.ViewConfigResolverProducer.createViewConfigResolver()
> I have already tried to deactivate the ViewConfigExtension by Implementing
> ClassDeactivator, because i don't need it for now.
> But with no luck, i still get the same Exception.
> What elese could i do, to get rid of the exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)