[Issue 3309] New - Exception when a SCM-polled project is deleted

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 3309] New - Exception when a SCM-polled project is deleted

davidmc24-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=3309
                 Issue #|3309
                 Summary|Exception when a SCM-polled project is deleted
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|core
             Assigned to|issues@hudson
             Reported by|davidmc24






------- Additional comments from [hidden email] Wed Mar 18 16:27:01 +0000 2009 -------
I had a project with SCM polling enabled, with a schedule to poll the SCM system
every minute.  I deleted this project.  A little bit after deleting the project,
I received the following stack trace in the Hudson window.  It's possible that
deleting a project doesn't remove pending SCM polling tasks.

Mar 18, 2009 11:53:30 AM hudson.triggers.SCMTrigger$Runner runPolling
SEVERE: Failed to record SCM polling
java.io.FileNotFoundException:
D:\snapshots\175529_CI_P1_ss\Hub3_Admin\CI\hub-hudson\.\work\jobs\175529_CI_P1\scm-polling.log
(The system cannot find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at hudson.util.StreamTaskListener.<init>(StreamTaskListener.java:68)
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:376)
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:417)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3309] Exception when a SCM-polled project is deleted

davidmc24-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=3309



User davidmc24 changed the following:

                What    |Old value                 |New value
================================================================================
                Priority|P4                        |P5
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Mar 18 20:36:16 +0000 2009 -------
My apologies, the issue was in my plug-in.  I created an SCMTrigger instance,
but omitted to call start().  Thus, it was attempting to poll the SCMTrigger
without having a project reference.  This issue can be resolved as INVALID.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3309] Exception when a SCM-polled project is deleted

Alan Harder-2
In reply to this post by davidmc24-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=3309



User mindless changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |INVALID
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Thu Mar 19 05:53:33 +0000 2009 -------
.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3309] Exception when a SCM-polled project is deleted

davidmc24-2
In reply to this post by davidmc24-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=3309



User davidmc24 changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|RESOLVED                  |CLOSED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Jul  8 01:47:09 +0000 2009 -------
Nothing more needed on this ticket.  Let's close it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]