[JBoss JIRA] Created: (JBPORTAL-2178) NPE when requesting dashboard as unauthenticated user
by Martin Putz (JIRA)
NPE when requesting dashboard as unauthenticated user
-----------------------------------------------------
Key: JBPORTAL-2178
URL: https://jira.jboss.org/jira/browse/JBPORTAL-2178
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.6.6 Final
Reporter: Martin Putz
Assignee: Thomas Heute
Fix For: 2.6.7 Final
As a user who is not logged when I type into my browser the url
<host:port>/portal/dashboard
or
<host:port>/portal/dashboard/<something>
I get a HTTP 500 and a stacktrace with a NullPointerException
and in the server log the message
2008-09-25 17:36:17,048 ERROR [org.jboss.portal.server.servlet.PortalServlet] Unexpected exception
java.lang.NullPointerException
at org.jboss.portal.core.model.portal.command.view.ViewContextCommand.execute(ViewContextCommand.java:62)
at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
.....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 5 months
[JBoss JIRA] Created: (JBRULES-1619) Creating a Business rule (using guided editor) which contains a variable which is very long breaks the GUI so you cannot add any more conditions or actions.
by Richard Ambridge (JIRA)
Creating a Business rule (using guided editor) which contains a variable which is very long breaks the GUI so you cannot add any more conditions or actions.
------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-1619
URL: http://jira.jboss.com/jira/browse/JBRULES-1619
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-brms
Affects Versions: 4.0.7
Environment: Solaris 10, firefox, glassfish
Reporter: Richard Ambridge
Assigned To: Mark Proctor
Creating a Business rule (using guided editor) which contains a variable which is very long breaks the GUI so you cannot add any more conditions or actions.
First create a DSL,
[when]Condition sentence template {var}=rule language mapping {var}
[then]Action{var}e=rule language mapping {var}
[then]action2=test
next create a Business rule (using guided editor)
click on the When +
add the 'Condition sentence template {var}'
edit the variable var and set it to 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1
click on the Then +
select 'Action'
edit the var for Action and set it to anything
Now, notice the screen has redrawn and all the 1.1.1. has push everything off the edge of the screen.
Now you wish to add another Then +
scroll your wish to the Then +
Clicking on the Then + results in the popup being off screen, and you can never get to it...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 5 months
[JBoss JIRA] Created: (JBMESSAGING-1294) Limit core sessions to also transacted for acks
by Tim Fox (JIRA)
Limit core sessions to also transacted for acks
-----------------------------------------------
Key: JBMESSAGING-1294
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1294
Project: JBoss Messaging
Issue Type: Task
Reporter: Tim Fox
Assigned To: Tim Fox
Fix For: 2.0.0 Beta
Currently core sessions have a batch size and can be set to auto commit acks. These is fairly complex and makes it hard to apply
JMS message listener redelivery semantics.
With a JMS message listener auto_ack or dups_ok, if a runtimeexception is thrown from onMessage the last message should be redelivered.
An auto_ack session is marked as auto commit acks, so if we immediately rollback when receiving the exception, the last message is acked so is not redelivered.
Solution here is never to auto commit acks. Sessions are always transacted (sends can be auto_acked or have concurrency problems when concurrently receiving and sending messages in a dups_ok session), and acks must be explicitly acked anc committed by the JMS layer.
This should simplify the code too.
Uncomment MessageConsumerTest::testExceptionMessageListener1 and 2 when this is complete
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 5 months