Activity for Shehar Yar Khan

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    I'm trying to use jackcess-encrypt 3.0.0 now. But this time I'm getting another error as More than one file was found with OS independent path 'com/healthmarketscience/jackcess/index_codes_ext_gen.txt'.

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    I'm trying to use jackcess encrypt in my project but when I try to run it with jackcess 3.0.1 and jackcess encrypt 4.0.1 (I also tried 4.0.0) and i get an error regarding duplicate classes. Here's how my dependencies look: dependencies { implementation 'com.google.code.gson:gson:2.8.8' implementation 'com.healthmarketscience.jackcess:jackcess-encrypt:4.0.1' implementation files('libs/commons-lang3-3.8.1.jar') implementation files('libs/commons-logging-1.2.jar') implementation files('libs/hsqldb-2.5.0.jar')...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    I'm trying to use jackcess encrypt in my project but when I try to run it with jackcess 3.0.1 and jackcess encrypt 4.0.1 (I also tried 4.0.0) and i get an error regarding duplicate classes. Here's how my dependencies look: dependencies { implementation 'com.google.code.gson:gson:2.8.8' implementation 'com.healthmarketscience.jackcess:jackcess-encrypt:4.0.1' implementation files('libs/commons-lang3-3.8.1.jar') implementation files('libs/commons-logging-1.2.jar') implementation files('libs/hsqldb-2.5.0.jar')...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    Ah never mind, I was able to somehow set the system property as System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.Jdk14Logger"); Tho not sure if this was what you meant and if you got a minute then can you please tell me what this line exactly does? I mean how does it let me side step the logging thingie?

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    Thanks for the tip! Any tips on how to do this.... Or any material i could follow On Tue, Oct 5, 2021, 1:28 AM James Ahlborn jahlborn@users.sourceforge.net wrote: actually, you could probably side-step this logic by configuring an explicit log class name for commons logging. i think you could do this by specifying a system property "org.apache.commons.logging.Log" with the value of "org.apache.commons.logging.impl.Jdk14Logger" (i'm assuming android has the standard java logging package available)....

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    actually it was last updated in 2014... really sorry didn't know it was just a wrapper... I added both jackcess and commons lang as well to the proguard... so here's a bit clearer stack trace... the issue still exists tho 2021-10-04 21:13:29.602 8004-8120/com.dev404.dbviewer I/flutter: Received a pre-selected path 2021-10-04 21:13:29.605 8004-8004/com.dev404.dbviewer I/System.out: Received platform method call as: openDB 2021-10-04 21:13:29.605 8004-8004/com.dev404.dbviewer I/System.out: Getting...

  • Shehar Yar Khan Shehar Yar Khan modified a comment on discussion Help

    Hi there, I'm trying to use jackcess 3.0.1 as a dependency in my project. The app runs perfectly in the debug build, however when I tried to run the release build the app crashed as soon as it reaches this line... this.db = DatabaseBuilder.open(new File(this.path)); Am I missing something?

  • Shehar Yar Khan Shehar Yar Khan modified a comment on discussion Help

    Hi there @jahlborn Thanks for your help earlier. A few days earlier I was stuck at the point where my app would crash whenever i try to use DatabaseBuilder.open... Now I'm stuck again, and this time I guess the crashes are occuring due to the minification. The app starts, I move around the UI everything works fine, but as soon as it reaches the line containing the .open command, the app crashes without any crash report. Here are the logs.. 2021-10-03 12:39:38.590 3294-3599/com.dev404.dbviewer I/flutter:...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    Sorry for the lack of the stack trace... Actually i made a beginners mistake (actually i'm new to java)... But what I missed was that I was catching an Exception (and was missing Error catch, didn't know it was a different thing).... So I did get a stack trace after adding an Error catch clause.... which gave me this stack trace 2021-10-04 20:50:44.112 1514-1514/com.dev404.dbviewer I/System.out: Error occuring: java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory 2021-10-04 20:50:44.112...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Open Discussion

    Ah sorry for some reason, didn't receive any notification regarding this post... I basically downloaded the jars and used them and stopped getting the error. However, i'm not sure if that's a good idea.

  • Shehar Yar Khan Shehar Yar Khan modified a comment on discussion Help

    Hi there @jahlborn Thanks for your help earlier. A few days earlier I was stuck at the point where my app would crash whenever i try to use DatabaseBuilder.open... Now I'm stuck again, and this time I guess the crashes are occuring due to the minification. The app starts, I move around the UI everything works fine, but as soon as it reaches the line containing the .open command, the app crashes without any crash report. Here are the logs.. 2021-10-03 12:39:38.590 3294-3599/com.dev404.dbviewer I/flutter:...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    Hi there @jahlborn Thanks for your help earlier. A few days earlier I was stuck at the point where my app would crash whenever i try to use DatabaseBuilder.open... Now I'm stuck again, and this time I guess the crashes are occuring due to the minification. The app starts, I move around the UI everything works fine, but as soon as it reaches the line containing the .open command, the app crashes without any crash report. Here are the logs.. 2021-10-03 12:39:38.590 3294-3599/com.dev404.dbviewer I/flutter:...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    Ah thanks for the time.... and sorry for the trouble... I did figure out where the issue was... The app did have access to the file cause the file was in the app's cache... The issue was with the other packages like hsqld, commons logging and another one missing... On Wed, Sep 29, 2021 at 10:59 PM James Ahlborn jahlborn@users.sourceforge.net wrote: do you have stacktrace for the crash? i'm not an expert in android, but my guess would be that you don't have permissions to open the file in question....

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    Hi there, I'm trying to use jackcess 3.0.1 as a dependency in my project. The app runs perfectly in the debug build, however when I tried to run the release build the app crashed as soon as it reaches this line... this.db = DatabaseBuilder.open(new File(this.path)); Here's my app level build.gradle... def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader)...

  • Shehar Yar Khan Shehar Yar Khan modified a comment on discussion General Discussion

    Edit: Sorry, fixed this one... was due to permissions issue... sorry again :)

  • Shehar Yar Khan Shehar Yar Khan modified a comment on discussion General Discussion

    Edit: Sorry, fixed this one... was due to permissions issue... sorry again :) oh and seems like facing a new issue. The unaccess complains about the file not existing. However, it does exist at the path provided. This is how i am checking if the file exists or not. final String root = the path to the file.... final File file = new File(root); System.out.println(file.exists()) The log says true tho.

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion General Discussion

    oh and seems like facing a new issue. The unaccess complains about the file not existing. However, it does exist at the path provided. This is how i am checking if the file exists or not. final String root = the path to the file.... final File file = new File(root); System.out.println(file.exists()) The log says true tho.

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion General Discussion

    Ah yup, that sort of worked... However, I am a bit confused, cause I tried ucanaccess with JDK 16, 11, as well as 1.8 (Java 8)... but the error remained. However, downgrading it worked.

  • Shehar Yar Khan Shehar Yar Khan modified a comment on discussion General Discussion

    Hi there, I was trying to add ucanaccess to an android project (an empty project with no dependencies). For the purpose, I added the ucanaccess jar along with the dependency jars in the libs folder and added them in the dependecies section of app/build.gradle as: dependencies { implementation files('libs/ucanaccess-5.0.1.jar') implementation files('libs/jackcess-3.0.1.jar') implementation files('libs/hsqldb-2.5.0.jar') implementation files('libs/commons-lang3-3.8.1.jar') implementation files('libs/commons-logging-1.2.jar')...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion General Discussion

    Hi there, I was trying to add ucanaccess to an android project (an empty project with no dependencies). For the purpose, I added the ucanaccess jar along with the dependency jars in the libs folder and added them in the dependecies section of app/build.gradle as: dependencies { implementation files('libs/ucanaccess-5.0.1.jar') implementation files('libs/jackcess-3.0.1.jar') implementation files('libs/hsqldb-2.5.0.jar') implementation files('libs/commons-lang3-3.8.1.jar') implementation files('libs/commons-logging-1.2.jar')...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    Thanks for letting me know... Oh and any plan to include the support for queries? On Monday, August 30, 2021, James Ahlborn jahlborn@users.sourceforge.net wrote: the FAQ entry is indicating that at a certain point in time (1.1.19) jackcess became able to read query definitions within an access database. but, as stated, jackcess cannot execute sql statements. that FAQ entry is up to date. Does jackcess 4.x.x support executing SQL Queries? https://sourceforge.net/p/jackcess/discussion/456474/thread/1fae6f94ff/?limit=25#25ea/a1ed...

  • Shehar Yar Khan Shehar Yar Khan posted a comment on discussion Help

    Sorry if the question was already answered, and the FAQ also mentioned something about the SQL queries. However, i am not sure what that means. And it seems like the FAQ was for 1.1.19 and its been quite a while since jackcess reached 4.x, so i am gonna ask it again. Does jackcess support executing SQL queries now?

  • Shehar Yar Khan Shehar Yar Khan posted a comment on ticket #154

    Ah really sorry about that .. I'm basically new to sourceforge.... I did try that, however, as soon as the app reaches the .open( ) method, it crashes without any exception or error in the logs. I'd be really thankful for any leads. On Sunday, August 29, 2021, James Ahlborn jahlborn@users.sourceforge.net wrote: this would probably be better handled in a post instead of a bug. did you try some of the suggestions here? https://stackoverflow.com/ questions/46989310/commons-logging-defines-classes-that-...

  • Shehar Yar Khan Shehar Yar Khan created ticket #154

    Need suggestions for commons-logging alternative package

1