Skip to content

Instantly share code, notes, and snippets.

11:45:38,510 ERROR [JSONWebServiceServiceAction:114] java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.jsonwebservice.JSONWebServiceActionImpl._invokeActionMethod(JSONWebServiceActionImpl.java:186)
at com.liferay.portal.jsonwebservice.JSONWebServiceActionImpl.invoke(JSONWebServiceActionImpl.java:62)
at com.liferay.portal.jsonwebservice.JSONWebServiceServiceAction.getJSON(JSONWebServiceServiceAction.java:104)
at com.liferay.portal.struts.JSONAction.execute(JSONAction.java:60)
portal-trunk tomcat7 [Java Application]
org.apache.catalina.startup.Bootstrap at localhost:62890
Thread [main] (Running)
Daemon Thread [Poller SunPKCS11-Darwin] (Running)
Daemon Thread [Timer-0] (Running)
Daemon Thread [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] (Running)
Daemon Thread [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] (Running)
Daemon Thread [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (Running)
Daemon Thread [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3] (Running)
Daemon Thread [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4] (Running)
11:30:29,879 ERROR [JSONWebServiceServiceAction:114] java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.jsonwebservice.JSONWebServiceActionImpl._invokeActionMethod(JSONWebServiceActionImpl.java:186)
at com.liferay.portal.jsonwebservice.JSONWebServiceActionImpl.invoke(JSONWebServiceActionImpl.java:62)
at com.liferay.portal.jsonwebservice.JSONWebServiceServiceAction.getJSON(JSONWebServiceServiceAction.java:104)
at com.liferay.portal.struts.JSONAction.execute(JSONAction.java:60)
20:49:16,965 ERROR [JSONWebServiceServiceAction:114] java.lang.IllegalArgumentException: Missing value for parameter get-calendar
java.lang.IllegalArgumentException: Missing value for parameter get-calendar
at com.liferay.portal.jsonwebservice.JSONWebServiceActionParameters._collectFromPath(JSONWebServiceActionParameters.java:181)
at com.liferay.portal.jsonwebservice.JSONWebServiceActionParameters.collectAll(JSONWebServiceActionParameters.java:57)
at com.liferay.portal.jsonwebservice.JSONWebServiceActionsManagerImpl.getJSONWebServiceAction(JSONWebServiceActionsManagerImpl.java:97)
at com.liferay.portal.kernel.jsonwebservice.JSONWebServiceActionsManagerUtil.getJSONWebServiceAction(JSONWebServiceActionsManagerUtil.java:32)
at com.liferay.portal.jsonwebservice.JSONWebServiceServiceAction.getJSON(JSONWebServiceServiceAction.java:84)
at com.liferay.portal.struts.JSONAction.execute(JSONAction.java:60)
at com.liferay.portal.servlet.JSONServlet.service(JSONServlet.java:64)
at com.liferay.portal.jsonwebservice
@eduardolundgren
eduardolundgren / view.jsp
Created April 8, 2012 23:34
Breadcrumb JSP
<%--
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
@eduardolundgren
eduardolundgren / view.jsp
Created April 3, 2012 19:26
Training-Theme
<%--
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
@eduardolundgren
eduardolundgren / calendarlist.js
Created March 6, 2012 02:36
CalendarList mockups
// Um para cada calendar row
var menu = new A.SimpleMenu({
items: [
{ id: 'm1', caption: 'Menu A', fn: function() {} },
{ id: 'm2', caption: 'Menu B', fn: function() {} },
{ id: 'm3', caption: '-' },
{ id: 'm4', caption: '<div id="colorpicker"></div>' },
],
visible: false,
<html>
<head>
<title></title>
</head>
<body>
<ul class="toggler">
<li class="header">
<span>My Calendars</span>
<div class="content">
@eduardolundgren
eduardolundgren / gist:1660210
Created January 23, 2012 03:05
Alloy Form Validate nonZeroFloat, nonZeroInt
<!DOCTYPE html>
<html>
<head>
<script src="http://deploy.alloyui.com/build/aui/aui.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://deploy.alloyui.com/build/aui-skin-classic/css/aui-skin-classic-all-min.css" type="text/css" media="screen" />
<style type="text/css">
.aui-form-validator-stack-error {
color: red;
Liferay.Service('user/get-user-by-id');
Liferay.Service('user/get-user-by-id', fn);
Liferay.Service('user/get-user-by-id', {}, fn);
Liferay.Service({
'user/get-user-by-id': {}
});
Liferay.Service({