Giter Site home page Giter Site logo

ceridwen-com / ceridwen-standard-interchange-protocol-library Goto Github PK

View Code? Open in Web Editor NEW
22.0 6.0 15.0 4.03 MB

Java Implementation of the 3M SIP2 and NISO SIP3 Protocols for library self-check applications

Home Page: https://software.ceridwen.com/redmine/projects/ceridwen-standard-interchange-protocol-library/

License: GNU General Public License v3.0

Java 100.00%
sip2 library-management-system opac 3m-sip

ceridwen-standard-interchange-protocol-library's People

Contributors

mdovey avatar pranavbhatt avatar xanc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ceridwen-standard-interchange-protocol-library's Issues

Invalid checksum generation

Checksum has variable length (instead of fixed one of 4 chars) as leading zeros are stripped.

E.g. 1804000120200130 135624AB0000185778|AH20181011|AJLe Français accéléré : Ускоренный курс французского языка (с фонограммой) / В.П. Филимонова : Учеб. пособие для школ, гимназий и колледжей с франц. яз. в качестве второго яз. и для самостоятельного изучения.|CF00000|AY2AZ9C9

NoClassDefFoundError exception of [Ljava/beans/PropertyDescriptor]

Hi there, I'm am trying to implement your library to use with KOHA but I keep getting this exception

E/AndroidRuntime: FATAL EXCEPTION: main Process: com.guia.app, PID: 985 java.lang.NoClassDefFoundError: Failed resolution of: [Ljava/beans/PropertyDescriptor; at org.apache.commons.beanutils.DefaultIntrospectionContext.<clinit>(DefaultIntrospectionContext.java:40) at org.apache.commons.beanutils.PropertyUtilsBean.fetchIntrospectionData(PropertyUtilsBean.java:2241) at org.apache.commons.beanutils.PropertyUtilsBean.getIntrospectionData(PropertyUtilsBean.java:2226) at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:954) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:498) at com.ceridwen.circulation.SIP.messages.Message.encode(Message.java:307) at com.ceridwen.circulation.SIP.messages.Message.encode(Message.java:285) at com.ceridwen.circulation.SIP.transport.Connection.send(Connection.java:215) at com.guia.app.activities.TestActivity$performCheckOut$1$1.invokeSuspend(TestActivity.kt:65) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at android.os.Handler.handleCallback(Handler.java:761) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6617) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832) Caused by: java.lang.ClassNotFoundException: Didn't find class "java.beans.PropertyDescriptor" on path: DexPathList[[zip file "/data/app/com.guia.app-1/base.apk"],nativeLibraryDirectories=[/data/app/com.guia.app-1/lib/arm64, /system/lib64, /vendor/lib64, /system/vendor/lib64, /product/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:380) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at org.apache.commons.beanutils.DefaultIntrospectionContext.<clinit>(DefaultIntrospectionContext.java:40)  at org.apache.commons.beanutils.PropertyUtilsBean.fetchIntrospectionData(PropertyUtilsBean.java:2241)  at org.apache.commons.beanutils.PropertyUtilsBean.getIntrospectionData(PropertyUtilsBean.java:2226)  at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:954)  at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:498)  at com.ceridwen.circulation.SIP.messages.Message.encode(Message.java:307)  at com.ceridwen.circulation.SIP.messages.Message.encode(Message.java:285)  at com.ceridwen.circulation.SIP.transport.Connection.send(Connection.java:215)  at com.guia.app.activities.TestActivity$performCheckOut$1$1.invokeSuspend(TestActivity.kt:65)  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)  at android.os.Handler.handleCallback(Handler.java:761)  at android.os.Handler.dispatchMessage(Handler.java:98)  at android.os.Looper.loop(Looper.java:156)  at android.app.ActivityThread.main(ActivityThread.java:6617)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)

it is triggered by the following lines from your example

scStatusResponse = connection.send(scStatusRequest) and checkOutResponse = connection.send(checkOutRequest)

Do you have any idea what might it be that is causing this issue?
Thanks in advance

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.