juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [VOTE] Release Apache Juneau 7.0.1 RC1
Date Fri, 22 Dec 2017 22:31:48 GMT
Note that it works with Java 8:

Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
2017-10-18T01:58:13-06:00)
Maven home: C:\Java\apache-maven-3.5.2\bin\..
Java version: 1.8.0_152, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_152\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Here are more details on Java 7 with 'mvn clean test'.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.juneau.examples.rest._TestSuite
Running class 'RestMicroservice' using config file 'examples.cfg'.
Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 1.32 sec
<<< FAILURE! - in org.apache.juneau.examples.rest._TestSuite
org.apache.juneau.examples.rest.AddressBookResourceTest  Time elapsed: 0.95
sec  <<< ERROR!
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.juneau.examples.rest.AddressBookResourceTest.beforeClass(AddressBookResourceTest.java:39)
Caused by: java.lang.NullPointerException
at
org.apache.juneau.examples.rest.AddressBookResourceTest.beforeClass(AddressBookResourceTest.java:39)

org.apache.juneau.examples.rest.AddressBookResourceTest  Time elapsed:
0.951 sec  <<< ERROR!
java.lang.NullPointerException
at
org.apache.juneau.examples.rest.AddressBookResourceTest.afterClass(AddressBookResourceTest.java:69)

testXml(org.apache.juneau.examples.rest.RootResourcesTest)  Time elapsed:
0.001 sec  <<< ERROR!
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.juneau.examples.rest.RootResourcesTest.testXml(RootResourcesTest.java:56)
Caused by: java.lang.NullPointerException
at
org.apache.juneau.examples.rest.RootResourcesTest.testXml(RootResourcesTest.java:56)

testJson(org.apache.juneau.examples.rest.RootResourcesTest)  Time elapsed:
0.001 sec  <<< ERROR!
java.lang.NullPointerException
at
org.apache.juneau.examples.rest.RootResourcesTest.testJson(RootResourcesTest.java:39)

testOptionsPage(org.apache.juneau.examples.rest.RootResourcesTest)  Time
elapsed: 0.001 sec  <<< ERROR!
java.lang.NullPointerException
at
org.apache.juneau.examples.rest.RootResourcesTest.testOptionsPage(RootResourcesTest.java:110)

testHtmlStripped(org.apache.juneau.examples.rest.RootResourcesTest)  Time
elapsed: 0 sec  <<< ERROR!
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.juneau.examples.rest.RootResourcesTest.testHtmlStripped(RootResourcesTest.java:76)
Caused by: java.lang.NullPointerException
at
org.apache.juneau.examples.rest.RootResourcesTest.testHtmlStripped(RootResourcesTest.java:76)

testJsonSchema(org.apache.juneau.examples.rest.RootResourcesTest)  Time
elapsed: 0.001 sec  <<< ERROR!
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.juneau.examples.rest.RootResourcesTest.testJsonSchema(RootResourcesTest.java:96)
Caused by: java.lang.NullPointerException
at
org.apache.juneau.examples.rest.RootResourcesTest.testJsonSchema(RootResourcesTest.java:96)

org.apache.juneau.examples.rest.SampleRemoteableServicesResourceTest  Time
elapsed: 0.002 sec  <<< ERROR!
java.lang.ExceptionInInitializerError
at
org.apache.juneau.examples.rest.SampleRemoteableServicesResourceTest.<clinit>(SampleRemoteableServicesResourceTest.java:31)

org.apache.juneau.examples.rest.SampleRemoteableServicesResourceTest  Time
elapsed: 0.008 sec  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.juneau.examples.rest.SampleRemoteableServicesResourceTest

testUpload(org.apache.juneau.examples.rest.TestMultiPartFormPostsTest)
Time elapsed: 0.342 sec  <<< ERROR!
java.lang.NullPointerException
at
org.apache.juneau.examples.rest.TestMultiPartFormPostsTest.testUpload(TestMultiPartFormPostsTest.java:42)


Results :

Tests in error:
org.apache.juneau.examples.rest.AddressBookResourceTest.org.apache.juneau.examples.rest.AddressBookResourceTest
  Run 1: AddressBookResourceTest.beforeClass:39 ϠRuntime
java.lang.NullPointerExceptio...
  Run 2: AddressBookResourceTest.afterClass:69 NullPointer

  RootResourcesTest.testHtmlStripped:76 ϠRuntime
java.lang.NullPointerException
  RootResourcesTest.testJson:39 NullPointer
  RootResourcesTest.testJsonSchema:96 ϠRuntime
java.lang.NullPointerException
  RootResourcesTest.testOptionsPage:110 NullPointer
  RootResourcesTest.testXml:56 ϠRuntime java.lang.NullPointerException
org.apache.juneau.examples.rest.SampleRemoteableServicesResourceTest.org.apache.juneau.examples.rest.SampleRemoteableServicesResourceTest
  Run 1:
SampleRemoteableServicesResourceTest.org.apache.juneau.examples.rest.SampleRemoteableServicesResourceTest
ϠExceptionInInitializer
  Run 2:
SampleRemoteableServicesResourceTest.org.apache.juneau.examples.rest.SampleRemoteableServicesResourceTest
ϠNoClassDefFound

  TestMultiPartFormPostsTest.testUpload:42 NullPointer

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

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Juneau ...................................... SUCCESS [
0.988 s]
[INFO] Apache Juneau - Core APIs .......................... SUCCESS [
0.039 s]
[INFO] Apache Juneau Marshall ............................. SUCCESS [
12.865 s]
[INFO] Apache Juneau Marshal RDF .......................... SUCCESS [
1.728 s]
[INFO] Apache Juneau Data Transfer Objects ................ SUCCESS [
2.171 s]
[INFO] Apache Juneau Core ................................. SUCCESS [
1.109 s]
[INFO] Apache Juneau Config File API ...................... SUCCESS [
1.205 s]
[INFO] Apache Juneau Core Tests ........................... SUCCESS [01:23
min]
[INFO] Apache Juneau - REST APIs .......................... SUCCESS [
0.050 s]
[INFO] Apache Juneau REST Servlet API ..................... SUCCESS [
2.464 s]
[INFO] Apache Juneau REST JAX/RS API ...................... SUCCESS [
1.088 s]
[INFO] Apache Juneau REST Client API ...................... SUCCESS [
1.294 s]
[INFO] Apache Juneau - Microservice APIs .................. SUCCESS [
0.031 s]
[INFO] Apache Juneau Microservice Server .................. SUCCESS [
2.917 s]
[INFO] Apache Juneau Microservice Template ................ SUCCESS [
1.491 s]
[INFO] Apache Juneau - Examples ........................... SUCCESS [
0.033 s]
[INFO] Apache Juneau REST Examples ........................ FAILURE [
6.577 s]
[INFO] Apache Juneau Microservice Tests ................... SKIPPED
[INFO] Apache Juneau Core Examples ........................ SKIPPED
[INFO] Apache Juneau Javadocs ............................. SKIPPED
[INFO] Apache Juneau - Release Engineering ................ SKIPPED
[INFO] Apache Juneau UberJar .............................. SKIPPED
[INFO] Apache Juneau Distribution ......................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:01 min
[INFO] Finished at: 2017-12-22T15:07:57-07:00
[INFO] Final Memory: 48M/598M
[INFO]
------------------------------------------------------------------------

and on std err:

---Usage---
java -cp juneau.jar org.apache.juneau.ini.ConfigFile createBatchEnvFile
-configFile <configFile> -envFile <envFile> [-verbose]
java -cp juneau.jar org.apache.juneau.ini.ConfigFile createShellEnvFile
-configFile <configFile> -envFile <envFile> [-verbose]
java -cp juneau.jar org.apache.juneau.ini.ConfigFile setVals -configFile
<configFile> -vals [var1 val1 [var2 val2...]] [-verbose]
log4j:WARN No appenders could be found for logger
(com.hp.hpl.jena.rdf.model.impl.RDFDefaultErrorHandler).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
java.lang.UnsupportedClassVersionError:
org/eclipse/jetty/xml/XmlConfiguration : Unsupported major.minor version
52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at
org.apache.juneau.microservice.RestMicroservice.createServer(RestMicroservice.java:326)
        at
org.apache.juneau.microservice.RestMicroservice.start(RestMicroservice.java:128)
        at
org.apache.juneau.examples.rest.SamplesMicroservice.startMicroservice(SamplesMicroservice.java:48)
        at
org.apache.juneau.examples.rest._TestSuite.setUp(_TestSuite.java:36)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
        at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
        at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
        at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
        at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
java.lang.UnsupportedClassVersionError:
org/eclipse/jetty/xml/XmlConfiguration : Unsupported major.minor version
52.0
Exception in thread "Thread-2" java.lang.UnsupportedClassVersionError:
org/eclipse/jetty/server/Server : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at
org.apache.juneau.microservice.RestMicroservice$1.run(RestMicroservice.java:148)
java.lang.NullPointerException
Exception in thread "Thread-3" java.lang.UnsupportedClassVersionError:
org/eclipse/jetty/server/Server
        at
org.apache.juneau.microservice.RestMicroservice$1.run(RestMicroservice.java:148)

Gary





On Fri, Dec 22, 2017 at 2:08 PM, James Bognar <jamesbognar@apache.org>
wrote:

> Hi Gary,
>
> I don't have a Windows machine to test on.  Is there any more output from
> those test failures?  It seems to be cut off and I can't tell where the
> NullPointerException is occurring.
>
> On Fri, Dec 22, 2017 at 3:55 PM, Gary Gregory <garydgregory@gmail.com>
> wrote:
>
> > This is based on a checkout of the git tag BTW.
> >
> > Gary
> >
> > On Fri, Dec 22, 2017 at 1:55 PM, Gary Gregory <garydgregory@gmail.com>
> > wrote:
> >
> > > FWIW, I cannot build on Windows with:
> > >
> > > Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
> > > 2017-10-18T01:58:13-06:00)
> > > Maven home: C:\Java\apache-maven-3.5.2\bin\..
> > > Java version: 1.7.0_80, vendor: Oracle Corporation
> > > Java home: C:\Program Files\Java\jdk1.7.0_80\jre
> > > Default locale: en_US, platform encoding: Cp1252
> > > OS name: "windows 8.1", version: "6.3", arch: "amd64", family:
> "windows"
> > >
> > > Tests in error:
> > > org.apache.juneau.examples.rest.AddressBookResourceTest.
> > > org.apache.juneau.examples.rest.AddressBookResourceTest
> > >   Run 1: AddressBookResourceTest.beforeClass:39 » Runtime
> > > java.lang.NullPointerExceptio...
> > >   Run 2: AddressBookResourceTest.afterClass:69 NullPointer
> > >
> > >   RootResourcesTest.testHtmlStripped:76 » Runtime
> > > java.lang.NullPointerException
> > >   RootResourcesTest.testJson:39 NullPointer
> > >   RootResourcesTest.testJsonSchema:96 » Runtime
> > > java.lang.NullPointerException
> > >   RootResourcesTest.testOptionsPage:110 NullPointer
> > >   RootResourcesTest.testXml:56 » Runtime java.lang.NullPointerException
> > > org.apache.juneau.examples.rest.SampleRemoteableServicesResour
> > > ceTest.org.apache.juneau.examples.rest.SampleRemoteableServicesResour
> > > ceTest
> > >   Run 1: SampleRemoteableServicesResourceTest.org.apache.juneau.
> > > examples.rest.SampleRemoteableServicesResourceTest »
> > > ExceptionInInitializer
> > >   Run 2: SampleRemoteableServicesResourceTest.org.apache.juneau.
> > > examples.rest.SampleRemoteableServicesResourceTest » NoClassDefFound
> > >
> > >   TestMultiPartFormPostsTest.testUpload:42 NullPointer
> > >
> > > Tests run: 8, Failures: 0, Errors: 8, Skipped: 0
> > >
> > > [INFO] ------------------------------------------------------------
> > > ------------
> > > [INFO] Reactor Summary:
> > > [INFO]
> > > [INFO] Apache Juneau ...................................... SUCCESS [
> > > 2.909 s]
> > > [INFO] Apache Juneau - Core APIs .......................... SUCCESS [
> > > 0.282 s]
> > > [INFO] Apache Juneau Marshall ............................. SUCCESS [
> > > 23.271 s]
> > > [INFO] Apache Juneau Marshal RDF .......................... SUCCESS [
> > > 1.954 s]
> > > [INFO] Apache Juneau Data Transfer Objects ................ SUCCESS [
> > > 4.765 s]
> > > [INFO] Apache Juneau Core ................................. SUCCESS [
> > > 0.906 s]
> > > [INFO] Apache Juneau Config File API ...................... SUCCESS [
> > > 1.441 s]
> > > [INFO] Apache Juneau Core Tests ........................... SUCCESS [
> > > 49.744 s]
> > > [INFO] Apache Juneau - REST APIs .......................... SUCCESS [
> > > 0.209 s]
> > > [INFO] Apache Juneau REST Servlet API ..................... SUCCESS [
> > > 4.967 s]
> > > [INFO] Apache Juneau REST JAX/RS API ...................... SUCCESS [
> > > 1.085 s]
> > > [INFO] Apache Juneau REST Client API ...................... SUCCESS [
> > > 4.154 s]
> > > [INFO] Apache Juneau - Microservice APIs .................. SUCCESS [
> > > 0.309 s]
> > > [INFO] Apache Juneau Microservice Server .................. SUCCESS [
> > > 6.387 s]
> > > [INFO] Apache Juneau Microservice Template ................ SUCCESS [
> > > 3.719 s]
> > > [INFO] Apache Juneau - Examples ........................... SUCCESS [
> > > 0.175 s]
> > > [INFO] Apache Juneau REST Examples ........................ FAILURE [
> > > 4.151 s]
> > > [INFO] Apache Juneau Microservice Tests ................... SKIPPED
> > > [INFO] Apache Juneau Core Examples ........................ SKIPPED
> > > [INFO] Apache Juneau Javadocs ............................. SKIPPED
> > > [INFO] Apache Juneau - Release Engineering ................ SKIPPED
> > > [INFO] Apache Juneau UberJar .............................. SKIPPED
> > > [INFO] Apache Juneau Distribution ......................... SKIPPED
> > > [INFO] ------------------------------------------------------------
> > > ------------
> > > [INFO] BUILD FAILURE
> > > [INFO] ------------------------------------------------------------
> > > ------------
> > > [INFO] Total time: 01:52 min
> > > [INFO] Finished at: 2017-12-22T13:41:11-07:00
> > > [INFO] Final Memory: 59M/872M
> > > [INFO] ------------------------------------------------------------
> > > ------------
> > >
> > > What do you build on? Mac? Linux?
> > >
> > > Gary
> > >
> > > On Mon, Dec 18, 2017 at 4:36 PM, James Bognar <jamesbognar@apache.org>
> > > wrote:
> > >
> > >> I am pleased to be calling this vote for the source release of Apache
> > >> Juneau 7.0.1 RC1.
> > >>
> > >> The binaries are available at:
> > >> https://dist.apache.org/repos/dist/dev/juneau/binaries/
> > juneau-7.0.1-RC1/
> > >>
> > >> The release candidate to be voted over is available at:
> > >> https://dist.apache.org/repos/dist/dev/juneau/source/juneau-
> 7.0.1-RC1/
> > >>
> > >> SHA-1 checksums:
> > >> 23faca3fbe91c954012f35820783f86000f90025 apache-juneau-7.0.1-src.zip
> > >> acbad27243d628198f0470d4b1632aabd1db19c3 apache-juneau-7.0.1-bin.zip
> > >>
> > >> MD5 checksums:
> > >> 7d6f4467d707868b8405b95d3079fab7 apache-juneau-7.0.1-src.zip
> > >> 99768674eeb6bec9f2b3f20d8489fd04 apache-juneau-7.0.1-bin.zip
> > >>
> > >> Build the release candidate using:
> > >> mvn clean install
> > >>
> > >> The release candidate is signed with a GPG key available at:
> > >> https://dist.apache.org/repos/dist/release/juneau/KEYS
> > >>
> > >> A staged Maven repository is available for review at:
> > >> https://repository.apache.org/content/repositories/
> > orgapachejuneau-1019/
> > >>
> > >> The Git commit for this release is...
> > >> https://git-wip-us.apache.org/repos/asf?p=juneau.git;a=commi
> > >> t;h=3a4436000b1f783b169e2c883f3785f0d78c7c46
> > >>
> > >> Please vote on releasing this package as:
> > >> Apache Juneau 7.0.1
> > >>
> > >> This vote will be open until 21-Dec-2017 7:00pm EST and passes if a
> > >> majority of at least three +1 Apache Juneau PMC votes are cast.
> > >>
> > >> [ ] +1 Release this package
> > >> [ ] 0 I don't feel strongly about it, but don't object
> > >> [ ] -1 Do not release this package because...
> > >>
> > >> Anyone can participate in testing and voting, not just committers,
> > please
> > >> feel free to try out the release candidate and provide your votes.
> > >>
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message