Re: [nbui] Re: [nbusers] Disaster!!:Renaming Project Action Failed and Deleted all My Source Code Along with no hope of recovery

"Ayodeji Aladejebi" <[email protected]> Wed, 28 May 2008 22:18:44 +0100
Newsgroups gmane.comp.java.ide.netbeans.user,gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Also analyzing my Gesture files and tracking the record around the time when
the problem happened, it was like 4AM

I would have attached the entire gesture file but its quite too big to be
attached so

This is the dump of the Gesture record around that time:

----- beginning of dump---

<record>
  <date>2008-05-28T04:43:13</date>
  <millis>1211946193437</millis>
  <sequence>845</sequence>
  <logger></logger>
  <level>INFO</level>
  <thread>25</thread>
  <message>Premature end of file.</message>
  <exception>
    <message>org.xml.sax.SAXParseException: Premature end of file.</message>
    <frame>

<class>com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper</class>
      <method>createSAXParseException</method>
      <line>195</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper</class>
      <method>fatalError</method>
      <line>174</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.impl.XMLErrorReporter</class>
      <method>reportError</method>
      <line>388</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>com.sun.org.apache.xerces.internal.impl.XMLScanner</class>
      <method>reportFatalError</method>
      <line>1411</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver</class>
      <method>next</method>
      <line>1044</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl</class>
      <method>next</method>
      <line>647</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl</class>
      <method>next</method>
      <line>140</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl</class>
      <method>scanDocument</method>
      <line>508</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.parsers.XML11Configuration</class>
      <method>parse</method>
      <line>807</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.parsers.XML11Configuration</class>
      <method>parse</method>
      <line>737</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>com.sun.org.apache.xerces.internal.parsers.XMLParser</class>
      <method>parse</method>
      <line>107</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>com.sun.org.apache.xerces.internal.parsers.DOMParser</class>
      <method>parse</method>
      <line>225</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>

<class>com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl</class>
      <method>parse</method>
      <line>283</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>org.openide.xml.XMLUtil</class>
      <method>parse</method>
      <line>329</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper</class>
      <method>loadXml</method>
      <line>279</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper</class>
      <method>getConfigurationXml</method>
      <line>235</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper</class>
      <method>getConfigurationDataRoot</method>
      <line>388</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper</class>
      <method>access$1300</method>
      <line>92</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>

<class>org.netbeans.spi.project.support.ant.AntProjectHelper$11</class>
      <method>run</method>
      <line>820</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>

<class>org.netbeans.spi.project.support.ant.AntProjectHelper$11</class>
      <method>run</method>
      <line>818</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>readAccess</method>
      <line>327</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex$1R</class>
      <method>run</method>
      <line>1299</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>doWrapperAccess</method>
      <line>1318</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>readAccess</method>
      <line>275</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper</class>
      <method>getConfigurationFragment</method>
      <line>817</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>

<class>org.netbeans.spi.project.support.ant.ExtensibleMetadataProviderImpl</class>
      <method>getConfigurationFragment</method>
      <line>76</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.modules.project.ant.ProjectLibraryProvider</class>
      <method>getLibrariesLocationText</method>
      <line>388</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.modules.project.ant.ProjectLibraryProvider</class>
      <method>findDefinitions</method>
      <line>366</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.modules.project.ant.ProjectLibraryProvider</class>
      <method>access$700</method>
      <line>94</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>

<class>org.netbeans.modules.project.ant.ProjectLibraryProvider$1PP</class>
      <method>getProperties</method>
      <line>823</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>

<class>org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator</class>
      <method>compose</method>
      <line>890</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>

<class>org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator</class>
      <method>stateChanged</method>
      <line>845</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.WeakListenerImpl$Change</class>
      <method>stateChanged</method>
      <line>319</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.ChangeSupport</class>
      <method>fireChange</method>
      <line>123</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.ChangeSupport</class>
      <method>fireChange</method>
      <line>109</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>

<class>org.netbeans.modules.project.ant.ProjectLibraryProvider$1PP</class>
      <method>configurationXmlChanged</method>
      <line>874</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>sun.reflect.NativeMethodAccessorImpl</class>
      <method>invoke0</method>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>sun.reflect.NativeMethodAccessorImpl</class>
      <method>invoke</method>
      <line>39</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>sun.reflect.DelegatingMethodAccessorImpl</class>
      <method>invoke</method>
      <line>25</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>java.lang.reflect.Method</class>
      <method>invoke</method>
      <line>597</line>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.WeakListenerImpl$ProxyListener</class>
      <method>invoke</method>
      <line>449</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>$Proxy7</class>
      <method>configurationXmlChanged</method>
      <file></file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper$5</class>
      <method>run</method>
      <line>471</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper$5</class>
      <method>run</method>
      <line>467</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>readAccess</method>
      <line>327</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex$1R</class>
      <method>run</method>
      <line>1299</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>doWrapperAccess</method>
      <line>1318</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>readAccess</method>
      <line>275</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper</class>
      <method>fireChange</method>
      <line>466</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper</class>
      <method>access$700</method>
      <line>92</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper$3</class>
      <method>run</method>
      <line>429</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper$3</class>
      <method>run</method>
      <line>428</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>readAccess</method>
      <line>327</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex$1R</class>
      <method>run</method>
      <line>1299</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.api.project.ProjectManager$2$1</class>
      <method>run</method>
      <line>120</line>
      <file>${netBeansDir}modules/org-netbeans-modules-projectapi.jar</file>
    </frame>
    <frame>
      <class>org.openide.filesystems.EventControl</class>
      <method>runAtomicAction</method>
      <line>120</line>
      <file>${netbeans.home}core/org-openide-filesystems.jar</file>
    </frame>
    <frame>
      <class>org.openide.filesystems.FileSystem</class>
      <method>runAtomicAction</method>
      <line>499</line>
      <file>${netbeans.home}core/org-openide-filesystems.jar</file>
    </frame>
    <frame>
      <class>org.openide.filesystems.FileUtil</class>
      <method>runAtomicAction</method>
      <line>215</line>
      <file>${netbeans.home}core/org-openide-filesystems.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.api.project.ProjectManager$2</class>
      <method>execute</method>
      <line>118</line>
      <file>${netBeansDir}modules/org-netbeans-modules-projectapi.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>doWrapperAccess</method>
      <line>1320</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.Mutex</class>
      <method>readAccess</method>
      <line>275</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.netbeans.spi.project.support.ant.AntProjectHelper$4</class>
      <method>run</method>
      <line>443</line>

<file>${netBeansDir}modules/org-netbeans-modules-project-ant.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.RequestProcessor$Task</class>
      <method>run</method>
      <line>561</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
    <frame>
      <class>org.openide.util.RequestProcessor$Processor</class>
      <method>run</method>
      <line>986</line>
      <file>${netbeans.home}lib/org-openide-util.jar</file>
    </frame>
  </exception>
  <exception>
   <message>Occurred at:
file:/G:/My%20Projects/boutick-main-standard/nbproject/project.xml:1</message>
   <more>0</more>
  </exception>
</record>

----- end of dump-----

On 5/28/08, Ayodeji Aladejebi <[email protected]> wrote:
>
> OK,
>
> I run Windows XP Service Pack 2
> Sony Viao 1GB RAM Intel Core Duo Processor 1.6Ghz
> JDK 1.6_05
> Netbeans 6.1
> NB Project Type: Java Application
>
> I have a project named boutick-main
> Now for some reason, I wanted to rename the entire project intoboutick-main-standard
>
> So I fired Netbeans and I mounted the project. It opened the project
> successfully. The project is a bit big, over 200 classes and 50 or more
> Swing Matisse Based Forms
>
> So I right-clicked and selected Rename....
>
> The Rename Project Popup folder came up. the mistake I made was to have
> CHECKED the box telling Netbeans to "Also Rename The Project Folder"
>
> The first thing I noticed was that as the renaming process was progressing,
> the progress bar stopped at about 46% and remained there for more than 1
> hour. I left it as long as it would take and did not bother cancelling it.
>
> When i eventually came back. It gave me the impression that it had
> finished. Only the see that neither the source project folder (
> boutick-main) nor the destination project folder (boutick-main-standard)
> contained my codes anymore, all the source files inside the src folder were
> all gone!
>
> But luckily I had my subversion system functioning so I had to check out my
> code from yesterdays commit. then I retried the process this time but now
> ignoring the CHECKBOX "Also Rename The Project Folder". It succeded.
>
>
>
>


-- 
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: [email protected]
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com

Participate, Collaborate, Innovate
Join Community:
http://www.cowblock.net/

Get A Free Blog:
http://blogs.cowblock.net/