Coder Social home page Coder Social logo

konachan700 / jnekoimagedb Goto Github PK

View Code? Open in Web Editor NEW
11.0 7.0 3.0 23.74 MB

Tool for tagging and storage images, with save images in the AES256-encryped files.

CSS 12.26% Java 87.74%
image images image-manipulation image-viewer java javafx-8 javafx javafx-desktop-apps javafx-application

jnekoimagedb's Issues

There are some findbugs warnings

Summary

Classes Bugs Errors Missing Classes
113 22 0 0
Files

Class Bugs
jnekoimagesdb.core.img.XImgCrypto 2
jnekoimagesdb.core.img.XImgFS$FileListGenerator 3
jnekoimagesdb.core.img.XImgPreviewGen$PreviewElement 1
jnekoimagesdb.domain.DSImage 2
jnekoimagesdb.domain.DSTag 1
jnekoimagesdb.domain.HibernateUtil 2
jnekoimagesdb.domain.SettingsUtil 4
jnekoimagesdb.ui.controls.PagedFileList 1
jnekoimagesdb.ui.controls.PagedFileList$FileListGenerator 2
jnekoimagesdb.ui.controls.elements.EFileListItem 2
jnekoimagesdb.ui.controls.elements.ETagListItem 1
jnekoimagesdb.ui.controls.elements.EThreadStatItem 1
jnekoimagesdb.core.img.XImgCrypto

Bug Category Details Line Priority
jnekoimagesdb.core.img.XImgCrypto.init(String) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 160 Medium
Write to static field jnekoimagesdb.core.img.XImgCrypto.isAES256Enable from instance method jnekoimagesdb.core.img.XImgCrypto.init(String) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 149 Medium
jnekoimagesdb.core.img.XImgFS$FileListGenerator

Bug Category Details Line Priority
Possible null pointer dereference in jnekoimagesdb.core.img.XImgFS$FileListGenerator.run() due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 76 Medium
Switch statement found in jnekoimagesdb.core.img.XImgFS$FileListGenerator.run() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 51-92 Medium
Unconditional wait in jnekoimagesdb.core.img.XImgFS$FileListGenerator.run() MT_CORRECTNESS UW_UNCOND_WAIT 38 Medium
jnekoimagesdb.core.img.XImgPreviewGen$PreviewElement

Bug Category Details Line Priority
Possible null pointer dereference in jnekoimagesdb.core.img.XImgPreviewGen$PreviewElement.getFileName() due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 107 Medium
jnekoimagesdb.domain.DSImage

Bug Category Details Line Priority
new jnekoimagesdb.domain.DSImage(byte[]) may expose internal representation by storing an externally mutable object into DSImage.MD5 MALICIOUS_CODE EI_EXPOSE_REP2 39 Medium
new jnekoimagesdb.domain.DSImage(byte[], long) may expose internal representation by storing an externally mutable object into DSImage.MD5 MALICIOUS_CODE EI_EXPOSE_REP2 43 Medium
jnekoimagesdb.domain.DSTag

Bug Category Details Line Priority
jnekoimagesdb.domain.DSTag.equals(Object) checks for operand being a String BAD_PRACTICE EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS 72 High
jnekoimagesdb.domain.HibernateUtil

Bug Category Details Line Priority
Incorrect lazy initialization and update of static field jnekoimagesdb.domain.HibernateUtil.util in jnekoimagesdb.domain.HibernateUtil.hibernateInit(String, String, String) MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 70-71 Medium
jnekoimagesdb.domain.HibernateUtil.currSession should be package protected MALICIOUS_CODE MS_PKGPROTECT 27 Medium
jnekoimagesdb.domain.SettingsUtil

Bug Category Details Line Priority
Found reliance on default encoding in jnekoimagesdb.domain.SettingsUtil._getString(String): String.getBytes() I18N DM_DEFAULT_ENCODING 112 High
Found reliance on default encoding in jnekoimagesdb.domain.SettingsUtil._setString(String, String): String.getBytes() I18N DM_DEFAULT_ENCODING 91 High
Found reliance on default encoding in jnekoimagesdb.domain.SettingsUtil.getLong(String, long): String.getBytes() I18N DM_DEFAULT_ENCODING 39 High
Found reliance on default encoding in jnekoimagesdb.domain.SettingsUtil.setLong(String, long): String.getBytes() I18N DM_DEFAULT_ENCODING 52 High
jnekoimagesdb.ui.controls.PagedFileList

Bug Category Details Line Priority
Increment of volatile field jnekoimagesdb.ui.controls.PagedFileList.busyCounter in jnekoimagesdb.ui.controls.PagedFileList.regenerateItemList() MT_CORRECTNESS VO_VOLATILE_INCREMENT 478 Medium
jnekoimagesdb.ui.controls.PagedFileList$FileListGenerator

Bug Category Details Line Priority
jnekoimagesdb.ui.controls.PagedFileList$FileListGenerator.run() forces garbage collection; extremely dubious except in benchmarking code PERFORMANCE DM_GC 192 High
Possible null pointer dereference in jnekoimagesdb.ui.controls.PagedFileList$FileListGenerator.run() due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 152 Medium
jnekoimagesdb.ui.controls.elements.EFileListItem

Bug Category Details Line Priority
jnekoimagesdb.ui.controls.elements.EFileListItem.equals(Object) checks for operand being a java.nio.file.Path BAD_PRACTICE EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS 151 Medium
jnekoimagesdb.ui.controls.elements.EFileListItem.equals(Object) is unusual STYLE EQ_UNUSUAL 150-158 Medium
jnekoimagesdb.ui.controls.elements.ETagListItem

Bug Category Details Line Priority
Unread field: jnekoimagesdb.ui.controls.elements.ETagListItem.isAREMode PERFORMANCE URF_UNREAD_FIELD 39 Medium
jnekoimagesdb.ui.controls.elements.EThreadStatItem

Bug Category Details Line Priority
Unread public/protected field: jnekoimagesdb.ui.controls.elements.EThreadStatItem.ID STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 15 Medium

There are database errors after start program

☆ 1455785036169 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: albums
☆ 1455785036171 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: images
☆ 1455785036173 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: img_alb
☆ 1455785036174 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: img_tag
☆ 1455785036175 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: longpairs
☆ 1455785036177 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: prevsz
☆ 1455785036179 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: stringpairs
☆ 1455785036180 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: tags
☆ 1455785036181 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: albums
☆ 1455785036182 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: images
☆ 1455785036183 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: img_alb
☆ 1455785036184 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: img_tag
☆ 1455785036185 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: longpairs
☆ 1455785036186 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: prevsz
☆ 1455785036187 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: stringpairs
☆ 1455785036188 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: tags
☆ 1455785036189 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: albums
☆ 1455785036190 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: images
☆ 1455785036191 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: img_alb
☆ 1455785036192 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: img_tag
☆ 1455785036192 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: longpairs
☆ 1455785036193 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: prevsz
☆ 1455785036194 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: stringpairs
☆ 1455785036195 INFO [java.sql.DatabaseMetaData]
HHH000262: Table not found: tags

Объясни пожалуйста

Программа как-то перемещает фотографии на диске? Или ты просто задаёшь ей директорию, файлы где лежали, там и лежат, но просто добавляется индекс с тегами?
Если она как-то сама организует фотографии на диске, то как именно она это делает?

There is error when start program

OS: OSX 10.11.3
Java version: java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
Error message:

Feb 17, 2016 2:42:43 PM jnekoimagesdb.ui.JNekoImageDB start
SEVERE: null
java.io.FileNotFoundException: ./default/public.key (No such file or directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:162)
at jnekoimagesdb.core.img.XImgCrypto.init(XImgCrypto.java:159)
at jnekoimagesdb.core.img.XImg.init(XImg.java:86)
at jnekoimagesdb.ui.JNekoImageDB.start(JNekoImageDB.java:145)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(LauncherImpl.java:863)
at com.sun.javafx.application.LauncherImpl$$Lambda$90/1402857099.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl$$Lambda$47/355629945.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl$$Lambda$49/2036286154.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294)
at com.sun.javafx.application.PlatformImpl$$Lambda$48/1915503092.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

Java has been detached already, but someone is still trying to use it at -[GlassRunnable run]:/HUDSON/workspace/8u45-wk/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassApplication.m:93
Java has been detached already, but someone is still trying to use it at -[GlassRunnable dealloc]:/HUDSON/workspace/8u45-wk/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassApplication.m:107

Сломан GUI

Ванильная Windows 10, транк, программа выглядит так
jnidb0
PS Кроме того ещё и куча ворнингов от IDEA аля final на static методах.

Can I run it without JCE?

I do not need encryption.

Can I completely disable the encryption feature of a database from the very beginning?

I don't need the network features either (P2P, comments, likes/dislikes, VK, cloud integration).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.