Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing classes in gbapi.jar #480

Closed
gitblit opened this issue Aug 12, 2015 · 2 comments
Closed

missing classes in gbapi.jar #480

gitblit opened this issue Aug 12, 2015 · 2 comments

Comments

@gitblit
Copy link
Owner

gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 184

When using gbapi.jar and initiating RpcUtils the following Exception is thrown.
As a workaround one can use the full giblet.jar.

Caused by: java.lang.TypeNotPresentException: Type com.gitblit.models.FederationModel
not present
    at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)
    at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
    at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
    at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:50)
    at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:120)
    at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
    at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:50)
    at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:120)
    at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
    at sun.reflect.generics.repository.ClassRepository.getSuperclass(ClassRepository.java:66)
    at java.lang.Class.getGenericSuperclass(Class.java:677)
    at com.google.gson.reflect.TypeToken.getSuperclassTypeParameter(TypeToken.java:84)
    at com.google.gson.reflect.TypeToken.<init>(TypeToken.java:63)
    at com.gitblit.utils.RpcUtils$7.<init>(RpcUtils.java:63)
    at com.gitblit.utils.RpcUtils.<clinit>(RpcUtils.java:63)
    ... 1 more
Caused by: java.lang.ClassNotFoundException: com.gitblit.models.FederationModel
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
    ... 15 more

Reported by markus.foempe on 2013-01-05 13:48:00

@gitblit
Copy link
Owner Author

gitblit commented Aug 12, 2015

Oops.  :(

Reported by James.Moger on 2013-01-05 17:56:30

  • Status changed: Accepted
  • Labels added: Milestone-1.2.1

@gitblit
Copy link
Owner Author

gitblit commented Aug 12, 2015

Fix deployed in 1.2.1

Reported by James.Moger on 2013-01-16 04:25:59

  • Status changed: Fixed

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix modified the milestone: 1.2.1 Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants