[oXygen-user] Problems with Find/Replace in Files

Adrian Buza
Mon Mar 28 09:37:55 CDT 2011


Hello,

We are aware of this problem and it has already been fixed in the 
current development stream. The fix will be available in v12.2 of Oxygen.
The problem was caused by an item from the find history of the 
Find/Replace in Files dialog.

There is a workaround for the problem(it resets the find/replace 
history) though I'm guessing it's a bit too late now:
1. Export your current options: Options -> Export Global Options and 
save the XML file to a safe place
2. Reset the options: Options -> Reset Global Options.
3. Open the Find/Replace in Files dialog(CTRL+SHIFT+H) and perform a 
search(Find All). You can cancel it before it finishes.
4. Import your original options: Options -> Import Global Options, 
choose the saved file.
5. Find/Replace in Files should be working again but its find and 
replace history will be reset.

Let us know if the problem persists or if it reappears.

Regards,
Adrian

Adrian Buza
oXygen XML Editor and Author support

Tel: +1-650-352-1250 ext.202
Fax: +40-251-461482

http://www.oxygenxml.com


Tara Athan wrote:
> Thanks for the advice. The error occured just by opening the
> Find/Replace in Files dialog. I tried clearing the configuration
> directory and that worked!
>
> Tara
>
> Barton Wright wrote:
>   
>> Hi Tara,
>>
>> Does the error happen just by opening the Find/Replace dialog, or only when you search for something using that dialog? Are you by any chance searching for a string that contains /0 with the regular expressions check box selected?
>>
>> To restore Oxygen back to a clean starting point, you can try removing its configuration directory, then restarting. First, make sure you have your Oxygen license key safely stored elsewhere, because you will probably have to re-enter it.
>>
>> For Windows XP, that directory is:
>>   C:\Documents and Settings\username\Application Data\com.oxygenxml
>>
>> On Windows 7, the same directory is:
>>   C:\Users\username\AppData\Roaming\com.oxygenxml
>> The AppData directory is hidden by default. You can type %appdata% in the Windows Explorer navigation field as a shortcut to jump there.
>>
>>
>> -----Original Message-----
>> From:  [mailto:] On Behalf Of Tara Athan
>> Sent: Saturday, March 26, 2011 2:15 PM
>> To: 
>> Subject: [oXygen-user] Problems with Find/Replace in Files
>>
>> I am seeing a new problem in oXygen Editor, although I have been using the software for several weeks now and this problem did not arise until I cam close to the deadline for my deliverable :/ It only appears when I try to open the Find/Replace in Files dialog. I depend heavily on Find/Replace in Files, so this error has stopped me in my tracks. See error message below.
>>
>> I tried re-installing oXygen, and also uninstalled some other programs on the chance that they were causing the problem, but so far no luck. 
>> Has anyone else run into this problem and, I hope, found a solutions?
>>
>> I am on Windows XP, with <oXygen/> XML Editor 12.1, build 2011031114
>>
>>
>> The application detected an error that is not automatically handled. It is possible that this error is not critical and the application may continue to work normally but our recommendation is to report the error and restart the application. If the application has become unstable and cannot be closed normally, you can use the Force Quit button from this dialog. Be aware that by doing this you will lose all unsaved changes in the opened documents.
>>
>> Here are the error details:
>>
>> [ AWT-EventQueue-0 ]  -  java.lang.ArithmeticException: / by zero
>> java.lang.ArithmeticException: / by zero
>>     at ro.sync.ui.application.cb$_b.getListCellRendererComponent(Unknown
>> Source)
>>     at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
>>     at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown
>> Source)
>>     at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(Unknown
>> Source)
>>     at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
>> Source)
>>     at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
>> Source)
>>     at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
>> Source)
>>     at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
>>     at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
>>     at
>> javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
>>     at javax.swing.JList.setSelectedIndex(Unknown Source)
>>     at javax.swing.plaf.basic.BasicComboPopup.setListSelection(Unknown
>> Source)
>>     at javax.swing.plaf.basic.BasicComboPopup.access$300(Unknown Source)
>>     at
>> javax.swing.plaf.basic.BasicComboPopup$Handler.itemStateChanged(Unknown
>> Source)
>>     at javax.swing.JComboBox.fireItemStateChanged(Unknown Source)
>>     at javax.swing.JComboBox.selectedItemChanged(Unknown Source)
>>     at javax.swing.JComboBox.contentsChanged(Unknown Source)
>>     at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
>>     at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
>>     at javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
>>     at ro.sync.ui.fd.rbc(Unknown Source)
>>     at ro.sync.find.t.sxh(Unknown Source)
>>     at ro.sync.find.t.cyh(Unknown Source)
>>     at ro.sync.find.t.<init>(Unknown Source)
>>     at ro.sync.find.t.lyh(Unknown Source)
>>     at ro.sync.exml.e.b.vpe(Unknown Source)
>>     at ro.sync.exml.e.b.upe(Unknown Source)
>>     at ro.sync.exml.e.b$1$1.run(Unknown Source)
>>     at ro.sync.ui.mb$1.run(Unknown Source)
>>     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>     at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>>     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>>     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>     at java.awt.EventDispatchThread.run(Unknown Source)
>>
>> --
>> Tara Athan
>> Owner, Athan Ecological Reconciliation Services tara_athan at alt2is.com
>> 707-272-2115 (cell, preferred)
>> 707-485-1198 (office)
>> 249 W. Gobbi St. #A
>> Ukiah, CA 95482
>>
>> _______________________________________________
>> oXygen-user mailing list
>> 
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>   
>>     
>
>
>   




More information about the oXygen-user mailing list