Ok, never name your attachments error.txt. Lesson learnt. (Sorry for the spam)
Here inline:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
java.lang.NullPointerException
com.gulon.frontend.web.actions.user.RegisterAction.execute(RegisterAction.java:59)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
$Proxy11.execute(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:434)
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:273)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocatio
Logs:
[INFO] 2008-07-22 11:08:06,796 - Initializing Spring root WebApplicationContext
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test]]
[INFO] 2008-07-22 11:08:06,796 - Root WebApplicationContext: initialization
started [org.springframework.web.context.ContextLoader]
[INFO] 2008-07-22 11:08:06,921 - Refreshing [EMAIL PROTECTED]: display name
[Root WebApplicationContext]; startup date [Tue Jul 22 11:08:06 EEST 2008];
root of context hierarchy
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:07,140 - Loading XML bean definitions from
ServletContext resource [/WEB-INF/application-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,515 - Loading XML bean definitions from class path
resource [dao-application-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,531 - Loading XML bean definitions from class path
resource [datasource-application-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,562 - Loading XML bean definitions from class path
resource [gulon-application-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,578 - Loading XML bean definitions from class path
resource [security-application-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,906 - Loading XML bean definitions from class path
resource [service-application-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,921 - Loading XML bean definitions from class path
resource [transaction-application-context.xml]
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,984 - Bean factory for application context [EMAIL
PROTECTED]: [EMAIL PROTECTED]
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:08,187 - Loading properties file from class path
resource [build.properties]
[org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
[INFO] 2008-07-22 11:08:08,281 - Selecting AuthenticationEntryPoint for use in
ExceptionTranslationFilter
[org.springframework.security.config.HttpSecurityConfigPostProcessor]
[INFO] 2008-07-22 11:08:08,281 - Using main configured AuthenticationEntryPoint
set to _mainEntryPoint
[org.springframework.security.config.HttpSecurityConfigPostProcessor]
[INFO] 2008-07-22 11:08:08,281 - Using bean '_mainEntryPoint' as the entry
point. [org.springframework.security.config.HttpSecurityConfigPostProcessor]
[INFO] 2008-07-22 11:08:08,390 - Bean 'jpaDialect' is not eligible for getting
processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:08,468 - MLog clients using log4j logging.
[com.mchange.v2.log.MLog]
[INFO] 2008-07-22 11:08:08,765 - Initializing c3p0-0.9.1.2 [built 21-May-2007
15:04:56; debug? true; trace: 10] [com.mchange.v2.c3p0.C3P0Registry]
[INFO] 2008-07-22 11:08:08,906 - Bean 'defaultDataSource' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:09,031 - Bean
'org.springframework.orm.jpa.vendor.OpenJpaVendorAdapter#8530b8' is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:09,078 - Building JPA container EntityManagerFactory
for persistence unit 'gulonPersistence'
[org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean]
[INFO] 2008-07-22 11:08:09,593 - Initializing c3p0 pool...
com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3,
acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose ->
false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
checkoutTimeout -> 0, connectionCustomizerClassName -> null,
connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester,
dataSourceName -> 1hge0zd7vkha05fzilt2x|6835fb,
debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass
-> com.mysql.jdbc.Driver, factoryClassLocation -> null,
forceIgnoreUnresolvedTransactions -> false, identityToken ->
1hge0zd7vkha05fzilt2x|6835fb, idleConnectionTestPeriod -> 0, initialPoolSize ->
3, jdbcUrl -> jdbc:mysql://localhost:3306/gulon, maxAdministrativeTaskTime ->
0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0,
maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0,
minPoolSize -> 3, numHel
perThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0,
preferredTestQuery -> null, properties -> {c3p0.acquire_increment=5,
user=******, c3p0.max_statements=0, password=******, c3p0.idle_test_period=100,
c3p0.max_size=100, c3p0.min_size=10}, propertyCycle -> 0,
testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
[com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource]
[INFO] 2008-07-22 11:08:10,859 - Bean 'entityManagerFactory' is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:10,859 - Bean 'entityManagerFactory' is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:10,859 - Bean 'transactionManager' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:10,875 - Bean '(inner bean)' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:10,875 - Bean '(inner bean)' is not eligible for
getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:11,031 - Bean
'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0'
is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
[org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:11,171 - Pre-instantiating singletons in [EMAIL
PROTECTED]: defining beans
[org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,userDao,projectDao,catalogueDao,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,defaultDataSource,entityManagerFactory,projectTemplateService,messageSource,_authenticationManager,_filterChainProxy,_httpSessionContextIntegrationFilter,_filterChainProxyPostProcessor,_filterChainList,_securityContextHolderAwareRequestFilter,_accessManager,_portMapper,_exceptionTranslationFilter,_filterSecurityInterceptor,_sessionFixationProtectionFilter,_anonymousProcessingFilter,_rememberMeServices,_rememberMeFilter,_rememberMeServicesInjectionBeanPostProcessor,_logoutFilter,_basicAuthenticationEntryPoint,_basicAuthenticationFilter,_formLoginFilter,_formLoginEntryPoint,_httpConfigBeanFactoryPostProcessor,gulonPasswordEncoder,org.springfra
mework.security.providers.dao.DaoAuthenticationProvider#0,org.springframework.security.config.AuthenticationProviderBeanDefinitionParser$AuthenticationProviderCacheResolver#0,projectService,catalogueService,eventService,contextExporter,userService,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0,transactionManager,jpaDialect];
root of factory hierarchy
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
[INFO] 2008-07-22 11:08:11,609 - Validated configuration attributes
[org.springframework.security.intercept.AbstractSecurityInterceptor]
[INFO] 2008-07-22 11:08:11,640 - Setting RememberMeServices on bean
_basicAuthenticationFilter
[org.springframework.security.config.RememberMeServicesInjectionBeanPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - Checking sorted filter chain:
[org.springframework.security.context.HttpSessionContextIntegrationFilter[
order=200; ], org.springframework.security.ui.SessionFixationProtectionFilter[
order=300; ], org.springframework.security.ui.logout.LogoutFilter[ order=400;
], org.springframework.security.ui.webapp.AuthenticationProcessingFilter[
order=800; ], org.springframework.security.ui.basicauth.BasicProcessingFilter[
order=1100; ],
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[
order=1200; ],
org.springframework.security.ui.rememberme.RememberMeProcessingFilter[
order=1300; ],
org.springframework.security.providers.anonymous.AnonymousProcessingFilter[
order=1400; ], org.springframework.security.ui.ExceptionTranslationFilter[
order=1500; ], [EMAIL PROTECTED]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - Filter chain...
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [0] -
org.springframework.security.context.HttpSessionContextIntegrationFilter[
order=200; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [1] -
org.springframework.security.ui.SessionFixationProtectionFilter[ order=300; ]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [2] -
org.springframework.security.ui.logout.LogoutFilter[ order=400; ]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [3] -
org.springframework.security.ui.webapp.AuthenticationProcessingFilter[
order=800; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [4] -
org.springframework.security.ui.basicauth.BasicProcessingFilter[ order=1100; ]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [5] -
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[
order=1200; ]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - [6] -
org.springframework.security.ui.rememberme.RememberMeProcessingFilter[
order=1300; ]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - [7] -
org.springframework.security.providers.anonymous.AnonymousProcessingFilter[
order=1400; ]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - [8] -
org.springframework.security.ui.ExceptionTranslationFilter[ order=1500; ]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - [9] - [EMAIL PROTECTED]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - Checking whether login URL '/login.action' is
accessible with your configuration
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - FilterChainProxy: FilterChainProxy[ UrlMatcher
=
org.springframework.security.util.AntUrlPathMatcher[requiresLowerCase='true'];
Filter Chains:
{/**=[org.springframework.security.context.HttpSessionContextIntegrationFilter[
order=200; ], org.springframework.security.ui.SessionFixationProtectionFilter[
order=300; ], org.springframework.security.ui.logout.LogoutFilter[ order=400;
], org.springframework.security.ui.webapp.AuthenticationProcessingFilter[
order=800; ], org.springframework.security.ui.basicauth.BasicProcessingFilter[
order=1100; ],
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[
order=1200; ],
org.springframework.security.ui.rememberme.RememberMeProcessingFilter[
order=1300; ],
org.springframework.security.providers.anonymous.AnonymousProcessingFilter[
order=1400; ], org.springframework.security.ui.ExceptionTranslationFilter[
order=1500; ], org.springframework.security.intercept.web.FilterSecurityInterce
[EMAIL PROTECTED]
[org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,687 - Root WebApplicationContext: initialization
completed in 4891 ms [org.springframework.web.context.ContextLoader]
[INFO] 2008-07-22 11:08:11,703 - Set web app root system property:
'webapp.root' = [C:\workspace\test\out\]
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test]]
[INFO] 2008-07-22 11:08:11,703 - Initializing log4j from
[C:\workspace\test\out\WEB-INF\classes\log4j.properties]
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test]]
[INFO] 2008-07-22 11:08:12,125 - Parsing configuration file
[struts-default.xml]
[com.opensymphony.xwork2.config.providers.XmlConfigurationProvider]
[INFO] 2008-07-22 11:08:12,328 - Parsing configuration file [struts-plugin.xml]
[com.opensymphony.xwork2.config.providers.XmlConfigurationProvider]
[INFO] 2008-07-22 11:08:12,343 - Parsing configuration file [struts.xml]
[com.opensymphony.xwork2.config.providers.XmlConfigurationProvider]
[INFO] 2008-07-22 11:08:12,359 - Loading global messages from messages
[org.apache.struts2.config.BeanSelectionProvider]
[INFO] 2008-07-22 11:08:12,468 - Initializing Struts-Spring integration...
[org.apache.struts2.spring.StrutsSpringObjectFactory]
[INFO] 2008-07-22 11:08:12,468 - Setting autowire strategy to name
[com.opensymphony.xwork2.spring.SpringObjectFactory]
[INFO] 2008-07-22 11:08:12,468 - ... initialized Struts-Spring integration
successfully [org.apache.struts2.spring.StrutsSpringObjectFactory]
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Web application deployment descriptor for Gulon -->
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Gulon - Enterprise data management</display-name>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>WEB-INF/classes/log4j.properties</param-value>
</context-param>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/application-context.xml</param-value>
</context-param>
<context-param>
<param-name>log4j</param-name>
<param-value>log4j.properties</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<!--listener>
<listener-class>com.gulon.frontend.test.ConnectionTest</listener-class>
</listener-->
<filter>
<filter-name>CharacterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter>
<filter-name>struts</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter>
<filter-name>ResponseHeaderFilter</filter-name>
<filter-class>com.gulon.frontend.web.filter.ResponseHeaderFilter</filter-class>
<init-param>
<param-name>Cache-Control</param-name>
<param-value>no-store</param-value>
</init-param>
<init-param>
<param-name>Pragma</param-name>
<param-value>no-cache</param-value>
</init-param>
<init-param>
<param-name>Expires</param-name>
<param-value>0</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>ResponseHeaderFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CharacterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>struts</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>/WEB-INF/jsp/index.jsp</welcome-file>
</welcome-file-list>
</web-app>
-------- Original-Nachricht --------
> Datum: Tue, 22 Jul 2008 09:56:05 +0200
> Von: [EMAIL PROTECTED]
> An: "Struts Users Mailing List" <[email protected]>
> Betreff: Re: Setters not working
> I copied the most relevant pieces into the attached file.
>
> Thanks for your time,
> Andreas!
>
> -------- Original-Nachricht --------
> > Datum: Tue, 22 Jul 2008 09:26:36 +0200
> > Von: "Lukasz Lenart" <[EMAIL PROTECTED]>
> > An: "Struts Users Mailing List" <[email protected]>
> > Betreff: Re: Setters not working
>
> > Hi,
> >
> > Could you paste here some examples of your code and config?
> >
> >
> > Regards
> > --
> > Lukasz
> > http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]