You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dave Syer (JIRA)" <ji...@apache.org> on 2006/11/08 12:28:02 UTC

[jira] Created: (AMQ-1036) web-console broken (queue browsing).

web-console broken (queue browsing).
------------------------------------

                 Key: AMQ-1036
                 URL: https://issues.apache.org/activemq/browse/AMQ-1036
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: incubation
            Reporter: Dave Syer


I managed to build and launch the web-console from svn, but the queue browsing page is broken - queue.jsp uses properties of Queue e.g. ${row.size} that do not exist.  When I hacked queue.jsp to remove references to those properties I got another error on trying to purge a queue:

RequestURI=/activemq-web-console/purgeDestination.action
Caused by:

java.lang.IllegalArgumentException: Target bean must not be null
	at org.springframework.util.Assert.notNull(Assert.java:113)
	at org.springframework.validation.BeanPropertyBindingResult.(BeanPropertyBindingResult.java:58)
	at org.springframework.validation.DataBinder.initBeanPropertyAccess(DataBinder.java:167)
	at org.springframework.validation.DataBinder.getInternalBindingResult(DataBinder.java:186)
	at org.springframework.validation.DataBinder.getPropertyAccessor(DataBinder.java:196)
	at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:515)
	at org.springframework.validation.DataBinder.doBind(DataBinder.java:417)
	at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:146)
	at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:108)
	at org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:43)
...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (AMQ-1036) web-console broken (queue browsing).

Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1036?page=all ]

Adrian Co resolved AMQ-1036.
----------------------------

    Resolution: Fixed

Fix applied to 4.1 branch at rev 475831

> web-console broken (queue browsing).
> ------------------------------------
>
>                 Key: AMQ-1036
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1036
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: incubation
>            Reporter: Dave Syer
>         Assigned To: Adrian Co
>             Fix For: 4.1.1, 4.2.0
>
>
> I managed to build and launch the web-console from svn, but the queue browsing page is broken - queue.jsp uses properties of Queue e.g. ${row.size} that do not exist.  When I hacked queue.jsp to remove references to those properties I got another error on trying to purge a queue:
> RequestURI=/activemq-web-console/purgeDestination.action
> Caused by:
> java.lang.IllegalArgumentException: Target bean must not be null
> 	at org.springframework.util.Assert.notNull(Assert.java:113)
> 	at org.springframework.validation.BeanPropertyBindingResult.(BeanPropertyBindingResult.java:58)
> 	at org.springframework.validation.DataBinder.initBeanPropertyAccess(DataBinder.java:167)
> 	at org.springframework.validation.DataBinder.getInternalBindingResult(DataBinder.java:186)
> 	at org.springframework.validation.DataBinder.getPropertyAccessor(DataBinder.java:196)
> 	at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:515)
> 	at org.springframework.validation.DataBinder.doBind(DataBinder.java:417)
> 	at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:146)
> 	at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:108)
> 	at org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:43)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (AMQ-1036) web-console broken (queue browsing).

Posted by "Dave Syer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1036?page=comments#action_37371 ] 
            
Dave Syer commented on AMQ-1036:
--------------------------------

$ svn info
Path: .
URL: https://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-web-console
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 472439
Node Kind: directory
Schedule: normal
Last Changed Author: aco
Last Changed Rev: 470018
Last Changed Date: 2006-11-01 17:58:51 +0000 (Wed, 01 Nov 2006)
Properties Last Updated: 2006-11-08 09:41:56 +0000 (Wed, 08 Nov 2006)


> web-console broken (queue browsing).
> ------------------------------------
>
>                 Key: AMQ-1036
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1036
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: incubation
>            Reporter: Dave Syer
>
> I managed to build and launch the web-console from svn, but the queue browsing page is broken - queue.jsp uses properties of Queue e.g. ${row.size} that do not exist.  When I hacked queue.jsp to remove references to those properties I got another error on trying to purge a queue:
> RequestURI=/activemq-web-console/purgeDestination.action
> Caused by:
> java.lang.IllegalArgumentException: Target bean must not be null
> 	at org.springframework.util.Assert.notNull(Assert.java:113)
> 	at org.springframework.validation.BeanPropertyBindingResult.(BeanPropertyBindingResult.java:58)
> 	at org.springframework.validation.DataBinder.initBeanPropertyAccess(DataBinder.java:167)
> 	at org.springframework.validation.DataBinder.getInternalBindingResult(DataBinder.java:186)
> 	at org.springframework.validation.DataBinder.getPropertyAccessor(DataBinder.java:196)
> 	at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:515)
> 	at org.springframework.validation.DataBinder.doBind(DataBinder.java:417)
> 	at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:146)
> 	at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:108)
> 	at org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:43)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (AMQ-1036) web-console broken (queue browsing).

Posted by "Dave Syer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1036?page=comments#action_37432 ] 
            
Dave Syer commented on AMQ-1036:
--------------------------------

Works now.  Thanks!



> web-console broken (queue browsing).
> ------------------------------------
>
>                 Key: AMQ-1036
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1036
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: incubation
>            Reporter: Dave Syer
>         Assigned To: Adrian Co
>             Fix For: 4.1
>
>
> I managed to build and launch the web-console from svn, but the queue browsing page is broken - queue.jsp uses properties of Queue e.g. ${row.size} that do not exist.  When I hacked queue.jsp to remove references to those properties I got another error on trying to purge a queue:
> RequestURI=/activemq-web-console/purgeDestination.action
> Caused by:
> java.lang.IllegalArgumentException: Target bean must not be null
> 	at org.springframework.util.Assert.notNull(Assert.java:113)
> 	at org.springframework.validation.BeanPropertyBindingResult.(BeanPropertyBindingResult.java:58)
> 	at org.springframework.validation.DataBinder.initBeanPropertyAccess(DataBinder.java:167)
> 	at org.springframework.validation.DataBinder.getInternalBindingResult(DataBinder.java:186)
> 	at org.springframework.validation.DataBinder.getPropertyAccessor(DataBinder.java:196)
> 	at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:515)
> 	at org.springframework.validation.DataBinder.doBind(DataBinder.java:417)
> 	at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:146)
> 	at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:108)
> 	at org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:43)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (AMQ-1036) web-console broken (queue browsing).

Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1036?page=all ]

Adrian Co resolved AMQ-1036.
----------------------------

    Fix Version/s: 4.1
       Resolution: Fixed
         Assignee: Adrian Co

Hi,

I've fixed this in trunk. rev 473056.

Let me know if this works for you.

Thanks for the heads up. :)

> web-console broken (queue browsing).
> ------------------------------------
>
>                 Key: AMQ-1036
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1036
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: incubation
>            Reporter: Dave Syer
>         Assigned To: Adrian Co
>             Fix For: 4.1
>
>
> I managed to build and launch the web-console from svn, but the queue browsing page is broken - queue.jsp uses properties of Queue e.g. ${row.size} that do not exist.  When I hacked queue.jsp to remove references to those properties I got another error on trying to purge a queue:
> RequestURI=/activemq-web-console/purgeDestination.action
> Caused by:
> java.lang.IllegalArgumentException: Target bean must not be null
> 	at org.springframework.util.Assert.notNull(Assert.java:113)
> 	at org.springframework.validation.BeanPropertyBindingResult.(BeanPropertyBindingResult.java:58)
> 	at org.springframework.validation.DataBinder.initBeanPropertyAccess(DataBinder.java:167)
> 	at org.springframework.validation.DataBinder.getInternalBindingResult(DataBinder.java:186)
> 	at org.springframework.validation.DataBinder.getPropertyAccessor(DataBinder.java:196)
> 	at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:515)
> 	at org.springframework.validation.DataBinder.doBind(DataBinder.java:417)
> 	at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:146)
> 	at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:108)
> 	at org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:43)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (AMQ-1036) web-console broken (queue browsing).

Posted by "james strachan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1036?page=all ]

james strachan reopened AMQ-1036:
---------------------------------

             
Could you apply this fix to the 4-1 branch too please?

https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1/

> web-console broken (queue browsing).
> ------------------------------------
>
>                 Key: AMQ-1036
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1036
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: incubation
>            Reporter: Dave Syer
>         Assigned To: Adrian Co
>             Fix For: 4.1.0
>
>
> I managed to build and launch the web-console from svn, but the queue browsing page is broken - queue.jsp uses properties of Queue e.g. ${row.size} that do not exist.  When I hacked queue.jsp to remove references to those properties I got another error on trying to purge a queue:
> RequestURI=/activemq-web-console/purgeDestination.action
> Caused by:
> java.lang.IllegalArgumentException: Target bean must not be null
> 	at org.springframework.util.Assert.notNull(Assert.java:113)
> 	at org.springframework.validation.BeanPropertyBindingResult.(BeanPropertyBindingResult.java:58)
> 	at org.springframework.validation.DataBinder.initBeanPropertyAccess(DataBinder.java:167)
> 	at org.springframework.validation.DataBinder.getInternalBindingResult(DataBinder.java:186)
> 	at org.springframework.validation.DataBinder.getPropertyAccessor(DataBinder.java:196)
> 	at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:515)
> 	at org.springframework.validation.DataBinder.doBind(DataBinder.java:417)
> 	at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:146)
> 	at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:108)
> 	at org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:43)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (AMQ-1036) web-console broken (queue browsing).

Posted by "james strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1036?page=comments#action_37369 ] 
            
james strachan commented on AMQ-1036:
-------------------------------------

Which version are you using? Its working for me on the 4.1-SNAPSHOT

> web-console broken (queue browsing).
> ------------------------------------
>
>                 Key: AMQ-1036
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1036
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: incubation
>            Reporter: Dave Syer
>
> I managed to build and launch the web-console from svn, but the queue browsing page is broken - queue.jsp uses properties of Queue e.g. ${row.size} that do not exist.  When I hacked queue.jsp to remove references to those properties I got another error on trying to purge a queue:
> RequestURI=/activemq-web-console/purgeDestination.action
> Caused by:
> java.lang.IllegalArgumentException: Target bean must not be null
> 	at org.springframework.util.Assert.notNull(Assert.java:113)
> 	at org.springframework.validation.BeanPropertyBindingResult.(BeanPropertyBindingResult.java:58)
> 	at org.springframework.validation.DataBinder.initBeanPropertyAccess(DataBinder.java:167)
> 	at org.springframework.validation.DataBinder.getInternalBindingResult(DataBinder.java:186)
> 	at org.springframework.validation.DataBinder.getPropertyAccessor(DataBinder.java:196)
> 	at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:515)
> 	at org.springframework.validation.DataBinder.doBind(DataBinder.java:417)
> 	at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:146)
> 	at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:108)
> 	at org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:43)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (AMQ-1036) web-console broken (queue browsing).

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1036?page=all ]

Hiram Chirino updated AMQ-1036:
-------------------------------

    Fix Version/s: 4.1.1
                   4.2.0
                       (was: 4.1.0)

> web-console broken (queue browsing).
> ------------------------------------
>
>                 Key: AMQ-1036
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1036
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: incubation
>            Reporter: Dave Syer
>         Assigned To: Adrian Co
>             Fix For: 4.2.0, 4.1.1
>
>
> I managed to build and launch the web-console from svn, but the queue browsing page is broken - queue.jsp uses properties of Queue e.g. ${row.size} that do not exist.  When I hacked queue.jsp to remove references to those properties I got another error on trying to purge a queue:
> RequestURI=/activemq-web-console/purgeDestination.action
> Caused by:
> java.lang.IllegalArgumentException: Target bean must not be null
> 	at org.springframework.util.Assert.notNull(Assert.java:113)
> 	at org.springframework.validation.BeanPropertyBindingResult.(BeanPropertyBindingResult.java:58)
> 	at org.springframework.validation.DataBinder.initBeanPropertyAccess(DataBinder.java:167)
> 	at org.springframework.validation.DataBinder.getInternalBindingResult(DataBinder.java:186)
> 	at org.springframework.validation.DataBinder.getPropertyAccessor(DataBinder.java:196)
> 	at org.springframework.validation.DataBinder.applyPropertyValues(DataBinder.java:515)
> 	at org.springframework.validation.DataBinder.doBind(DataBinder.java:417)
> 	at org.springframework.web.bind.WebDataBinder.doBind(WebDataBinder.java:146)
> 	at org.springframework.web.bind.ServletRequestDataBinder.bind(ServletRequestDataBinder.java:108)
> 	at org.apache.activemq.web.handler.BindingBeanNameUrlHandlerMapping.getHandlerInternal(BindingBeanNameUrlHandlerMapping.java:43)
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira