Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1177

Errors in ErrorLog when toggling between projects with Dashboard view active

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.1.8
    • 3.1.7, 3.1.8
    • CEP Plugin
    • None

    Description

      1) Toggle between cloverized projects. Dashboard visible.

      Message: Unexpected URI in the Dashboard view: C:\Users\Marek\.workspace-eclipse-3.4.2\Moneybags\.clover\report\dashboard-eclipse.html

      java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\Users\Marek\.workspace-eclipse-3.4.2\Moneybags\.clover\report\dashboard-eclipse.html
      	at java.net.URI$Parser.fail(Unknown Source)
      	at java.net.URI$Parser.checkChars(Unknown Source)
      	at java.net.URI$Parser.parse(Unknown Source)
      	at java.net.URI.<init>(Unknown Source)
      	at com.cenqua.clover.eclipse.views.dashboard.DashboardLocationListener.changing(DashboardLocationListener.java:62)
      

      2) Right click on a closed project, which was cloverized before. Dashboard view visible.

      Message: Error creating the dashboard

      java.lang.NullPointerException
      	at com.cenqua.clover.eclipse.views.dashboard.DashboardGenerator.execute(DashboardGenerator.java:41)
      	at com.cenqua.clover.eclipse.views.dashboard.DashboardView.generateReport(DashboardView.java:100)
      	at com.cenqua.clover.eclipse.views.dashboard.DashboardView.projectSelected(DashboardView.java:91)
      	at com.cenqua.clover.eclipse.views.dashboard.DashboardView.selectionChanged(DashboardView.java:130)
      	at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
      	at org.eclipse.ui.internal.AbstractSelectionService$2.selectionChanged(AbstractSelectionService.java:71)
      

      3) Cloverized project selected in Package Explorer, Dashboard view opened. Close the selected project.

      Message: Problem generating Dashboard report

      java.lang.NullPointerException
      	at com.cenqua.clover.eclipse.views.dashboard.DashboardView.ensureReportFolderCreated(DashboardView.java:107)
      	at com.cenqua.clover.eclipse.views.dashboard.DashboardView.generateReport(DashboardView.java:97)
      	at com.cenqua.clover.eclipse.views.dashboard.DashboardView$1.run(DashboardView.java:153)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      

      Attachments

        Activity

          People

            mparfianowicz Marek Parfianowicz
            mparfianowicz Marek Parfianowicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: