[JBoss JIRA] (DROOLS-93) Building rule file that contains event declaration with @duration ends with NPE
by Petr Široký (JIRA)
[ https://issues.jboss.org/browse/DROOLS-93?page=com.atlassian.jira.plugin.... ]
Petr Široký commented on DROOLS-93:
-----------------------------------
As discussed with Mario Fusco, the main problem is in the reproducer, because the package names of the event does not match. However the NPE shouldn' been thrown if that is the case and more user friendly error should be generated.
Just tested with latest the Mario's commit and the NPE is no longer thrown. More descriptive message is generated.
> Building rule file that contains event declaration with @duration ends with NPE
> -------------------------------------------------------------------------------
>
> Key: DROOLS-93
> URL: https://issues.jboss.org/browse/DROOLS-93
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Alpha1
> Reporter: Petr Široký
> Assignee: Mario Fusco
> Attachments: drools93-reproducer.zip
>
>
> Building kbase with simple rule file with event declaration that has a @duration attribute ends with NPE. When the @duration is removed, file is built correctly. See attached maven reproducer (just run mvn test).
> The rule file looks like this:
> {code}
> package org.jboss.drools.example.kbase
> declare org.jboss.drools.example.kbase.SimpleFact
> @role(event)
> @duration(duration)
> end
> {code}
> Exception thrown when building the file:
> {code}
> java.lang.NullPointerException
> at org.drools.compiler.compiler.PackageBuilder.processTypeFields(PackageBuilder.java:2206)
> at org.drools.compiler.compiler.PackageBuilder.processTypeDeclarations(PackageBuilder.java:2123)
> at org.drools.compiler.compiler.PackageBuilder.mergePackage(PackageBuilder.java:1254)
> at org.drools.compiler.compiler.PackageBuilder.processTypeDeclarations(PackageBuilder.java:2000)
> at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.buildTypeDeclarations(CompositeKnowledgeBuilderImpl.java:273)
> at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.buildTypeDeclarations(CompositeKnowledgeBuilderImpl.java:249)
> at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.buildPackages(CompositeKnowledgeBuilderImpl.java:87)
> at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:76)
> at org.drools.compiler.kie.builder.impl.AbstractKieModule.buildKnowledgePackages(AbstractKieModule.java:140)
> at org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:39)
> at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieModule(KieBuilderImpl.java:207)
> at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:160)
> at org.kie.internal.utils.KieHelper.build(KieHelper.java:25)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-6831) Provide implementation of JaxwsInjectionServices
by Jozef Hartinger (JIRA)
[ https://issues.jboss.org/browse/AS7-6831?page=com.atlassian.jira.plugin.s... ]
Jozef Hartinger updated AS7-6831:
---------------------------------
Summary: Provide implementation of JaxwsInjectionServices (was: Cannot invoke web service resource declared with @WebServiceRef)
Assignee: Stuart Douglas (was: Jozef Hartinger)
Priority: Major (was: Critical)
Description:
Provide implementation of https://github.com/weld/api/blob/2.0/weld-spi/src/main/java/org/jboss/wel...
This is necessary for Weld to inject @WebServiceRef.
----
Cannot invoke web service resource declared with @WebServiceRef
... results in following error:
{noformat}
org.jboss.weld.exceptions.NullInstanceException: WELD-000044 Unable to obtain instance from null
{noformat}
was:
... results in following error:
{noformat}
org.jboss.weld.exceptions.NullInstanceException: WELD-000044 Unable to obtain instance from null
{noformat}
Component/s: CDI / Weld
> Provide implementation of JaxwsInjectionServices
> ------------------------------------------------
>
> Key: AS7-6831
> URL: https://issues.jboss.org/browse/AS7-6831
> Project: Application Server 7
> Issue Type: Task
> Components: CDI / Weld
> Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
> Reporter: Martin Kouba
> Assignee: Stuart Douglas
> Fix For: 8.0.0.Alpha1
>
>
> Provide implementation of https://github.com/weld/api/blob/2.0/weld-spi/src/main/java/org/jboss/wel...
> This is necessary for Weld to inject @WebServiceRef.
> ----
> Cannot invoke web service resource declared with @WebServiceRef
> ... results in following error:
> {noformat}
> org.jboss.weld.exceptions.NullInstanceException: WELD-000044 Unable to obtain instance from null
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-6831) Cannot invoke web service resource declared with @WebServiceRef
by Jozef Hartinger (JIRA)
[ https://issues.jboss.org/browse/AS7-6831?page=com.atlassian.jira.plugin.s... ]
Jozef Hartinger moved WELD-1099 to AS7-6831:
--------------------------------------------
Project: Application Server 7 (was: Weld)
Key: AS7-6831 (was: WELD-1099)
Issue Type: Task (was: Bug)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: EAP 6.1.0.Alpha (7.2.0.Final)
(was: 1.1.6.Final)
Fix Version/s: 8.0.0.Alpha1
(was: 2.0.0.CR1)
> Cannot invoke web service resource declared with @WebServiceRef
> ---------------------------------------------------------------
>
> Key: AS7-6831
> URL: https://issues.jboss.org/browse/AS7-6831
> Project: Application Server 7
> Issue Type: Task
> Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
> Reporter: Martin Kouba
> Assignee: Jozef Hartinger
> Priority: Critical
> Fix For: 8.0.0.Alpha1
>
>
> ... results in following error:
> {noformat}
> org.jboss.weld.exceptions.NullInstanceException: WELD-000044 Unable to obtain instance from null
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-6830) spelling mistakes in the management security domain should be logged better
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/AS7-6830?page=com.atlassian.jira.plugin.s... ]
Darran Lofthouse reassigned AS7-6830:
-------------------------------------
Assignee: Darran Lofthouse (was: Anil Saldhana)
> spelling mistakes in the management security domain should be logged better
> ---------------------------------------------------------------------------
>
> Key: AS7-6830
> URL: https://issues.jboss.org/browse/AS7-6830
> Project: Application Server 7
> Issue Type: Bug
> Components: Security, Server
> Affects Versions: 7.1.3.Final (EAP)
> Reporter: Tom Fonteyne
> Assignee: Darran Lofthouse
> Priority: Minor
>
> A spelling mistake in the management security domain prevents the server from starting (good) but the message in the log file is only stating:
> [Host Controller] 08:35:37,672 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010933: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
> There in fact no previous messages
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-6830) spelling mistakes in the management security domain should be logged better
by Tom Fonteyne (JIRA)
Tom Fonteyne created AS7-6830:
---------------------------------
Summary: spelling mistakes in the management security domain should be logged better
Key: AS7-6830
URL: https://issues.jboss.org/browse/AS7-6830
Project: Application Server 7
Issue Type: Bug
Components: Security, Server
Affects Versions: 7.1.3.Final (EAP)
Reporter: Tom Fonteyne
Assignee: Anil Saldhana
Priority: Minor
A spelling mistake in the management security domain prevents the server from starting (good) but the message in the log file is only stating:
[Host Controller] 08:35:37,672 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010933: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
There in fact no previous messages
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-6829) module.xml schema checking should log errors when it encounters them
by Tom Fonteyne (JIRA)
Tom Fonteyne created AS7-6829:
---------------------------------
Summary: module.xml schema checking should log errors when it encounters them
Key: AS7-6829
URL: https://issues.jboss.org/browse/AS7-6829
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.1.3.Final (EAP)
Reporter: Tom Fonteyne
Assignee: Jason Greene
Priority: Minor
When defining a JDBC driver, we made a syntax error in the module.xml
<resources>
<resource-root path="driver.jar"/>
</resoruces>
Note the misspelled closing tag "</resoruces>"
The driver did not get loaded (logically) but no error message was logged in server.log about this
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months