Bug #2855
openImport MS Access feature has problems with read permission
0%
Description
When I tried to import a MS Access database file into Morpho there was no response after selecting the file. the stderr.log reports ..
ImportAccess: Importing an MS Access Database design
Error while getting foreign key information: [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission on 'MSysRelationships'.
Error while getting foreign key information: [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission on 'MSysRelationships'.
Error while getting foreign key information: [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission on 'MSysRelationships'.
Error while getting foreign key information: [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission on 'MSysRelationships'.
java.lang.NullPointerException
at edu.tesc.scidb.MetadataChecker.CreateTdmRep.addColumns(CreateTdmRep.java:127)
at edu.tesc.scidb.MetadataChecker.CreateTdmRep.addTables(CreateTdmRep.java:105)
at edu.tesc.scidb.MetadataChecker.CreateTdmRep.getRep(CreateTdmRep.java:74)
at edu.tesc.scidb.morpho.plugins.ImportMSAccessPlugin.pickDatabase(ImportMSAccessPlugin.java:94)
at edu.tesc.scidb.morpho.plugins.ImportMSAccessPlugin.execute(ImportMSAccessPlugin.java:70)
at edu.ucsb.nceas.morpho.util.GUIAction.actionPerformed(GUIAction.java:410)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)