tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Kemkes (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TIKA-603) Tika 0.9 compiles fine but failed a unit test
Date Fri, 25 Feb 2011 23:37:21 GMT

    [ https://issues.apache.org/jira/browse/TIKA-603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999647#comment-12999647
] 

Andreas Kemkes commented on TIKA-603:
-------------------------------------

I had an issue compiling using

Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.5.0_26
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix"

[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Java heap space
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.OutOfMemoryError: Java heap space
	at sun.util.calendar.Gregorian.newCalendarDate(Gregorian.java:51)
	at java.util.Date.<init>(Date.java:235)
	at java.util.zip.ZipEntry.dosToJavaTime(ZipEntry.java:288)
	at java.util.zip.ZipEntry.getTime(ZipEntry.java:127)
	at aQute.lib.osgi.ZipResource.build(ZipResource.java:50)
	at aQute.lib.osgi.ZipResource.build(ZipResource.java:33)
	at aQute.lib.osgi.Jar.<init>(Jar.java:36)
	at aQute.lib.osgi.Jar.<init>(Jar.java:55)
	at aQute.lib.osgi.Analyzer.getJarFromName(Analyzer.java:741)
	at aQute.lib.osgi.Builder.extractFromJar(Builder.java:750)
	at aQute.lib.osgi.Builder.doIncludeResource(Builder.java:570)
	at aQute.lib.osgi.Builder.doIncludeResources(Builder.java:556)
	at aQute.lib.osgi.Builder.build(Builder.java:69)
	at org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:393)
	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:284)
	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:238)
	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:229)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)

Using MAVEN_OPTS=-Xmx512m mvn install helped.  Can this be added to the maven configuration.

All tests seem to have passed though.

> Tika 0.9 compiles fine but failed a unit test
> ---------------------------------------------
>
>                 Key: TIKA-603
>                 URL: https://issues.apache.org/jira/browse/TIKA-603
>             Project: Tika
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.9
>         Environment: [OSX 10.5.8 + java 1.5.0_26 + mvn 2.2.1]
> [OSX 10.6.5 + java 1.6.0_22 + mvn 2.2.1]
>            Reporter: Zabrane Mickael
>            Priority: Minor
>             Fix For: 1.0
>
>         Attachments: surefire-reports-osx-10.5.8.tbz2, surefire-reports-osx-10.6-5.tbz2
>
>
> See attachement for both surefire reports output.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message