You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "larry (JIRA)" <ji...@codehaus.org> on 2005/10/19 15:47:11 UTC

[jira] Created: (MNG-1239) XXXReport.getBundle throws exception when locale doesn't have bundle

XXXReport.getBundle throws exception when locale doesn't have bundle
--------------------------------------------------------------------

         Key: MNG-1239
         URL: http://jira.codehaus.org/browse/MNG-1239
     Project: Maven 2
        Type: Bug
  Components: maven-project-info-reports-plugin  
    Versions: 2.0 (RC)    
 Reporter: larry
 Assigned to: fabrizio giustina 
     Fix For: 2.0


This may happen for each locale different then fr and en.

[INFO] [site:site]
[INFO] ----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Can't find bundle for base name project-info-report, locale es_ES
[INFO] ----------------------------------------------------------------------------
[INFO] Trace
java.util.MissingResourceException: Can't find bundle for base name project-info-report, locale es_ES
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:837)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:700)
        at org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.java:260)
        at org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:80)
        at org.apache.maven.plugins.site.ReportComparator.compare(ReportComparator.java:40)
        at java.util.Arrays.mergeSort(Arrays.java:1284)
        at java.util.Arrays.mergeSort(Arrays.java:1295)
        at java.util.Arrays.sort(Arrays.java:1223)
        at java.util.Collections.sort(Collections.java:159)
        at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:239)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        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:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Sat Oct 15 14:52:35 PDT 2005
[INFO] Final Memory: 6M/11M
[INFO] ----------------------------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1239) XXXReport.getBundle throws exception when locale doesn't have bundle

Posted by "larry (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1239?page=comments#action_48841 ] 

larry commented on MNG-1239:
----------------------------

Cloned issue http://jira.codehaus.org/browse/MNG-1216. I experienced the same issue and disabled the CIM report. But it still fails so this issue seems to be present in all reports.

> XXXReport.getBundle throws exception when locale doesn't have bundle
> --------------------------------------------------------------------
>
>          Key: MNG-1239
>          URL: http://jira.codehaus.org/browse/MNG-1239
>      Project: Maven 2
>         Type: Bug
>   Components: maven-project-info-reports-plugin
>     Versions: 2.0 (RC)
>     Reporter: larry
>     Assignee: fabrizio giustina
>      Fix For: 2.0

>
>
> This may happen for each locale different then fr and en.
> [INFO] [site:site]
> [INFO] ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Can't find bundle for base name project-info-report, locale es_ES
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> java.util.MissingResourceException: Can't find bundle for base name project-info-report, locale es_ES
>         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:837)
>         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
>         at java.util.ResourceBundle.getBundle(ResourceBundle.java:700)
>         at org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.java:260)
>         at org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:80)
>         at org.apache.maven.plugins.site.ReportComparator.compare(ReportComparator.java:40)
>         at java.util.Arrays.mergeSort(Arrays.java:1284)
>         at java.util.Arrays.mergeSort(Arrays.java:1295)
>         at java.util.Arrays.sort(Arrays.java:1223)
>         at java.util.Collections.sort(Collections.java:159)
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:239)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 16 seconds
> [INFO] Finished at: Sat Oct 15 14:52:35 PDT 2005
> [INFO] Final Memory: 6M/11M
> [INFO] ----------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1239) XXXReport.getBundle throws exception when locale doesn't have bundle

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1239?page=all ]
     
Brett Porter closed MNG-1239:
-----------------------------

      Assign To: Brett Porter  (was: fabrizio giustina)
     Resolution: Duplicate
    Fix Version:     (was: 2.0.1)

> XXXReport.getBundle throws exception when locale doesn't have bundle
> --------------------------------------------------------------------
>
>          Key: MNG-1239
>          URL: http://jira.codehaus.org/browse/MNG-1239
>      Project: Maven 2
>         Type: Bug
>   Components: maven-project-info-reports-plugin
>     Versions: 2.0 (RC)
>     Reporter: larry
>     Assignee: Brett Porter

>
>
> This may happen for each locale different then fr and en.
> [INFO] [site:site]
> [INFO] ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Can't find bundle for base name project-info-report, locale es_ES
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> java.util.MissingResourceException: Can't find bundle for base name project-info-report, locale es_ES
>         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:837)
>         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
>         at java.util.ResourceBundle.getBundle(ResourceBundle.java:700)
>         at org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.java:260)
>         at org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:80)
>         at org.apache.maven.plugins.site.ReportComparator.compare(ReportComparator.java:40)
>         at java.util.Arrays.mergeSort(Arrays.java:1284)
>         at java.util.Arrays.mergeSort(Arrays.java:1295)
>         at java.util.Arrays.sort(Arrays.java:1223)
>         at java.util.Collections.sort(Collections.java:159)
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:239)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 16 seconds
> [INFO] Finished at: Sat Oct 15 14:52:35 PDT 2005
> [INFO] Final Memory: 6M/11M
> [INFO] ----------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org