Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
liferay主题未部署在6.1.2 GA3上_Liferay_Liferay Theme - Fatal编程技术网

liferay主题未部署在6.1.2 GA3上

liferay主题未部署在6.1.2 GA3上,liferay,liferay-theme,Liferay,Liferay Theme,我正在尝试将在liferay-plugins-sdk-6.1.0-ce上开发的主题部署到liferay-portal-6.1.2-ga3-ce 我的liferay正在jre 1.7更新51上运行 在控制台中观察到以下错误 侦听器:89]为xyz主题注册主题 java.awt.image.RasterFormatException: Incorrect scanline stride: 4 at sun.awt.image.ByteComponentRaster.verify(By

我正在尝试将在liferay-plugins-sdk-6.1.0-ce上开发的主题部署到liferay-portal-6.1.2-ga3-ce

我的liferay正在jre 1.7更新51上运行

在控制台中观察到以下错误

侦听器:89]为xyz主题注册主题

java.awt.image.RasterFormatException: Incorrect scanline stride: 4
        at sun.awt.image.ByteComponentRaster.verify(ByteComponentRaster.java:894)
        at sun.awt.image.ByteComponentRaster.<init>(ByteComponentRaster.java:201)
        at sun.awt.image.ByteInterleavedRaster.<init>(ByteInterleavedRaster.java:191)
        at sun.awt.image.ByteInterleavedRaster.<init>(ByteInterleavedRaster.java:113)
        at java.awt.image.Raster.createWritableRaster(Raster.java:980)
        at javax.media.jai.RecyclingTileFactory.createTile(RecyclingTileFactory.java:392)
        at javax.media.jai.PlanarImage.createWritableRaster(PlanarImage.java:1982)
        at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:771)
        at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)

        at javax.media.jai.OpImage.getTile(OpImage.java:1129)
        at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:962)
        at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)

        at javax.media.jai.OpImage.getTile(OpImage.java:1129)
        at javax.media.jai.PlanarImage.copyData(PlanarImage.java:2343)
        at javax.media.jai.RenderedOp.copyData(RenderedOp.java:2299)
        at javax.media.jai.RenderedImageAdapter.copyData(RenderedImageAdapter.java:163)
        at javax.media.jai.PlanarImage.getAsBufferedImage(PlanarImage.java:2525)
        at javax.media.jai.PlanarImage.getAsBufferedImage(PlanarImage.java:2546)
        at com.liferay.portal.image.ImageToolImpl.getBufferedImage(ImageToolImpl.java:152)

        at com.liferay.portal.image.ImageToolImpl.encodeGIF(ImageToolImpl.java:85)
        at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandl
er.java:88)
        at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler
.java:56)
        at com.sun.proxy.$Proxy35.encodeGIF(Unknown Source)
        at com.liferay.portal.kernel.image.ImageToolUtil.encodeGIF(ImageToolUtil.java:40)
        at com.liferay.portal.image.SpriteProcessorImpl.generate(SpriteProcessorImpl.java:
224)
        at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandl
er.java:88)
        at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler
.java:56)
        at com.sun.proxy.$Proxy36.generate(Unknown Source)
        at com.liferay.portal.kernel.image.SpriteProcessorUtil.generate(SpriteProcessorUti
l.java:39)
        at com.liferay.portal.service.impl.ThemeLocalServiceImpl._setSpriteImages(ThemeLoc
alServiceImpl.java:785)
        at com.liferay.portal.service.impl.ThemeLocalServiceImpl._readThemes(ThemeLocalSer
viceImpl.java:728)
        at com.liferay.portal.service.impl.ThemeLocalServiceImpl.init(ThemeLocalServiceImp
l.java:268)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMe
thodInvocation.java:117)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(Defaul
tTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(Transaction
Interceptor.java:52)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMe
thodInvocation.java:113)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvic
e.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMe
thodInvocation.java:113)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvic
e.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMe
thodInvocation.java:113)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvic
e.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMe
thodInvocation.java:113)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvic
e.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMe
thodInvocation.java:113)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.ja
va:218)
        at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationH
andler.java:62)
        at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHan
dler.java:51)
        at com.sun.proxy.$Proxy188.init(Unknown Source)
        at com.liferay.portal.service.ThemeLocalServiceUtil.init(ThemeLocalServiceUtil.jav
a:114)
        at com.liferay.portal.deploy.hot.ThemeHotDeployListener.doInvokeDeploy(ThemeHotDep
loyListener.java:92)
        at com.liferay.portal.deploy.hot.ThemeHotDeployListener.invokeDeploy(ThemeHotDeplo
yListener.java:46)
        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.jav
a:195)
        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:
97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandl
er.java:88)
        at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler
.java:56)
        at com.sun.proxy.$Proxy30.fireDeployEvent(Unknown Source)
        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUti
l.java:27)
        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginC
ontextListener.java:164)
        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginCont
extListener.java:154)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecyc
le.java:44)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil
.java:64)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil
.java:56)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(Base
PortalLifecycle.java:54)
        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(Plug
inContextListener.java:116)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:488
7)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:538
1)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3926)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1271)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1440)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:301)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.j
ava:119)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90
)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:137
4)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChil
dren(ContainerBase.java:1530)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChil
dren(ContainerBase.java:1540)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Contain
erBase.java:1519)
        at java.lang.Thread.run(Thread.java:744)
08:55:09,733 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][ThemeHotDeploy
[ThemeHotDeployListener:107] 0 themes for xyz-theme are available for use
java.awt.image.RasterFormatException:不正确的扫描线跨距:4
在sun.awt.image.ByteComponentRaster.verify(ByteComponentRaster.java:894)中
位于sun.awt.image.ByteComponentRaster.(ByteComponentRaster.java:201)
在sun.awt.image.ByteInterlevedRaster。(ByteInterlevedRaster.java:191)
位于sun.awt.image.ByteInterlevedRaster。(ByteInterlevedRaster.java:113)
位于java.awt.image.Raster.createWritableRaster(Raster.java:980)
位于javax.media.jai.RecyclingTileFactory.createTile(RecyclingTileFactory.java:392)
位于javax.media.jai.PlanarImage.createWritableRaster(PlanarImage.java:1982)
位于javax.media.jai.PointOpImage.computefile(PointOpImage.java:771)
位于com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
位于javax.media.jai.OpImage.getTile(OpImage.java:1129)
位于javax.media.jai.PointOpImage.computefile(PointOpImage.java:962)
位于com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
位于javax.media.jai.OpImage.getTile(OpImage.java:1129)
位于javax.media.jai.PlanarImage.copyData(PlanarImage.java:2343)
位于javax.media.jai.renderop.copyData(renderop.java:2299)
位于javax.media.jai.renderImageAdapter.copyData(renderImageAdapter.java:163)
位于javax.media.jai.PlanarImage.getAsBufferedImage(PlanarImage.java:2525)
位于javax.media.jai.PlanarImage.getAsBufferedImage(PlanarImage.java:2546)
位于com.liferay.portal.image.ImageToolImpl.GetBuffereImage(ImageToolImpl.java:152)
位于com.liferay.portal.image.ImageToolImpl.encodeGIF(ImageToolImpl.java:85)
位于sun.reflect.GeneratedMethodAccessor229.invoke(未知源)
在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja)中
弗吉尼亚州:43)
位于java.lang.reflect.Method.invoke(Method.java:606)
在com.liferay.portal.security.lang.doPrivilegeHandler.doInvoke(doPrivilegeHandl
er.java:88)
在com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler
.java:56)
位于com.sun.proxy.$Proxy35.encodeGIF(未知源)
位于com.liferay.portal.kernel.image.ImageToolUtil.encodeGIF(ImageToolUtil.java:40)
在com.liferay.portal.image.SpriteProcessorImpl.generate(SpriteProcessorImpl.java:
224)
位于sun.reflect.GeneratedMethodAccessor109.invoke(未知源)
在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja)中
弗吉尼亚州:43)
位于java.lang.reflect.Method.invoke(Method.java:606)
在com.liferay.portal.security.lang.doPrivilegeHandler.doInvoke(doPrivilegeHandl
er.java:88)
在com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler
.java:56)
位于com.sun.proxy.$Proxy36.generate(未知源)
位于com.liferay.portal.kernel.image.SpriteProcessorUtil.generate(SpriteProcessorUti
l、 爪哇:39)
在com.liferay.portal.service.impl.ThemeLocalServiceImpl.\u设置PriteImages(ThemeLoc
alServiceImpl.java:785)
在com.liferay.portal.service.impl.ThemeLocalServiceImpl.\u readThemes(ThemeLocalSer
viceImpl.java:728)
在com.liferay.portal.service.impl.ThemeLocalServiceImpl.init(ThemeLocalServiceImp
l、 爪哇:268)
在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处
在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)中
在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja)中
弗吉尼亚州:43)
位于java.lang.reflect.Method.invoke(Method.java:606)
在com.liferay.portal.spring.aop.servicebeanmethodinactione.procedure(ServiceBeanMe
Thodinactione.java:117)
在com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(Defaul)上
ttTransactionExecutor.java:62)
在com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(事务
拦截器(java:52)
在com.liferay.portal.spring.aop.servicebeanmethodinactione.procedure(ServiceBeanMe
Thodinocation.java:113)
在com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvic
e、 爪哇:56)
在com.liferay.portal.spring.aop.servicebeanmethodinactione.procedure(ServiceBeanMe
Thodinocation.java:113)
在com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvic
e、 爪哇:56)
在com.liferay.portal.spring.aop.servicebeanmethodinactione.procedure(ServiceBeanMe
Thodinocation.java:113)
在com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvic
e、 爪哇:56)
在com.liferay.portal.spring.aop.servicebeanmethodinactione.procedure(ServiceBeanMe
Thodinocation.java:113)
在com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvic
e、 爪哇:56)
在com.liferay.portal.spring.aop.servicebeanmethodinactione.procedure(ServiceBeanMe
Thodinocation.java:113)
在com.liferay.portal.spring.aop.ServiceBeanApproxy.invoke(ServiceBeanApproxy.ja)上
弗吉尼亚州:218)
在com.liferay.portal.security.pacl.paclinocationhandler.doInvoke(paclinocationh
andler.java:62)
在com.liferay.portal.security.pacl.paclinocationhandler.invoke(paclinocationhan)上
java:51)
位于com.sun.proxy.$Proxy188.init(未知源)
位于com.liferay.portal.service.ThemeLocalServiceUtil.init(ThemeLocalServiceUtil.jav
a:114)
在com.liferay.portal.deploy.hot.ThemeHotDeployListener.doInvokeDeploy(ThemeHotDep
java:92)
在com.liferay.portal.deploy.hot.ThemeHotDeployListener.invokeDeploy(ThemeHotDeplo
yListener.java:46)
位于com.liferay.portal.deploy.hot.HotDeployImpl.doFireDepl
<?xml version="1.0"?>
<!DOCTYPE look-and-feel PUBLIC "-//Liferay//DTD Look and Feel 6.0.0//EN" "http://www.liferay.com/dtd/liferay-look-and-feel_6_0_0.dtd">

<look-and-feel>
    <compatibility>
        <version>6.1.1+</version>
    </compatibility>
    <theme id="MyTheme" name="MyTheme">
    </theme>
</look-and-feel>
name=MyTheme
module-group-id=liferay
module-incremental-version=1
tags=
short-description=
change-log=
page-url=http://mydomain
author=Ani
licenses=open
# 6.1.1 is 6.1.1 CE GA2 | 6.1.20+ is 6.1.2 EE GA2
liferay-versions=6.1.1,6.1.20+