uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaroslaw Cwiklik <uim...@gmail.com>
Subject Re: Strange problem with Javadoc generation and JVMs
Date Mon, 17 Sep 2012 15:24:23 GMT
I've fixed remaining javadoc Warnings. Unable to reproduce OOM with ibm 1.7
jvm. The build works
for me.


On Mon, Sep 17, 2012 at 10:10 AM, Jaroslaw Cwiklik <uimaee@gmail.com> wrote:

>
>
> On Sat, Sep 15, 2012 at 5:01 PM, Marshall Schor <msa@schor.com> wrote:
>
>> While checking the release candidate for UIMA AS 2.4.0, I find I'm having
>> trouble building from source (from the source-release.zip), at the
>> generate-javadoc step.
>>
>> When I run using an Oracle JVM I see 9 Warnings from the JavaDoc (I've
>> copied
>> these below).
>> I examined the first one: it says that the (parameterized) type
>> o.a.camel.impl.DefaultComponent doesn't take parameters, but when I look
>> this
>> up, it seems it does.  So the warning seems wrong?
>>
>> But, even worse, when I run maven using a recent IBM JVM (any after
>> release
>> 6/service-release 8/fixpack-1), such as the lastest Java 7 service
>> release 2, I
>> get a summary message listing a huge number of Java doc errors (> 2.5
>> million)
>> and warnings, followed by a JVM out-of-memory error (not fixed when even
>> with a
>> 2GB -Xmx...)
>>
>> [INFO] --- maven-javadoc-plugin:2.8:javadoc (javadocs-distr) @ uima-as ---
>> [INFO]
>> 2577734 errors
>> 642448 warnings
>> [ERROR] Java heap space -> [Help 1]
>> java.lang.OutOfMemoryError: Java heap space
>>         at
>> java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:338)
>>         at java.lang.StringBuffer.append(StringBuffer.java:204)
>>         at
>>
>> org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:4989)
>>
>> Anyone else have this issue, or figured out what's going on?
>>
>> -Marshall
>>
>>
>> Here's the output for 9 warnings when running with older IBM JVM's or
>> Oracle JVM:
>>
>> [INFO] --- maven-javadoc-plugin:2.8:javadoc (javadocs-distr) @ uima-as ---
>> [INFO]
>> 9 warnings
>>
>>
>> \uima-as-2.4.0\uimaj-as-camel\src\main\java\org\apache\uima\camel\UimaAsComponent.java:33:
>> type org.apache.camel.impl.DefaultComponent does not take parameters
>> public class UimaAsComponent extends DefaultComponent<Exchange> {
>> ^
>>
>> \uima-as-2.4.0\uimaj-as-camel\src\main\java\org\apache\uima\camel\UimaAsComponent.java:36:
>> type org.apache.camel.Endpoint does not take parameters
>> protected Endpoint<Exchange> createEndpoint(String uri, String remaining,
>> ^
>>
>> \uima-as-2.4.0\uimaj-as-camel\src\main\java\org\apache\uima\camel\UimaAsEndpoint.java:34:
>> type org.apache.camel.impl.DefaultEndpoint does not take parameters
>> public class UimaAsEndpoint extends DefaultEndpoint<Exchange> {
>> ^
>>
>> \uima-as-2.4.0\uimaj-as-camel\src\main\java\org\apache\uima\camel\UimaAsEndpoint.java:84:
>> type org.apache.camel.Consumer does not take parameters
>> public Consumer<Exchange> createConsumer(Processor arg0) throws Exception
>> {
>> ^
>>
>> \uima-as-2.4.0\uimaj-as-camel\src\main\java\org\apache\uima\camel\UimaAsEndpoint.java:88:
>> type org.apache.camel.Producer does not take parameters
>> public Producer<Exchange> createProducer() throws Exception {
>> ^
>>
>> \uima-as-2.4.0\uimaj-as-camel\src\main\java\org\apache\uima\camel\UimaAsProducer.java:51:
>> type org.apache.camel.impl.DefaultProducer does not take parameters
>> public class UimaAsProducer extends DefaultProducer<Exchange> implements
>> AsyncProcessor {
>> ^
>>
>> \uima-as-2.4.0\uimaj-as-camel\src\main\java\org\apache\uima\camel\UimaAsProducer.java:144:
>> type org.apache.camel.Endpoint does not take parameters
>> public UimaAsProducer(String brokerAddress, String queue, Integer
>> casPoolSize,
>> Integer timeout, Endpoint<Exchange> endpoint)
>> ^
>>
>> \uima-as-2.4.0\uimaj-as-core\src\main\java\org\apache\uima\resourceSpecifier\factory\Import.java:53:
>> warning - @param argument "location" is not a parameter name.
>>
>>
>> \uima-as-2.4.0\uimaj-as-activemq\src\main\java\org\apache\uima\adapter\jms\service\UIMA_Service.java:286:
>> warning - @param argument "samplingFrequency" is not a parameter name.
>>
>>
>> Fixed Warnings for these:
>
>
> \uima-as-2.4.0\uimaj-as-core\src\main\java\org\apache\uima\resourceSpecifier\factory\Import.java:53:
> warning - @param argument "location" is not a parameter name.
>
>
> \uima-as-2.4.0\uimaj-as-activemq\src\main\java\org\apache\uima\adapter\jms\service\UIMA_Service.java:286:
> warning - @param argument "samplingFrequency" is not a parameter name
>
> The above were generated due to inconsistent method headers. The headers
> named params not present in the method signature.
>
> Not sure yet about the rest of the Warnings and the OOM. Working on this
> now.
>
>
>
>

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