Skip to content

Instantly share code, notes, and snippets.

1 jenkins-test-portal-aws-batch(7.0.x-private)
7 jenkins-test-portal-environment-centos6-tomcat80-sybase15-ibm8-firefox(7.0.x-private)
7 jenkins-test-portal-environment-centos7-jboss64-oracle112-jdk8-chrome(7.0.x-private)
7 jenkins-test-portal-environment-debian7-tomcat80-mysql57-jdk8-firefox(7.0.x-private)
7 jenkins-test-portal-environment-debian8-tomcat85-mysql56-jdk8-firefox(7.0.x-private)
4 jenkins-test-portal-environment-debian9-wildfly10-mysql57-openjdk8-firefox(7.1.x)
7 jenkins-test-portal-environment-orcllinux6-tomcat80-postgresql92-jdk8-firefox(7.0.x-private)
4 jenkins-test-portal-environment-orcllinux6-tomcat90-db2105-jdk8-firefox(7.1.x)
7 jenkins-test-portal-environment-orcllinux7-weblogic1213-postgresql93-jdk8-chrome(7.0.x-private)
7 jenkins-test-portal-environment-osx1012-tomcat80-mysql57-jdk8-safari(7.0.x-private)
import com.liferay.portal.kernel.service.PortletPreferencesLocalServiceUtil;
import com.liferay.portal.kernel.service.UserLocalServiceUtil;
screenName = "sir.testalot";
try {
user = UserLocalServiceUtil.getUserByScreenName(10154, screenName);
// PortletKeys.PREFS_OWNER_TYPE_USER = 4
portletPreferences = PortletPreferencesLocalServiceUtil.getPortletPreferences(user.getUserId(), 4, 0L, "com_liferay_osb_testray_issue_engine_jira_web_TestrayIssueEngineJIRAPortlet");
20:10:27,366 ERROR [http-nio-8080-exec-4][render_portlet_jsp:131] null
java.lang.NullPointerException
at com.liferay.alloy.mvc.AlloyServiceInvoker.<init>(AlloyServiceInvoker.java:51)
at com.liferay.alloy.mvc.BaseAlloyControllerImpl.setAlloyServiceInvokerClass(BaseAlloyControllerImpl.java:1410)
at org.apache.jsp.alloy_005fmvc.jsp.testray.controllers.projects_005fcontroller_jsp$AlloyControllerImpl.<init>(projects_005fcontroller_jsp:11770)
at org.apache.jsp.alloy_005fmvc.jsp.testray.controllers.projects_005fcontroller_jsp._jspService(projects_005fcontroller_jsp:12459)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
[2017-10-31 20:45:11,679] INFO [localhost-startStop-1][UpgradeProcess:84] Upgrading com.liferay.osb.testray.internal.upgrade.v1_1_0.UpgradeResourceAction
INFO - Upgrading com.liferay.osb.testray.internal.upgrade.v1_1_0.UpgradeResourceAction
[2017-10-31 20:45:11,763] INFO [localhost-startStop-1][UpgradeProcess:99] Completed upgrade process com.liferay.osb.testray.internal.upgrade.v1_1_0.UpgradeResourceAction in 84ms
INFO - Completed upgrade process com.liferay.osb.testray.internal.upgrade.v1_1_0.UpgradeResourceAction in 84ms
[2017-10-31 20:45:11,782] INFO [localhost-startStop-1][UpgradeProcess:84] Upgrading com.liferay.osb.testray.internal.upgrade.v1_1_0.UpgradeResourcePermission
INFO - Upgrading com.liferay.osb.testray.internal.upgrade.v1_1_0.UpgradeResourcePermission
[2017-10-31 20:45:11,862] INFO [localhost-startStop-1][UpgradeProcess:99] Completed upgrade process com.liferay.osb.testray.internal.upgrade.v1_1_0.UpgradeResourcePermission in 80ms
INFO - Completed upgrade process com.liferay.osb.testray.intern

Keybase proof

I hereby claim:

  • I am ethanbustad on github.
  • I am ethanbustad (https://keybase.io/ethanbustad) on keybase.
  • I have a public key ASBXbMy8VT_P4cu7nQYbFrE0VQbN-Fvr1OuUfikrGswA4Qo

To claim this, I am signing this object:

[echo] Deploying private/apps/osb-testray/osb-testray-theme
[exec] Unable to configure styled parent theme
[exec] Unable to configure unstyled parent theme
[exec] :private:apps:osb-testray:osb-testray-theme:createLiferayThemeJson
[exec] :private:apps:osb-testray:osb-testray-theme:downloadNode
[exec] :private:apps:osb-testray:osb-testray-theme:expandFrontendCSSCommon
[exec] npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
[exec] npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
[exec] npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[exec] npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build to
ethan@ethan-M3800:/links/testray/osb-testray-taglib(7.0.x-private)$ gw clean generateJSPJava
Unable to configure styled parent theme
Unable to configure unstyled parent theme
:private:apps:osb-testray:osb-testray-taglib:cleanBuildCSS UP-TO-DATE
:private:apps:osb-testray:osb-testray-taglib:cleanCompileJSP
:private:apps:osb-testray:osb-testray-taglib:cleanCompileJava
:private:apps:osb-testray:osb-testray-taglib:cleanCompileTestIntegrationJava UP-TO-DATE
:private:apps:osb-testray:osb-testray-taglib:cleanCompileTestJava UP-TO-DATE
:private:apps:osb-testray:osb-testray-taglib:cleanCopyLibs UP-TO-DATE
:private:apps:osb-testray:osb-testray-taglib:cleanCopyTLDDocResources UP-TO-DATE
package com.liferay.alloy.mvc;
public class AlloyException
extends Exception
{
public AlloyException() {}
public AlloyException(String msg)
{
super(msg);
09-Mar-2017 00:34:49.092 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 250830 ms
java.lang.RuntimeException: java.util.ConcurrentModificationException
at com.sun.tools.javac.main.Main.compile(Main.java:559)
at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspCompiler.compile(JspCompiler.java:127)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:384)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
@ethanbustad
ethanbustad / catalina_after.out
Last active March 8, 2017 18:10
Trying to deploy com.liferay.portal.osgi.web.servlet.jsp.compiler-2.0.17.jar
$ ./catalina.sh run
Using CATALINA_BASE: /mnt/shrd/data/app-servers/EE/7.0.x/tomcat
Using CATALINA_HOME: /mnt/shrd/data/app-servers/EE/7.0.x/tomcat
Using CATALINA_TMPDIR: /mnt/shrd/data/app-servers/EE/7.0.x/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-8-oracle
Using CLASSPATH: /mnt/shrd/data/app-servers/EE/7.0.x/tomcat/bin/bootstrap.jar:/mnt/shrd/data/app-servers/EE/7.0.x/tomcat/bin/tomcat-juli.jar
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
08-Mar-2017 18:05:59.791 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.32
08-Mar-2017 18:05:59.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 2 2016 19:34:53 UTC
08-Mar-2017 18:05:59.792 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.32.0