[JBoss JIRA] Created: (JBSEAM-4735) Seam attachments of Japanese text files created on Windows machines are received as corrupted files
by Jeff Wexler (JIRA)
Seam attachments of Japanese text files created on Windows machines are received as corrupted files
---------------------------------------------------------------------------------------------------
Key: JBSEAM-4735
URL: https://jira.jboss.org/browse/JBSEAM-4735
Project: Seam
Issue Type: Bug
Components: Mail
Affects Versions: 2.2.0.GA
Environment: Tested separately on two systems: System 1: HP Touchsmart tx2 AMD Turion X2 64-bit, 8GB memory, Ubuntu 10.04 LTS 64-bit, JBoss AS 5.1.0.GA, Eclipse Galileo and Eclipse Helios, Seam 2.2.0.GA. System 2: Fujitsu FMV-S8235 Intel Core Duo, 4GB memory, Windows Server 2003 32-bit, Eclipse Galileo, JBoss AS 5.1.0.GA, Seam 2.2.0.GA.
Reporter: Jeff Wexler
Assignee: Pete Muir
If a user attaches a file that they created on a Windows native Japanese operating system, using any of the file save encoding formats for notepad (i.e., a normal Japanese text file in Windows) with Japanese text inside, then that file will be received with the Japanese text inside the text file garbled up (i.e., garbage instead of Japanese characters). However, if that same file is uploaded to a database and then downloaded to a windows native Japanese operating system machine, the Japanese text inside the text file is preserved. I needed to perform the following conversion to make a Japanese file name work for the upload/download. I list it here in case it sheds any light on addressing the bug (above).
For the Japanese name of the file:
byte[] nameSjis;
String nameISO = null;
try {
nameSjis = attachment.getNameStr().getBytes("Shift_JIS");
nameISO = new String(nameSjis, "ISO8859_1");
}
response.addHeader("Content-Disposition", "attachment; filename=" + nameISO);
try {
ServletOutputStream outputStream = response.getOutputStream();
outputStream.write(attachment.getDataBytAry());
outputStream.flush();
outputStream.close();
facesContext.responseComplete();
}
Note that the following do not help with the bug (i.e., seam attachment issue):
dataBytAry.toString().getBytes("MS932");
dataBytAry.toString().getBytes("UTF8");
dataBytAry.toString().getBytes("Shift_JIS");
new String(dataBytAry, "utf-8");
Note also, in case this info helps, if I download the file to the Ubuntu machine, then I need to run the following command to convert it so that the Japanese text is viewable on Ubuntu: (for example for windows text file winText.txt):
iconv -f MS932 -t UTF-8 winText.txt -o linuxText_converted.txt
Please let me know if there is other info I can provide or other means to help with this.
Thanks
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Moved: (JBSEAM-4732) Facelets Classloading Takes Much Longer when jsf-facelets.jar is Deployed in a Common Location
by James Wilson (JIRA)
[ https://jira.jboss.org/browse/JBSEAM-4732?page=com.atlassian.jira.plugin.... ]
James Wilson moved JBAS-8583 to JBSEAM-4732:
--------------------------------------------
Project: Seam (was: JBoss Application Server)
Key: JBSEAM-4732 (was: JBAS-8583)
Affects Version/s: (was: JBossAS-5.0.0.GA)
Security: (was: Public)
> Facelets Classloading Takes Much Longer when jsf-facelets.jar is Deployed in a Common Location
> ----------------------------------------------------------------------------------------------
>
> Key: JBSEAM-4732
> URL: https://jira.jboss.org/browse/JBSEAM-4732
> Project: Seam
> Issue Type: Bug
> Reporter: Gary Hu
> Assignee: Ales Justin
> Attachments: facelets-1.1.15.B1.patch
>
>
> The facelets 1.1.15.B1 is placed under the $JBOSS_HOME/server/$PROFILE/lib folder.
> In EAP 4.3, it takes about 2s to load the facelets library, but in EAP 5.0 it takes about 15s.
> The following facelets code is analyzed, which tells us the slowness comes from the facelets library loading:
>
> public static URL[] search(ClassLoader cl, String prefix, String suffix) throws IOException {
> Enumeration[] e = new Enumeration[] {
> cl.getResources(prefix),
> cl.getResources(prefix + "MANIFEST.MF")
> };
> Set all = new LinkedHashSet();
> URL url;
> URLConnection conn;
> JarFile jarFile;
> for (int i = 0, s = e.length; i < s; ++i) {
> while (e[i].hasMoreElements()) {
> url = (URL) e[i].nextElement();
> conn = url.openConnection();
> conn.setUseCaches(false);
> conn.setDefaultUseCaches(false);
> if (conn instanceof JarURLConnection) {
> jarFile = ((JarURLConnection) conn).getJarFile();
> } else {
> jarFile = getAlternativeJarFile(url);
> }
> if (jarFile != null) {
> searchJar(cl, all, jarFile, prefix, suffix);
> } else {
> boolean searchDone = searchDir(all, new File(URLDecoder.decode(url.getFile(), "UTF-8")), suffix);
> if (!searchDone)
> {
> searchFromURL(all, prefix, suffix, url);
> }
> }
> }
> }
> URL[] urlArray = (URL[]) all.toArray(new URL[all.size()]);
> return urlArray;
> }
> This method is called from com.sun.facelets.compiler.TagLibraryConfig.loadImplicit() with the followign statement:
> ClassLoader cl = Thread.currentThread().getContextClassLoader();
> URL[] urls = Classpath.search(cl, "META-INF/", SUFFIX); //SUFFIX is ".taglib.xml"
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBSEAM-4729) FileUploadRendererBase throws ClassCastException in GateIn
by Trasa Sasa (JIRA)
FileUploadRendererBase throws ClassCastException in GateIn
----------------------------------------------------------
Key: JBSEAM-4729
URL: https://jira.jboss.org/browse/JBSEAM-4729
Project: Seam
Issue Type: Bug
Components: JSF Controls
Affects Versions: 2.2.0.GA
Environment: GateIn 3.1
PortletBridge 2.0.0
Seam 2.2.0 GA
Reporter: Trasa Sasa
Seam's file upload component woesn't work i portlet environment. When i try to submit form with file then ClassCastException occurs.
{code:title=Upload page}
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
template="layout/template.xhtml">
<ui:define name="body">
<rich:panel>
<h:form>
<s:fileUpload data="#{newDocument.content}"/>
<h:commandButton action="#{idea.jcr.uploadAction()}" value="upload"/>
</h:form>
</rich:panel>
</ui:define>
</ui:composition>
{code}
{code:title=jcr component}
@Name("idea.jcr")
@Scope(ScopeType.CONVERSATION)
public class Repository {
@Out(required = false)
private Document newDocument;
public String uploadAction(){
log.info("Uploading document: " + newDocument);
return "success";
}
}
{code}
2010-11-24 10:55:19,752 ERROR [portal:UIPortletLifecycle] Error processing the action: Error process faces request
javax.portlet.PortletException: Error process faces request
at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:528)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:558)
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)
at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)
at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)
at sun.reflect.GeneratedMethodAccessor471.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
at org.gatein.wci.command.CommandServlet.doPost(CommandServlet.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)
at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:87)
at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:198)
at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:117)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:231)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:229)
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:152)
at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:177)
at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:903)
at org.exoplatform.portal.webui.application.UIPortletActionListener$ProcessActionActionListener.execute(UIPortletActionListener.java:105)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:127)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:62)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:37)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:115)
at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:107)
at org.exoplatform.web.WebAppController.service(WebAppController.java:143)
at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:72)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)
at org.exoplatform.sample.ext.web.SampleFilter.doFilter(SampleFilter.java:46)
at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:108)
at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:92)
at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.portlet.faces.BridgeException: Error processing render lifecycle
at org.jboss.portletbridge.ExceptionHandlerBase.processActionException(ExceptionHandlerBase.java:154)
at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:430)
at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:526)
... 110 more
Caused by: javax.faces.FacesException: org.gatein.pc.portlet.impl.jsr168.api.ActionRequestImpl cannot be cast to javax.servlet.ServletRequest
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:86)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:1096)
at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:397)
... 111 more
Caused by: java.lang.ClassCastException: org.gatein.pc.portlet.impl.jsr168.api.ActionRequestImpl cannot be cast to javax.servlet.ServletRequest
at org.jboss.seam.ui.renderkit.FileUploadRendererBase.doDecode(FileUploadRendererBase.java:65)
at org.jboss.seam.ui.util.cdk.RendererBase.decode(RendererBase.java:59)
at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
at javax.faces.component.UIInput.decode(UIInput.java:725)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1031)
at javax.faces.component.UIInput.processDecodes(UIInput.java:639)
at javax.faces.component.UIForm.processDecodes(UIForm.java:209)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
at org.ajax4jsf.component.AjaxViewRoot$1.invokeContextCallback(AjaxViewRoot.java:392)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:238)
at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:409)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
... 115 more
{code}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBSEAM-4698) Hibernate search does not work in JBAS 6
by Tomaz Cerar (JIRA)
Hibernate search does not work in JBAS 6
----------------------------------------
Key: JBSEAM-4698
URL: https://jira.jboss.org/browse/JBSEAM-4698
Project: Seam
Issue Type: Bug
Components: Search
Affects Versions: 2.2.1.CR2
Environment: Jboss AS 6 M4,
hibernate-search-3.2.1.Final,
Jboss Seam 2.2.1.RC2
Reporter: Tomaz Cerar
injection of FullTextEntityManager fails on jboss as 6
@In
FullTextEntityManager entityManager;
exception:
Caused by: java.lang.IllegalArgumentException: could not set field value: searchAction.entityManager
at org.jboss.seam.Component.setFieldValue(Component.java:1930) [:2.2.1.CR2]
at org.jboss.seam.Component.access$600(Component.java:127) [:2.2.1.CR2]
at org.jboss.seam.Component$BijectedField.set(Component.java:2966) [:2.2.1.CR2]
at org.jboss.seam.Component.injectAttributes(Component.java:1739) [:2.2.1.CR2]
at org.jboss.seam.Component.inject(Component.java:1557) [:2.2.1.CR2]
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61) [:2.2.1.CR2]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [:2.2.1.CR2]
at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:97) [:2.2.1.CR2]
at org.jboss.seam.util.Work.workInTransaction(Work.java:61) [:2.2.1.CR2]
at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:91) [:2.2.1.CR2]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [:2.2.1.CR2]
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [:2.2.1.CR2]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [:2.2.1.CR2]
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [:2.2.1.CR2]
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) [:2.2.1.CR2]
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) [:2.2.1.CR2]
at com.parsekstores.catalog.SearchAction_$$_javassist_seam_9.validate(SearchAction_$$_javassist_seam_9.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [:2.2.1.CR2]
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [:2.2.1.CR2]
at org.jboss.seam.Component.callComponentMethod(Component.java:2275) [:2.2.1.CR2]
at org.jboss.seam.Component.callCreateMethod(Component.java:2198) [:2.2.1.CR2]
at org.jboss.seam.Component.newInstance(Component.java:2158) [:2.2.1.CR2]
... 85 more
Caused by: java.lang.IllegalArgumentException: Could not set field value by reflection: SearchAction.entityManager on: com.parsekstores.catalog.SearchAction with value: class $Proxy266
at org.jboss.seam.util.Reflections.set(Reflections.java:86) [:2.2.1.CR2]
at org.jboss.seam.Component.setFieldValue(Component.java:1926) [:2.2.1.CR2]
... 110 more
Caused by: java.lang.IllegalArgumentException: Can not set org.hibernate.search.jpa.FullTextEntityManager field com.parsekstores.catalog.SearchAction.entityManager to $Proxy266
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146) [:1.6.0_20]
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150) [:1.6.0_20]
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63) [:1.6.0_20]
at java.lang.reflect.Field.set(Field.java:657) [:1.6.0_20]
at org.jboss.seam.util.Reflections.set(Reflections.java:71) [:2.2.1.CR2]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month