You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <de...@myfaces.apache.org> on 2006/04/21 03:42:05 UTC

[jira] Created: (TOMAHAWK-266) Master-detail example not working

Master-detail example not working
---------------------------------

         Key: TOMAHAWK-266
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
     Project: MyFaces Tomahawk
        Type: Bug

    Versions: 1.1.2-SNAPSHOT    
    Reporter: sean schofield
    Priority: Critical
     Fix For: 1.1.2-SNAPSHOT


The master detail example in the simple examples produces the following error:

javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)

NOTE: This should be fixed immediately so we can release.

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


[jira] Commented: (TOMAHAWK-266) Master-detail example not working

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=comments#action_12375522 ] 

Matthias Weßendorf commented on TOMAHAWK-266:
---------------------------------------------

more stack trace

11:19:50,308 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NoSuchMethodError: java.math.BigDecimal.<init>(J)V
        at org.apache.myfaces.examples.listexample.SimpleCountryList.<init>(Simp
leCountryList.java:105)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:308)
        at java.lang.Class.newInstance(Class.java:261)
        at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils
.java:274)
        at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils
.java:265)
        at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(Managed
BeanBuilder.java:50)
        at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableRe
solverImpl.java:311)
        at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable
(LastVariableResolverInChain.java:42)
        at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVari
able(ValueBindingImpl.java:574)
        at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
        at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)
        at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java
:383)

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Commented: (TOMAHAWK-266) Master-detail example not working

Posted by "sean schofield (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=comments#action_12375621 ] 

sean schofield commented on TOMAHAWK-266:
-----------------------------------------

Looking at the Tomcat logs I am getting:

java.lang.NoSuchMethodError: java.math.BigDecimal.<init>(J)V

I seem to recall something like this before.  Apparently if compiled on JDK 1.5 (continuum server) and run on JDK 1.4 (my machine) you have issues.  Apparently this version of the constructor is problematic in 1.4

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Assignee: Mario Ivankovits
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Commented: (TOMAHAWK-266) Master-detail example not working

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=comments#action_12375521 ] 

Matthias Weßendorf commented on TOMAHAWK-266:
---------------------------------------------

the example classes SimpleCountryList and CarConfigurator are causing this problem on pages like

-crossDataTable.jsf
-optDataTable.jsf
-selectbox.jsf 
-popup.jsf
-newspaperTable.jsf

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Reopened: (TOMAHAWK-266) Master-detail example not working

Posted by "sean schofield (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=all ]
     
sean schofield reopened TOMAHAWK-266:
-------------------------------------

     Assign To: Mario Ivankovits

Bug still appears to be present in tomahawk branch.  I just rebuild the RC (after svn update and its still there.)  Can you double check that this has been fixed?

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Assignee: Mario Ivankovits
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Commented: (TOMAHAWK-266) Master-detail example not working

Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=comments#action_12375625 ] 

Mario Ivankovits commented on TOMAHAWK-266:
-------------------------------------------

I replaced the non existent BigDecimal constructor by BigDecimal.valueOf, so it should be jdk1.4 compatible

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Assignee: Mario Ivankovits
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Commented: (TOMAHAWK-266) Master-detail example not working

Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=comments#action_12375616 ] 

Mario Ivankovits commented on TOMAHAWK-266:
-------------------------------------------

Hi!

I exploded myfaces-example-simple-1.1.2-SNAPSHOT.war and pointed my tomcat to it.
All the above described samples worked as expected - no exception.

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Assignee: Mario Ivankovits
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Resolved: (TOMAHAWK-266) Master-detail example not working

Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=all ]
     
Mario Ivankovits resolved TOMAHAWK-266:
---------------------------------------

    Resolution: Fixed

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Assignee: Mario Ivankovits
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Resolved: (TOMAHAWK-266) Master-detail example not working

Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=all ]
     
Mario Ivankovits resolved TOMAHAWK-266:
---------------------------------------

    Resolution: Fixed

added attribute ID to country and fixed updateActionListener in masterDetail.jsf

couldnt reproduce a failure in the other jsf pointed out in this bug, please recheck.

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Commented: (TOMAHAWK-266) Master-detail example not working

Posted by "sean schofield (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=comments#action_12375659 ] 

sean schofield commented on TOMAHAWK-266:
-----------------------------------------

Yes this works.  Thanks.

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Assignee: Mario Ivankovits
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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


[jira] Commented: (TOMAHAWK-266) Master-detail example not working

Posted by "sean schofield (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-266?page=comments#action_12375622 ] 

sean schofield commented on TOMAHAWK-266:
-----------------------------------------

Yes its the constructor that is the problem.  There is no constructor taking a long in the 1.4 version.

> Master-detail example not working
> ---------------------------------
>
>          Key: TOMAHAWK-266
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-266
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>     Reporter: sean schofield
>     Assignee: Mario Ivankovits
>     Priority: Critical
>      Fix For: 1.1.2-SNAPSHOT

>
> The master detail example in the simple examples produces the following error:
> javax.servlet.ServletException: java.math.BigDecimal.<init>(J)V
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> NOTE: This should be fixed immediately so we can release.

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