Skip to content

Instantly share code, notes, and snippets.

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
{
"ns" : "entityResult",
"count" : 710,
"size" : 4406100,
"avgObjSize" : 6205.774647887324,
"storageSize" : 16363520,
"numExtents" : 4,
"nindexes" : 1,
"lastExtentSize" : 12320768,
"paddingFactor" : 1,
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)
lib
--model
----Entity1
----Entity2
----submodel
------Entity1
------Entity2
--rest
----RestClient
--utils
module InitFromHash
def initialize(*args)
args.first.each do |k, v|
unless defined?(k).nil?
result = v.instance_of?(Array) ? v.inject([]) {|arr, v1| arr << init_object(v1, k)} : init_object(v, k)
instance_variable_set("@#{k}", result)
end
end if (args.length == 1 && args.first.is_a?(Hash))
end
[{ "max" : {
"label" : "Maximum",
"value" : "max"
}
},{ "min" : {
"label" : "Minimum",
"value" : "min"
}
},{ "avg" : {
"label" : "Average",
? (172.16.56.255) at FF:FF:FF:FF:FF:FF [ether] on vmnet8
? (192.168.64.255) at FF:FF:FF:FF:FF:FF [ether] on vmnet1
8 total CPUs..
Vendor........Intel
Model.........MacBookPro10,1
Current Mhz...2700
Maximum Mhz...0
Minimum Mhz...0
Cache size....256
Vendor........Intel
Module Plugins
-- Plugins::PluginA (registerAtPluginSystem)
-- Plugins::PluginB (registerAtPluginSystem)
-- Plugins::PluginC (registerAtPluginSystem)
-- Plugins::PluginD (registerAtPluginSystem)
# All Plugins below Module Plugins should call their method registerAtPluginSytem automatically. For example through initialize()
# But how do I achieve, that all Plugins (A-D) call their method initialize(), without calling it specifically.
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaMapppingContext': Cannot create inner bean '(inner bean)' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' is defined
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:282)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
at org.spring
@Document
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY,
property = "@class")
public class ChildOne extends Parent {
private long up;
private long down;
}