Skip to content

Instantly share code, notes, and snippets.

lib
--model
----Entity1
----Entity2
----submodel
------Entity1
------Entity2
--rest
----RestClient
--utils
System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at VMware.SSOAuthentication.VMwareSSOAuthenticationModule.ReadSamlTokenFromAuthHeader(String authHeader)
at VMware.SSOAuthentication.VMwareSSOAuthenticationModule.AuthenticateUser()
at VMware.SSOAuthentication.VMwareSSOAuthenticationModule.OnAuthenticate(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
{
"ns" : "entityResult",
"count" : 710,
"size" : 4406100,
"avgObjSize" : 6205.774647887324,
"storageSize" : 16363520,
"numExtents" : 4,
"nindexes" : 1,
"lastExtentSize" : 12320768,
"paddingFactor" : 1,
org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Unrecognized field "scheduled" (class org.springframework.hateoas.Resource), not marked as ignorable (2 known properties: "content", "links"])
at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@4f2fe2d1; line: 20, column: 32] (through reference chain: org.springframework.hateoas.PagedResources["content"]->org.springframework.hateoas.Resource["scheduled"]); nested exception is com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "scheduled" (class org.springframework.hateoas.Resource), not marked as ignorable (2 known properties: "content", "links"])
at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@4f2fe2d1; line: 20, column: 32] (through reference chain: org.springframework.hateoas.PagedResources["content"]->org.springframework.hateoas.Resource["scheduled"])
at org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.readJava
[INFO] +- org.springframework.data:spring-data-jpa:jar:1.5.0.M1:compile
[INFO] | +- org.springframework.data:spring-data-commons:jar:1.7.0.M1:compile
[INFO] | +- org.springframework:spring-context:jar:4.0.0.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:4.0.0.RELEASE:compile
[INFO] | +- org.springframework:spring-tx:jar:4.0.0.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:3.2.5.RELEASE:compile
dadsadsddsaads
LOGBACK:11:44:36.644 [localhost-startStop-1] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
LOGBACK:11:44:36.651 [localhost-startStop-1] ERROR o.s.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationRepository': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/querydsl/QSort
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553) ~[spring-beans-4.0.0.RELEASE.jar:4.0.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.0.0.RELEASE.jar:4.0.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java
LOGBACK:09:30:04.308 [tomcat-http--4] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolving exception from handler [public org.springframework.hateoas.Resources<?> org.springframework.data.rest.webmvc.RepositoryEntityController.listEntities(org.springframework.data.rest.webmvc.RepositoryRestRequest,org.springframework.data.domain.Pageable,org.springframework.data.domain.Sort) throws org.springframework.data.rest.webmvc.ResourceNotFoundException]: java.lang.NullPointerException
LOGBACK:09:30:04.309 [tomcat-http--4] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Invoking @ExceptionHandler method: public org.springframework.http.ResponseEntity<?> org.springframework.data.rest.webmvc.AbstractRepositoryRestController.handleNPE(java.lang.NullPointerException)
LOGBACK:09:30:04.309 [tomcat-http--4] DEBUG o.s.web.servlet.DispatcherServlet - Null ModelAndView returned to DispatcherServlet with name 'rest-exporter': assuming HandlerAdapter completed request handling
LOGBACK:09:30:04.309 [tomcat-http
VirtualMachineTemplates.Expand(Function(vmt) vmt.GlobalProfiles)
.Where(Function(vmt) vmt.virtualMachineTemplateName = "Desktop - RedHat 5 U5 x64")
.SelectMany(Function(vmt) vmt.GlobalProfiles.GlobalProfileID.toString()).toArray()
/**
* VirtualMachineTemplates manyToMany - GlobalProfiles
*
**/
Error occured processing XML 'tried to access method org.springframework.context.annotation.AnnotationConfigUtils.processCommonDefinitionAnnotations(Lorg/springframework/beans/factory/
annotation/AnnotatedBeanDefinition;)V from class org.springframework.data.repository.config.RepositoryComponentProvider'. See Error Log for more details
<jpa:repositories base-package="de.model.repositories">
<repository:exclude-filter type="aspectj" expression="de.model.nosql.repositories.*"/>
</jpa:repositories>