Skip to content

Instantly share code, notes, and snippets.

View marlonroxas's full-sized avatar

Marlon marlonroxas

View GitHub Profile
@marlonroxas
marlonroxas / Google Map React
Created February 27, 2019 12:30
Google Map React
import React, { Component } from 'react'
import PropTypes from 'prop-types'
class GoogleSuggest extends Component {
constructor(props) {
super(props)
this.handleChange = this.handleChange.bind(this)
this.handlePlacesChange = this.handlePlacesChange.bind(this)
this.geocodeLocation = this.geocodeLocation.bind(this)
@marlonroxas
marlonroxas / Error
Last active October 24, 2017 09:35
org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: Can not instantiate value of type [simple type, class java.util.Optional<java.lang.String>] from String value ('Sample reason for dropping'); no single-String constructor/factory method
at [Source: java.io.PushbackInputStream@1796683f; line: 1, column: 28] (through reference chain: com.fintq.lendr.loans.dto.request.LoanApplicationRemarkRequest["reason"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class java.util.Optional<java.lang.String>] from String value ('Sample reason for dropping'); no single-String constructor/factory method
at [Source: java.io.PushbackInputStream@1796683f; line: 1, column: 28] (through reference chain: com.fintq.lendr.loans.dto.request.LoanApplicationRemarkRequest["reason"])
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:229)
<?php
echo "Hello World!"