Skip to content

Instantly share code, notes, and snippets.

View nyilmaz's full-sized avatar

Nurettin Yılmaz nyilmaz

View GitHub Profile
[#|2014-06-05T19:15:33.954+0300|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpSSLWorkerThread-8090-2;_RequestID=4b01896e-1e2b-483f-8cc8-736860ec94f6;|
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1070)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:859)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:852)
at java.text.DateFormat.format(DateFormat.java:316)
at com.magnet.accounting.xml.NewVoucherServiceBean$1.mapRow(NewVoucherServiceBean.java:116)
at com.magnet.accounting.xml.NewVoucherServiceBean$1.mapRow(NewVoucherServiceBean.java:80)
at org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:92)
at org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:60)
@Override
public RequestMappingInfoAppendableHandlerMapping requestMappingHandlerMapping() {
RequestMappingInfoAppendableHandlerMapping requestMappingHandlerMapping = new RequestMappingInfoAppendableHandlerMapping();
if(matchGeneralConfiguration.getV4Enabled()) {
requestMappingHandlerMapping = new V4RequestMappingHandlerMapping();
mLogger.info("V4 configuration enabled. Only V4Controllers will be registered.");
}
requestMappingHandlerMapping.setOrder(0);
requestMappingHandlerMapping.setInterceptors(getInterceptors());
package match.restfulmobile.services;
import org.springframework.http.*;
import java.net.URI;
import java.util.Set;
/**
* @author nyilmaz
*/
$(function () {
$(document).ajaxSend(function(event, jqxhr, settings) {
if(settings.type === 'POST') {
var _csrf = $('meta[name="_csrf"]').attr('content');
var _csrf_header = $('meta[name="_csrf_header"]').attr('content');
if(_csrf && _csrf_header){
jqxhr.setRequestHeader(_csrf_header, _csrf);
} else {
package match.mycron.web.job.crawler;
import com.google.common.collect.Maps;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.client.methods.RequestBuilder;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
import org.apache.http.util.EntityUtils;
var infiniteScroll = {
defaults: {
url: undefined, // ajax requesti yapilacak url
initialOffset: 0, // baslangictaki offset (orn sayfada halihazirda 3 tane gosterilmistir bu durumda initialOffset 3 verilmeli)
offsetIncrement: 5, // her ajax requestinde kac eleman istenecegi
containerSel: undefined, // append edilecek container
loadingElemSel: '#ajaxLoading', // ajax requesti yapilirken cikacak gorsel
allShownElemSel: '#allLoaded' // butun elemanlar gosterildiginde (ie sayfa sonunda) cikacak gorsel
},
insert into bundle (resource_id,`key`,`value`) values (100, 'metaVerify_v1.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'googleKey.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'mainpageMsg1.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'landingpage_mostCrowdedDatinSite.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'domain.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'domainehali.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'landingpage_onlyForThisCityTitle.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'landingpage_collageTitle1.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'landingpage_collageTitle2.', '');
insert into bundle (resource_id,`key`,`value`) values (100, 'landingpage_onlyForThisCityBody.', '');
var infiniteScroll = {
defaults: {
url: undefined, // ajax requesti yapilacak url
initialOffset: 0, // baslangictaki offset (orn sayfada halihazirda 3 tane gosterilmistir bu durumda initialOffset 3 verilmeli)
offsetIncrement: 5, // her ajax requestinde kac eleman istenecegi
containerSel: undefined, // append edilecek container
loadingElemSel: undefined, // ajax requesti yapilirken cikacak gorsel
allShownElemSel: undefined // butun elemanlar gosterildiginde (ie sayfa sonunda) cikacak gorsel
},
1.584333 10.10.140.4 -> 10.10.140.131 HTTP GET / HTTP/1.1 Continuation or non-HTTP traffic
1.618044 10.10.140.5 -> 10.10.140.131 HTTP GET /rest/services/vast/byId/609 HTTP/1.1
2.046138 10.10.140.5 -> 10.10.140.131 HTTP GET /rest/services/vast/byId/591 HTTP/1.1
2.157924 10.10.140.5 -> 10.10.140.131 HTTP GET /rest/services/vast/byId/597 HTTP/1.1
2.635879 10.10.140.5 -> 10.10.140.131 HTTP GET /rest/services/vast/byId/598 HTTP/1.1
2.851998 10.10.140.5 -> 10.10.140.131 HTTP GET /rest/services/v1/videos/featured/rows/6?id=1&t=F156292D292641BD3827CF3DE376FE00 HTTP/1.1
2.860829 10.10.140.5 -> 10.10.140.131 HTTP GET /rest/services/v1/categories/type/s/sortBy/43/offset/0/rows/14?id=1&experts=1&t=445888EB1A70677E47644720F20963C3 HTTP/1.1
2.908798 10.10.140.3 -> 10.10.140.131 HTTP GET / HTTP/1.1 Continuation or non-HTTP traffic
4.375090 10.10.140.5 -> 10.10.140.131 HTTP GET /rest/services/vast/byId/597 HTTP/1.1
4.473771 10.10.140.5 -> 10.10.140.131 HTTP GET /app-restful/services/v1/?id=
02:50:44.802 [main] ERROR o.s.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitResource': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.magnet.community.services.ActivityService com.magnet.community.resources.VisitResource.activityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activityServiceBean': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: magnet.statue.plug.service.RedisStatService com.magnet.community.services.ActivityServiceBean.redisStatService; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool$Config
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProces