Error: 'Database handles still open at environment close'

Hello,
I have read information about this error, but I cannot solve it.
I think I have closed all objects that I use, but the error appears.
When I remove next code, the error doesn't appear:
while (xmlValue != null) {
XmlDocument theDoc = xmlValue.asDocument();
String docName = theDoc.getName();
String docString = xmlValue.asString();
String message = "Document ";
message += theDoc.getName() + ":\n";
message += xmlValue.asString();
message += "===============================\n";
System.out.println(message);
xmlValue = results.next();
theDoc.delete();
The error:
Database handles still open at environment close
Open database handle: myContainer.dbxml/secondary_document_statistics_string
Open database handle: myContainer.dbxml/secondary_document_index_string
Open database handle: myContainer.dbxml/node_nodestorage
Open database handle: myContainer.dbxml/secondary_document
Open database handle: myContainer.dbxml/secondary_dictionary
Open database handle: myContainer.dbxml/primary_dictionary
Open database handle: myContainer.dbxml/secondary_sequence
Open database handle: myContainer.dbxml/secondary_configuration
Exception in thread "main" java.lang.IllegalArgumentException: Invalid argument
at com.sleepycat.db.internal.db_javaJNI.DbEnv_close0(Native Method)
at com.sleepycat.db.internal.DbEnv.close0(DbEnv.java:217)
at com.sleepycat.db.internal.DbEnv.close(DbEnv.java:77)
at com.sleepycat.db.Environment.close(Environment.java:39)
at berkeleydbxml.Test1.main(Test1.java:137)
Java Result: 1
The code:
public static void main(String[] args) {
Environment myEnv = null;
File envHome = new File("C:/extranet/tecnologias/BerkeleyDBXML/Java/BerkeleyDBXML/dbxml");
XmlManager myManager = null;
XmlContainer myContainer = null;
XmlQueryContext context = null;
try {
EnvironmentConfig envConf = new EnvironmentConfig();
envConf.setAllowCreate(true); // If the environment does not
// exits, create it.
envConf.setInitializeCache(true); // Turn on the shared memory
// region.
envConf.setInitializeLocking(true); // Turn on the locking subsystem.
envConf.setInitializeLogging(true); // Turn on the logging subsystem.
envConf.setTransactional(true); // Turn on the transactional
// subsystem.
myEnv = new Environment(envHome, envConf);
XmlManagerConfig managerConfig = new XmlManagerConfig();
myManager = new XmlManager(myEnv, managerConfig);
XmlContainerConfig containerConf = new XmlContainerConfig();
containerConf.setTransactional(true);
containerConf.setAllowCreate(true);
String containerName = "myContainer.dbxml";
myContainer = myManager.openContainer(containerName, containerConf);
// Get a query context
context = myManager.createQueryContext();
// Declares namespaces
// Default namespace
context.setNamespace("", "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2");
context.setNamespace("cac", "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2");
context.setNamespace("cbc", "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2");
context.setNamespace("ccts", "urn:un:unece:uncefact:documentation:2");
context.setNamespace("ext", "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2");
context.setNamespace("qdt", "urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2");
context.setNamespace("udt", "urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2");
// Declare the query string
String myQuery =
"collection('myContainer.dbxml')/Invoice";
// Prepare (compile) the query
XmlQueryExpression qe = myManager.prepare(myQuery, context);
// Run the query. Note that you can perform this query many times
// without suffering the overhead of re-creating the query expression.
// Notice that the only thing we are changing is the variable value,
// which allows us to control exactly what gets returned for the
// query.
XmlResults results = qe.execute(context);
// Display the result set
XmlValue xmlValue = results.next();
while (xmlValue != null) {
XmlDocument theDoc = xmlValue.asDocument();
String docName = theDoc.getName();
String docString = xmlValue.asString();
String message = "Document ";
message += theDoc.getName() + ":\n";
message += xmlValue.asString();
message += "===============================\n";
System.out.println(message);
xmlValue = results.next();
theDoc.delete();
xmlValue.delete(); <-- the error happens here
qe.delete();
results.delete();
} catch (DatabaseException de) {
// Exception handling goes here
int i = 1;
} catch (FileNotFoundException fnfe) {
// Exception handling goes here
int i=1;
} catch (Exception e) {
// Exception handling goes here
int i = 2;
} finally {
try {
if (myContainer != null) {
myContainer.close();
if (myManager != null) {
myManager.close();
if (myEnv != null) {
myEnv.close();
} catch (DatabaseException de) {
// Exception handling goes here
If I remove the xmlValue.delete() sentence, the error appears in myEnv.close().
I use berkeley 2.3.10 version, Windows XP.
Thanks.

I am having a similar problem. My method:
protected void searchQuestions(String keyword) throws LibraryException {
XmlQueryContext xqc = null;
XmlResults xr = null;
XmlQueryExpression xqe = null;
String[] qids = null;
String query = "collection()/*[contains(question, '" + keyword + "')]";
try {
conQuestions = man.openContainer(QUESTION_CONTAINER);
xqc = man.createQueryContext();
xqc.setDefaultCollection(QUESTION_CONTAINER);
xqe = man.prepare(query, xqc);
xr = xqe.execute(xqc);
conQuestions.delete();
xqc.delete();
xqe.delete();
XmlValue val = xr.next();
while (val != null) {
String name = val.asDocument().getName();
System.out.println(name);
val = xr.next();
val.delete(); <-- PROBLEM HERE
xr.delete();
} catch (XmlException xe) {
throw new LibraryException("Unable to search for questions. " + xe.getMessage());
If I leave the val.delete() line then I get a java.lang.NullPointerException but if I remove it then I get an error stating 'Database handles still open at environment close'. I run a clean up method after the previous method as follows:
protected void close() {
if(conQuizes != null)
conQuizes.delete();
if(conQuestions != null)
conQuestions.delete();
if(conUsers != null)
conUsers.delete();
if(man != null)
man.delete();
I have many other methods that interact with containers perfectly but this is the only one where I use the XmlValue class. I tried the solution that worked for brais.mendez with no luck. Any advise or ideas would be much appreciated.
Thanks,
Matt

Similar Messages

  • My Itunes continues to have an error when trying to open and Windows closes the program. I have uninstalled and re-installed several times but continue to get the same error. HELP?

    Windows shuts down my itunes evrytime I try to open it because of an error. I have unistalled and re-installed several times with the same results. HELP???

    what's the error specifically
    or does it say itunes has encountered a problem and needs to close because if that's the case then try these steps
    -download and install quicktime at the apple website
    or
    http://support.apple.com/kb/TS1717

  • I am having troubles, when I open LR I get a message that there is an error and it will try to fix the error next time it opens, but I get the error next time it opens, and this is going on and on where I can not use LR, any suggestions?

    I am having troubles, when I open LR I get a message that there is an error and it will try to fix the error next time it opens. LR closes on it's own, I reopen it and get that same message next time it opens, and this is going on and on where I can not use LR, any suggestions? If I click on a different set of photos in the libary before I get that message I might or might not get the message next time it oipens, but I still can not get to those photos, and it is not just one or two but most of my photos. HELP!!!!
    Thanks
    Carol

    The first thing I would suggest is for you to go to the folder containing your catalog, using your system browser. There will be a folder that has the extension .lrdata. Delete that folder, and then try to start Lightroom. If that doesn't work, replace your catalog with your most recent backup.

  • Delivery document is still open even already invoiced

    Good day! Could anyone help me on this?
    Here is the scenario:
    A new delivery document was created based in sales order. The delivery undergoes to approval procedure and then approved.
    Upon posting of the delivery doc and after past few days, sales return was requested. So, sales return was processed and successfully posted based in that delivery doc, but later that day another sales return was requested and did same procedure (successful).
    Two sales return was created based in that delivery doc and both SR were 'closed' while the delivery doc is still open, now to close that DR an invoice doc is required. Invoice was made base again in that DR and successfully posted. Expectedly, the DR should close but apparently it doesn't close. Why is that? Or did I miss something that would close that DR?
    Thanks in advance!

    Hi Nagesh,
    Yes your right, all marketing docs undergone with approval procedure are all saved as Draft until it was approved by the approver and then posted by the originator and that is the only time DR or any marketing docs should be called as official/posted transaction.
    Going back to my scenario, what I mentioned was approved and posted meaning the transaction was officially saved and undergone with the normal module flow SO->DR->SR->SI.
    And my concern was focused on why DR is still open even already invoiced.
    Correct me if I'm wrong, DR will still remain 'Open' only if the item total qty was not yet invoiced. For example:
    DR1              QTY            Amount
    Item 1             10              100
    SI
    Item 1              8                80
    Thanks,
    Rhod

  • I can't down load itunes. I get an error message, NTVDM has encountered a System Error The handle is invalid.

    16 bit MS-DOS Subsystem
    C:\WINDOWS\system32\msiexec.ex NTVDM has encountered a System Error The handle is invalid.
    Choose 'Close' to terminate tha application.
    Close   Ignore

    Okay. It seems unlikely to be the class of similar problems caused by various Symantec programs blocking installs.
    It's a bit of a mystery in the first place why the 16 bit DOS subsystem is running in this context. (The iTunes installer is 32-bit on XP machines.)
    Just in case it's a damaged NTVDM, perhaps try an sfc /scannow:
    http://www.updatexp.com/scannow-sfc.html
    Does that clear up the error?

  • Oracle JDBC Thin-Driver: Connection still valid (db still open)?

    Hi,
    I've got a problem with my program. The app opens a connection to an Oracle Database usingt the Oracle JDBC Thin.Driver. Everything works just fine but I can't figure out a way how to find out wheter the connection is still valid, e.g. if the database is still open?
    connection.isClosed() return always false :(
    Any help is appreciated.
    Thanks,
    Spaulding

    Hi oracle_guru,
    unfortunately it's not that easy. :(
    You can't just check for
    if(conn == null)since the connection won't realize when the db shuts down.
    Therefore I created a connection-watcher-thread which uses a prepared statement to check every once in while if the connection is still valid.
    Nevertheless, thanks for you reply,
    Spaulding

  • Using Adobe 11 reader, now comes up with an error, once file is opened. 'Invalid plugin detected, Adobe reader will quit. Closes the program so cannot view PDF files. Running windows 7. I have uninstalled and re-installed Adobe still the same. HELP

    Using Adobe 11 reader, now comes up with an error, once file is opened. 'Invalid plugin detected, Adobe reader will quit. Closes the program so cannot view PDF files. Running windows 7. I have uninstalled and re-installed Adobe still the same. HELP

    Sounds like something has been added into the Reader folder. I would recommend uninstalling, running http://labs.adobe.com/downloads/acrobatcleaner.html, removing any left over parts of the Reader folder (this might have been the problem), reboot, and reinstall. Hopefully that solves the problem. For future question about Reader, you should consider asking in the Reader forum, this is not it.

  • Can't delete file after renaming due to Word file handle still present. Error staes document is still in use but it's really not. Worked fine in 2007 but not in 2010.

    I have some code associated with a Word Template. The template is opened, filled out and saved via a routing in vba. This all works fine in older 2007 version (which is version it was originally created in). Once this file is saved, the user can change the
    date in a text box and re-save document. The code saves using the new date for part of new file name and then deletes that older file from the server. It fails at the delete function because the newer version of word is not dropping the file handle from the
    first named file when user saves it to the new filename. In older version (2007) this handle was released as soon as file was saved to a different name. I can't seem to figure out how to release the old document filename so the old document file can be deleted.
    I hope I explained this well enough.
    Here's the code that woeked in version 2007 but fails in version 2010.
    Option Explicit
    Dim CAPEX01 As MSForms.ComboBox
    Dim CAPEX02 As MSForms.ComboBox
    Dim LocalPath As String
    Dim NetPath As String
    Dim OldPath As String
    Dim OldPathNet As String
    Dim DocName01 As String
    Dim DocName02 As String
    Dim DocName03 As String
    Dim DocName04 As String
    Dim DocName As String
    Dim DocNameold As String
    Dim TestDocName As String
    Dim filesys
    Dim newfolder
    Sub AutoOpen()
    ActiveDocument.ActiveWindow.View.Type = wdPrintView
    TestDocName = ActiveDocument.TextBox2
    OldPathNet = "\\yourPath\" & TestDocName & "\"
    End Sub
    Sub AutoNew()
    TestDocName = ActiveDocument.TextBox2
    OldPathNet = "\\yourPath\" & TestDocName & "\"
     ComboBox1.Locked = False
     ComboBox1.Enabled = True
     FillList1
     FillList2
     End Sub
    Sub DeleteOldDoc()
    OldPathNet = "\\yourPath\" & TestDocName ' & "\"
    DocNameold = OldPathNet & TestDocName & "-" & DocName02 & "-" & DocName03 & "-" & DocName04 & ".doc"
        If Not TestDocName = DocName01 Then
            Set filesys = CreateObject("Scripting.FileSystemObject")
        If filesys.FileExists(DocNameold) Then
            filesys.DeleteFile (DocNameold), True      
     'I get file permission error here
        End If
        End If
    If DocName01 <> "" Then
    If Not TestDocName = DocName01 Then
    If Not TestDocName = "" Then
        MsgBox "Project Proposal Has Been Moved From Year " & TestDocName & " To " & DocName01 & ""
    End If
    End If
    End If
    TestDocName = DocName01
    End Sub
    '''''''Document path functions''''''
    Sub chkpath()
    Set filesys = CreateObject("Scripting.FileSystemObject")
    If Not filesys.FolderExists("\\yourPath\") Then
       newfolder = filesys.CreateFolder("\\yourPath\")
    End If
    If Not filesys.FolderExists("\\yourPath\" & DocName01 & "\") Then
        newfolder = filesys.CreateFolder("\\yourPath\" & DocName01 & "\")
    End If
    End Sub
    ''''''Save Function''''''
    Private Sub CommandButton1_Click()
    DocName01 = ActiveDocument.TextBox2
    DocName02 = ActiveDocument.TextBox4
    DocName03 = ActiveDocument.TextBox1
    DocName04 = ActiveDocument.ComboBox1.Value
    chkpath
    NetPath = "\\yourPath\" & DocName01 & "\"
    DocName = NetPath & DocName01 & "-" & DocName02 & "-" & DocName03 & "-" & DocName04
    ActiveDocument.SaveAs2 FileName:=DocName, FileFormat:=wdFormatDocument
     ComboBox1.Locked = True
     ComboBox1.Enabled = False
     ComboBox2.Locked = True
     ComboBox2.Enabled = False
     TextBox1.Locked = True
     TextBox1.Enabled = False
     TextBox3.Locked = True
     TextBox3.Enabled = False
     TextBox4.Locked = True
     TextBox4.Enabled = False
     DeleteOldDoc
    End Sub
    Sub FillList1()
    Set CAPEX02 = ActiveDocument.ComboBox2
      With CAPEX02
          .AddItem "CASTING", 0
          .AddItem "HOT ROLLING", 1
          .AddItem "COLD ROLLING", 2
          .AddItem "FINISHING", 3
          .AddItem "PLANT GENERAL", 4
          .AddItem "MOBILE EQUIPMENT", 5
      End With
    End Sub
     Sub FillList2()
     Set CAPEX01 = ActiveDocument.ComboBox1
      With CAPEX01
          .AddItem "A Name", 0
          .AddItem "Another Name", 1
      End With
    End Sub
    Private Sub CommandButton2_Click()
        UserForm1.Show
    End Sub

    mogulman52 and Don,
    I went back and looked at my code and had already updated it to SaveAs in the new docx format. It still holds the lock handle in place until Word closes, unlike earlier versions which released the lock handle when you did a SaveAs.
    As a note, all my Word and Excel macro-enabled (dotm & xltm) templates are read only and are never filled in, prompting the user for a file name on any close event or if they run the code gets auto-named. I do the SaveAs and concatenate the file name
    from data on the document (or sheet) that has been filled in. During the SaveAs the docx gets saved to a network folder and also on a local folder. The lock gets renamed to the filename and remains until Word is closed.
    So my code still fails at the point noted below while trying to delete an old filename version after the file has been saved as a new filename in a new folder. So....
    The code is looking in the last folder where the docx file was saved for the older filename so it can be deleted. The newest docx version has already been saved in a different folder and has a new lock handle of its own. That lock is not my problem, it's
    the older file lock which really exists in the same folder as the first filename that the docx was saved to. It does not release that lock until I exit Word. My work around has been to instruct all users to manually delete the older version file.
    The other odd thing is this only happens when I run it from code, if you manually go through these steps with the SaveAs menu drop-downs in Word it will release the lock handle???
    Hope this isn't to confusing and thanks for all your suggestions and help.
    Sub DeleteOldDoc()
    OldPathNet = "\\yourPath\" & TestDocName ' & "\"
    DocNameold = OldPathNet & TestDocName & "-" & DocName02 & "-" & DocName03 & "-" & DocName04 & ".doc"
    If Not TestDocName = DocName01 Then
    Set filesys = CreateObject("Scripting.FileSystemObject")
    If filesys.FileExists(DocNameold) Then
    filesys.DeleteFile (DocNameold), True 'I get file permission error here- lock handle is still present from last SaveAs command in last folder where previous version of file was saved.
    End If
    End If
    If DocName01 <> "" Then
    If Not TestDocName = DocName01 Then
    If Not TestDocName = "" Then
    MsgBox "Project Proposal Has Been Moved From Year " & TestDocName & " To " & DocName01 & ""
    End If
    End If
    End If
    TestDocName = DocName01
    End Sub
    Glenn

  • How do I close all the apps that are still open?

    How do I close all the apps that are still open?

    You don't need to.
    The "task bar" that Demo mentions above is not, in fact, a task bar at all - it is the Recently Used Apps list. Not all of the apps in this list are open, running or in memory.
    iOS automatically handles closing apps that are not in use, so you don't have to manually manage them.
    Read this article from Apple for more information: http://support.apple.com/kb/HT4211

  • Database is not Opening. Errors are coming due to Copy Mismatch of Log file

    Hello Friends,
    I did some mistakes and deleted all log files after closing SAP QAS System.
    I was trying to Resizing the Redo Log files, as per as SNOTE 309526.
    All control files are consistent. Only due to Log File mismatch, Database is not Opening.
    Here, is the error.
    ERROR at line 1:
    ORA-00322: log 14 of thread 1 is not current copy
    ORA-00312: online log 14 thread 1: '/oracle/RQ1/mirrlogB/log_g14m2.dbf'
    ORA-00322: log 14 of thread 1 is not current copy
    ORA-00312: online log 14 thread 1: '/oracle/RQ1/origlogB/log_g14m1.dbf'
    In working condition, Previously the file was with this name log_g11m1.dbf......
    I had replaced all the files, which i had backedup ,before deleting those Log files. But, still this kind of error is coming.
    I tried to "reset log", but it failed.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    I did all the activities after Closing SAP System.
    I want your Quick help, as its critical for me.
    Regards
    Bhavik Shroff
    Edited by: Bhavik G. Shroff on Nov 8, 2008 3:49 PM

    Hello Bhavik,
    with your given information (the query from above and the posted ORA-errors) - unfortunately i have to say .. you are almost lost, i really advise you to get professional support on your system for that.  Let me explain why.
    The information from the query
    SQL> SELECT * FROM V$LOG;
    GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS           FIRST_CHANGE# FIRST_TIM
        11          1      22292  104857600          2 NO  INVALIDATED      156909413     08-NOV-08
        13          1          0  104857600          2 YES UNUSED           0             08-NOV-08
        14          1      22291   20971520          2 YES ACTIVE           156909138     08-NOV-08
    SQL> SELECT * FROM V$LOGFILE;
    GROUP# STATUS  TYPE    MEMBER
    11         ONLINE  /oracle/RQ1/origlogA/log_g11_m1.dbf
    11         ONLINE  /oracle/RQ1/mirrlogA/log_g11_m2.dbf
    13         ONLINE  /oracle/RQ1/origlogA/log_g13_m1.dbf
    13         ONLINE  /oracle/RQ1/mirrlogA/log_g13_m2.dbf
    14         ONLINE  /oracle/RQ1/origlogB/log_g14m1.dbf
    14         ONLINE  /oracle/RQ1/mirrlogB/log_g14m2.dbf
    and the ORA-00322 error:
    ORA-00322: log 14 of thread 1 is not current copy
    ORA-00312: online log 14 thread 1: '/oracle/RQ1/mirrlogB/log_g14m2.dbf'
    ORA-00322: log 14 of thread 1 is not current copy
    As you can see your online redo log group 14 has the status ACTIVE, that means that this online redolog files are needed for a crash recovery (not all needed data was already flushed to the data files), but the files from the online redo log group 14 are lost (deleted accidentally). But you have really luck that this online redologfile is already archived (see query ARC = YES) so you must have a archivelog file with the sequence number 22291.
    The problem in your case is that the recover is performed through the online redolog files (normally done by a complete recovery), but the online redolog files are already deleted. To fix this issue you have to restore an older backup and make a recover trough the archive log files (including the sequence 22291 which was already archived) and not through the online redolog groups.
    At this point this is the only way to get a running database again (but maybe with data lost).
    The other serious problem is the redolog group 11, it seems like this group was the CURRENT redolog (take a look at the sequence and the SCNs) and you will lose this data.
    I can imagine that the database was not shutdown clearly at the moment of the redolog file deletion - the most indications are pointing to this.
    Sorry that i have no better news for you.. please get professional support who can execute the necessary steps for you.
    Regards
    Stefan

  • TS3212 Still unable to download itunes to my pc. Tried with IE, Mozilla and Google Chrome. Keep getting an error message :"Windows cannot open itunes.exe the file is corrupt contact support."previous itunes files were wipped out by "disk cleaner." Any hel

    Still unable to download itunes to my pc. Tried with IE, Mozilla and Google Chrome. Keep getting an error message :"Windows cannot open itunes.exe the file is corrupt contact support."previous itunes files were wipped out by "disk cleaner." Any help??
    Please!
    Thanks!

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • I am trying to update Mozilla on my computer, but every time I try, it tells me to close Mozilla, even when it is. Is there a way to see if something is still open?

    Mozilla keeps telling me to download its newest version. So I go to do it. I save the file, click on run, then the Mozilla downloading wizard comes up. I keep on clicking "Next" until the it gives me the option of downloading with common settings or customizing my own settings. I click next and then it checks my existing installation. It tells me to close Mozilla. That's all it says. Close Mozilla. So I do. Then I click next again, it checks my installation again, then says I must close Mozilla. After I closed it. I suspect there's an add-on or a widget that is still open, I don't how to check what's still open. And if that's not the problem, then what is?!

    Hi there,
    You may want to take a look at the troubleshooting steps found in the article below.
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    -Griff W.

  • I keep getting error message, "can't open application PACE because PowerPC applications are no longer supported." I've run Clean My Mac and I still get the error.

    I keep getting error message, "can't open application PACE because PowerPC applications are no longer supported." I've run Clean My Mac and I still get the error.

    Use the Finder "Go" menu while holding down the option key to expose your User / Library folder.
    Look in the Application Support folder for PACE items and delete them.

  • Exception Handling for OPEN DATA SET and CLOSE DATA SET

    Hi ppl,
    Can you please let me know what are the exceptions that can be handled for open, read, transfer and close data set ?
    Many Thanks.

    HI,
    try this way....
      DO.
        TRY.
        READ DATASET filename INTO datatab.
          CATCH cx_sy_conversion_codepage cx_sy_codepage_converter_init
                cx_sy_file_authority cx_sy_file_io cx_sy_file_open .
        ENDTRY.
    READ DATASET filename INTO datatab.
    End of changes CHRK941728
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          APPEND datatab.
        ENDIF.
      ENDDO.

  • W/zoteroinstalledwedo a window,open() followed by a window.close() in tha window. Zotero remains and the window is still open. How do I close the window with zotero present in FF w/o disabling zotero?

    the js function to window.open() is in pageAA on a tab.
    We click the form or link to open the popup to run a video.
    We have a close button on the popup window.
    When that is clicked the window.close() js is executed on that page leaving Zotero present and the popup still open.
    We've tried using close() window.close() name.window.close() and
    all fail the same way.
    Short of disabling Zotero is there a way to close the popup in FF and any other addons with one shot?

    Thank's but still no fix.
    In safe mode everything works.
    Without Zotero - everything works.
    When the popup is loaded with Zotero, the tab shows a constant "Loading" with the circular in process icon.
    The Zotero icon shows to the left of the tab.
    If I right click on Zotero and close it, the close() js works properly
    Is there a way to do a window.open() with:
    A. no tabs -or-
    B. block all add on's -or-
    C. to kill an add on
    before doing the close()?

Maybe you are looking for