[jira] [Created] (OFBIZ-12050) NotSerializableException using uploadPartyContentFile service
Jacques Le Roux created OFBIZ-12050: --- Summary: NotSerializableException using uploadPartyContentFile service Key: OFBIZ-12050 URL: https://issues.apache.org/jira/browse/OFBIZ-12050 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk Reporter: Jacques Le Roux Assignee: Jacques Le Roux This error appears after trying to upload a file to party content: {noformat} 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler |I| Sending redirect to: [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. Hidden sessionId by default. 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject |E| null java.io.NotSerializableException: org.apache.commons.fileupload.disk.DiskFileItem at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) ~[?:1.8.0_202] at java.util.ArrayList.writeObject(ArrayList.java:766) ~[?:1.8.0_202] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_202] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) ~[?:1.8.0_202] at java.util.HashMap.internalWriteEntries(HashMap.java:1793) ~[?:1.8.0_202] at java.util.HashMap.writeObject(HashMap.java:1363) ~[?:1.8.0_202] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_202] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) ~[?:1.8.0_202] at org.apache.ofbiz.base.util.UtilObject.getBytes(UtilObject.java:47) [main/:?] at org.apache.ofbiz.webapp.control.RequestHandler.callRedirect(RequestHandler.java:257) [main/:?] {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-12050) NotSerializableException using uploadPartyContentFile service
[ https://issues.apache.org/jira/browse/OFBIZ-12050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227297#comment-17227297 ] ASF subversion and git services commented on OFBIZ-12050: - Commit ae5d3b404586672344562956fa8f23d4c248b300 in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=ae5d3b4 ] Fixed: NotSerializableException using uploadPartyContentFile service (OFBIZ-12050) This error appears after trying to upload a file to party content: 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler|I| Sending redirect to: [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject|E| null java.io.NotSerializableException: org.apache.commons.fileupload.disk.DiskFileItem > NotSerializableException using uploadPartyContentFile service > - > > Key: OFBIZ-12050 > URL: https://issues.apache.org/jira/browse/OFBIZ-12050 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Major > > This error appears after trying to upload a file to party content: > {noformat} > 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler > |I| Sending redirect to: > [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. Hidden > sessionId by default. > 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject > |E| null > java.io.NotSerializableException: > org.apache.commons.fileupload.disk.DiskFileItem > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.ArrayList.writeObject(ArrayList.java:766) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.HashMap.internalWriteEntries(HashMap.java:1793) > ~[?:1.8.0_202] > at java.util.HashMap.writeObject(HashMap.java:1363) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at org.apache.ofbiz.base.util.UtilObject.getBytes(UtilObject.java:47) > [main/:?] > at > org.apache.ofbiz.webapp.control.RequestHandler.callRedirect(RequestHandler.java:257) > [main/:?] > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-12050) NotSerializableException using uploadPartyContentFile service
[ https://issues.apache.org/jira/browse/OFBIZ-12050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227295#comment-17227295 ] ASF subversion and git services commented on OFBIZ-12050: - Commit 6dc266996e177c5467152245289918a893be9309 in ofbiz-framework's branch refs/heads/release17.12 from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6dc2669 ] Fixed: NotSerializableException using uploadPartyContentFile service (OFBIZ-12050) This error appears after trying to upload a file to party content: 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler|I| Sending redirect to: [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject|E| null java.io.NotSerializableException: org.apache.commons.fileupload.disk.DiskFileItem # Conflicts handled by hand # framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java # framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java > NotSerializableException using uploadPartyContentFile service > - > > Key: OFBIZ-12050 > URL: https://issues.apache.org/jira/browse/OFBIZ-12050 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Major > > This error appears after trying to upload a file to party content: > {noformat} > 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler > |I| Sending redirect to: > [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. Hidden > sessionId by default. > 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject > |E| null > java.io.NotSerializableException: > org.apache.commons.fileupload.disk.DiskFileItem > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.ArrayList.writeObject(ArrayList.java:766) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.HashMap.internalWriteEntries(HashMap.java:1793) > ~[?:1.8.0_202] > at java.util.HashMap.writeObject(HashMap.java:1363) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at org.apache.ofbiz.base.util.UtilObject.getBytes(UtilObject.java:47) > [main/:?] > at > org.apache.ofbiz.webapp.control.RequestHandler.callRedirect(RequestHandler.java:257) > [main/:?] > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-12050) NotSerializableException using uploadPartyContentFile service
[ https://issues.apache.org/jira/browse/OFBIZ-12050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227296#comment-17227296 ] ASF subversion and git services commented on OFBIZ-12050: - Commit af464dfa7071bef39d686a4d3109b2672844dbfb in ofbiz-framework's branch refs/heads/release18.12 from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=af464df ] Fixed: NotSerializableException using uploadPartyContentFile service (OFBIZ-12050) This error appears after trying to upload a file to party content: 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler|I| Sending redirect to: [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject|E| null java.io.NotSerializableException: org.apache.commons.fileupload.disk.DiskFileItem # Conflicts handled by hand # framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java # framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java > NotSerializableException using uploadPartyContentFile service > - > > Key: OFBIZ-12050 > URL: https://issues.apache.org/jira/browse/OFBIZ-12050 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Major > > This error appears after trying to upload a file to party content: > {noformat} > 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler > |I| Sending redirect to: > [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. Hidden > sessionId by default. > 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject > |E| null > java.io.NotSerializableException: > org.apache.commons.fileupload.disk.DiskFileItem > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.ArrayList.writeObject(ArrayList.java:766) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.HashMap.internalWriteEntries(HashMap.java:1793) > ~[?:1.8.0_202] > at java.util.HashMap.writeObject(HashMap.java:1363) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at org.apache.ofbiz.base.util.UtilObject.getBytes(UtilObject.java:47) > [main/:?] > at > org.apache.ofbiz.webapp.control.RequestHandler.callRedirect(RequestHandler.java:257) > [main/:?] > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-12050) NotSerializableException using uploadPartyContentFile service
[ https://issues.apache.org/jira/browse/OFBIZ-12050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227301#comment-17227301 ] ASF subversion and git services commented on OFBIZ-12050: - Commit 9a6ed0279bfec72f28e4209fabe6a38a294a2f8b in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=9a6ed02 ] Fixed: NotSerializableException using uploadPartyContentFile service (OFBIZ-12050) Removes a warning: UtilMisc.java:202: warning: [rawtypes] found raw type: Iterator Iterator itr = arrayList.iterator(); ^ missing type arguments for generic class Iterator where E is a type-variable: E extends Object declared in interface Iterator > NotSerializableException using uploadPartyContentFile service > - > > Key: OFBIZ-12050 > URL: https://issues.apache.org/jira/browse/OFBIZ-12050 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Major > > This error appears after trying to upload a file to party content: > {noformat} > 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler > |I| Sending redirect to: > [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. Hidden > sessionId by default. > 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject > |E| null > java.io.NotSerializableException: > org.apache.commons.fileupload.disk.DiskFileItem > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.ArrayList.writeObject(ArrayList.java:766) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.HashMap.internalWriteEntries(HashMap.java:1793) > ~[?:1.8.0_202] > at java.util.HashMap.writeObject(HashMap.java:1363) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at org.apache.ofbiz.base.util.UtilObject.getBytes(UtilObject.java:47) > [main/:?] > at > org.apache.ofbiz.webapp.control.RequestHandler.callRedirect(RequestHandler.java:257) > [main/:?] > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OFBIZ-12050) NotSerializableException using uploadPartyContentFile service
[ https://issues.apache.org/jira/browse/OFBIZ-12050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227310#comment-17227310 ] ASF subversion and git services commented on OFBIZ-12050: - Commit b420b0ea5dbb4f89e72acd9149bc5af246e68dcd in ofbiz-framework's branch refs/heads/release18.12 from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=b420b0e ] Fixed: NotSerializableException using uploadPartyContentFile service (OFBIZ-12050) Removes a warning: UtilMisc.java:202: warning: [rawtypes] found raw type: Iterator Iterator itr = arrayList.iterator(); ^ missing type arguments for generic class Iterator where E is a type-variable: E extends Object declared in interface Iterator > NotSerializableException using uploadPartyContentFile service > - > > Key: OFBIZ-12050 > URL: https://issues.apache.org/jira/browse/OFBIZ-12050 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Major > > This error appears after trying to upload a file to party content: > {noformat} > 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler > |I| Sending redirect to: > [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. Hidden > sessionId by default. > 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject > |E| null > java.io.NotSerializableException: > org.apache.commons.fileupload.disk.DiskFileItem > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.ArrayList.writeObject(ArrayList.java:766) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.HashMap.internalWriteEntries(HashMap.java:1793) > ~[?:1.8.0_202] > at java.util.HashMap.writeObject(HashMap.java:1363) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at org.apache.ofbiz.base.util.UtilObject.getBytes(UtilObject.java:47) > [main/:?] > at > org.apache.ofbiz.webapp.control.RequestHandler.callRedirect(RequestHandler.java:257) > [main/:?] > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (OFBIZ-12050) NotSerializableException using uploadPartyContentFile service
[ https://issues.apache.org/jira/browse/OFBIZ-12050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-12050. --- Fix Version/s: 17.12.05 18.12.01 Resolution: Fixed > NotSerializableException using uploadPartyContentFile service > - > > Key: OFBIZ-12050 > URL: https://issues.apache.org/jira/browse/OFBIZ-12050 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux >Priority: Major > Fix For: 18.12.01, 17.12.05 > > > This error appears after trying to upload a file to party content: > {noformat} > 2020-11-06 07:48:22,488 |jsse-nio-8443-exec-7 |RequestHandler > |I| Sending redirect to: > [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]. Hidden > sessionId by default. > 2020-11-06 07:48:29,288 |jsse-nio-8443-exec-7 |UtilObject > |E| null > java.io.NotSerializableException: > org.apache.commons.fileupload.disk.DiskFileItem > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.ArrayList.writeObject(ArrayList.java:766) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at java.util.HashMap.internalWriteEntries(HashMap.java:1793) > ~[?:1.8.0_202] > at java.util.HashMap.writeObject(HashMap.java:1363) ~[?:1.8.0_202] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_202] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_202] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_202] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] > at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > ~[?:1.8.0_202] > at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > ~[?:1.8.0_202] > at org.apache.ofbiz.base.util.UtilObject.getBytes(UtilObject.java:47) > [main/:?] > at > org.apache.ofbiz.webapp.control.RequestHandler.callRedirect(RequestHandler.java:257) > [main/:?] > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (OFBIZ-12051) Improve makeRangeCondition in file EntityDateFilterCondition.java
Leila Mekika created OFBIZ-12051: Summary: Improve makeRangeCondition in file EntityDateFilterCondition.java Key: OFBIZ-12051 URL: https://issues.apache.org/jira/browse/OFBIZ-12051 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Affects Versions: Trunk Reporter: Leila Mekika Fix For: Trunk When using makeRangeCondition for a project, it seems that one case is not returned by the generated condition: When we have a value with both from and thrudate greater than given range -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OFBIZ-12051) Improve makeRangeCondition in file EntityDateFilterCondition.java
[ https://issues.apache.org/jira/browse/OFBIZ-12051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-12051: - Attachment: OFBIZ-12051.patch > Improve makeRangeCondition in file EntityDateFilterCondition.java > - > > Key: OFBIZ-12051 > URL: https://issues.apache.org/jira/browse/OFBIZ-12051 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: Leila Mekika >Priority: Minor > Fix For: Trunk > > Attachments: OFBIZ-12051.patch > > > When using makeRangeCondition for a project, it seems that one case is not > returned by the generated condition: > When we have a value with both from and thrudate greater than given range > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OFBIZ-12051) Improve makeRangeCondition in file EntityDateFilterCondition.java
[ https://issues.apache.org/jira/browse/OFBIZ-12051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-12051: - Attachment: OFBIZ-12051-TESTSCREEN.txt > Improve makeRangeCondition in file EntityDateFilterCondition.java > - > > Key: OFBIZ-12051 > URL: https://issues.apache.org/jira/browse/OFBIZ-12051 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: Leila Mekika >Priority: Minor > Fix For: Trunk > > Attachments: OFBIZ-12051-TESTSCREEN.txt, OFBIZ-12051.patch > > > When using makeRangeCondition for a project, it seems that one case is not > returned by the generated condition: > When we have a value with both from and thrudate greater than given range > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OFBIZ-12051) Improve makeRangeCondition in file EntityDateFilterCondition.java
[ https://issues.apache.org/jira/browse/OFBIZ-12051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-12051: - Description: When using makeRangeCondition for a project, it seems that one case is not returned by the generated condition: When we have a value with both from and thrudate greater than given range How to test: * Create an agreement with fromDate = current year start date and endDate = current year end date in [agreement screen|[https://localhost:8443/accounting/control/EditAgreement].] * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement find screen whiwh allow filtering using makeRangeCondition filter. Got to agreement [find screen|https://localhost:8443/accounting/control/FindAgreement] and enter a range period in current year. * The newly created agreement does not appears in result list * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen whiwh allow filtering using makeRangeCondition filter. * Try again to search [agreements|https://localhost:8443/accounting/control/FindAgreement] with the same range period. * The newly created agreement must appear was: When using makeRangeCondition for a project, it seems that one case is not returned by the generated condition: When we have a value with both from and thrudate greater than given range > Improve makeRangeCondition in file EntityDateFilterCondition.java > - > > Key: OFBIZ-12051 > URL: https://issues.apache.org/jira/browse/OFBIZ-12051 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: Leila Mekika >Priority: Minor > Fix For: Trunk > > Attachments: OFBIZ-12051-TESTSCREEN.txt, OFBIZ-12051.patch > > > When using makeRangeCondition for a project, it seems that one case is not > returned by the generated condition: > When we have a value with both from and thrudate greater than given range > > How to test: > * Create an agreement with fromDate = current year start date and endDate = > current year end date in [agreement > screen|[https://localhost:8443/accounting/control/EditAgreement].] > * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement > find screen whiwh allow filtering using makeRangeCondition filter. > Got to agreement [find > screen|https://localhost:8443/accounting/control/FindAgreement] and enter a > range period in current year. > * The newly created agreement does not appears in result list > * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen > whiwh allow filtering using makeRangeCondition filter. > * Try again to search > [agreements|https://localhost:8443/accounting/control/FindAgreement] with the > same range period. > * The newly created agreement must appear -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OFBIZ-12051) Improve makeRangeCondition in file EntityDateFilterCondition.java
[ https://issues.apache.org/jira/browse/OFBIZ-12051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-12051: - Description: When using makeRangeCondition for a project, it seems that one case is not returned by the generated condition: When we have a value with both from and thrudate greater than given range How to test: * Create an agreement with fromDate = current year start date and endDate = current year end date in [agreement screen|https://localhost:8443/accounting/control/EditAgreement] * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement find screen whiwh allow filtering using makeRangeCondition filter. Got to agreement [find screen|https://localhost:8443/accounting/control/FindAgreement] and enter a range period in current year. * The newly created agreement does not appears in result list * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen which allow filtering using makeRangeCondition filter. * Try again to search [agreements|https://localhost:8443/accounting/control/FindAgreement] with the same range period. * The newly created agreement must appear was: When using makeRangeCondition for a project, it seems that one case is not returned by the generated condition: When we have a value with both from and thrudate greater than given range How to test: * Create an agreement with fromDate = current year start date and endDate = current year end date in [agreement screen|[https://localhost:8443/accounting/control/EditAgreement].] * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement find screen whiwh allow filtering using makeRangeCondition filter. Got to agreement [find screen|https://localhost:8443/accounting/control/FindAgreement] and enter a range period in current year. * The newly created agreement does not appears in result list * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen whiwh allow filtering using makeRangeCondition filter. * Try again to search [agreements|https://localhost:8443/accounting/control/FindAgreement] with the same range period. * The newly created agreement must appear > Improve makeRangeCondition in file EntityDateFilterCondition.java > - > > Key: OFBIZ-12051 > URL: https://issues.apache.org/jira/browse/OFBIZ-12051 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: Leila Mekika >Priority: Minor > Fix For: Trunk > > Attachments: OFBIZ-12051-TESTSCREEN.txt, OFBIZ-12051.patch > > > When using makeRangeCondition for a project, it seems that one case is not > returned by the generated condition: > When we have a value with both from and thrudate greater than given range > > How to test: > * Create an agreement with fromDate = current year start date and endDate = > current year end date in [agreement > screen|https://localhost:8443/accounting/control/EditAgreement] > * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement > find screen whiwh allow filtering using makeRangeCondition filter. > Got to agreement [find > screen|https://localhost:8443/accounting/control/FindAgreement] and enter a > range period in current year. > * The newly created agreement does not appears in result list > * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen > which allow filtering using makeRangeCondition filter. > * Try again to search > [agreements|https://localhost:8443/accounting/control/FindAgreement] with the > same range period. > * The newly created agreement must appear -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OFBIZ-12051) Improve makeRangeCondition in file EntityDateFilterCondition.java
[ https://issues.apache.org/jira/browse/OFBIZ-12051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leila Mekika updated OFBIZ-12051: - Description: When using makeRangeCondition for a project, it seems that one case is not returned by the generated condition: When we have a value with both from and thrudate greater than given range How to test: * Create an agreement with fromDate = current year start date and endDate = current year end date in [agreement screen|https://localhost:8443/accounting/control/EditAgreement] * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement find screen which allow filtering using makeRangeCondition filter. Got to agreement [find screen|https://localhost:8443/accounting/control/FindAgreement] and enter a range period in current year. * The newly created agreement does not appears in result list * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen which allow filtering using makeRangeCondition filter. * Try again to search [agreements|https://localhost:8443/accounting/control/FindAgreement] with the same range period. * The newly created agreement must appear was: When using makeRangeCondition for a project, it seems that one case is not returned by the generated condition: When we have a value with both from and thrudate greater than given range How to test: * Create an agreement with fromDate = current year start date and endDate = current year end date in [agreement screen|https://localhost:8443/accounting/control/EditAgreement] * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement find screen whiwh allow filtering using makeRangeCondition filter. Got to agreement [find screen|https://localhost:8443/accounting/control/FindAgreement] and enter a range period in current year. * The newly created agreement does not appears in result list * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen which allow filtering using makeRangeCondition filter. * Try again to search [agreements|https://localhost:8443/accounting/control/FindAgreement] with the same range period. * The newly created agreement must appear > Improve makeRangeCondition in file EntityDateFilterCondition.java > - > > Key: OFBIZ-12051 > URL: https://issues.apache.org/jira/browse/OFBIZ-12051 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: Leila Mekika >Priority: Minor > Fix For: Trunk > > Attachments: OFBIZ-12051-TESTSCREEN.txt, OFBIZ-12051.patch > > > When using makeRangeCondition for a project, it seems that one case is not > returned by the generated condition: > When we have a value with both from and thrudate greater than given range > > How to test: > * Create an agreement with fromDate = current year start date and endDate = > current year end date in [agreement > screen|https://localhost:8443/accounting/control/EditAgreement] > * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement > find screen which allow filtering using makeRangeCondition filter. > Got to agreement [find > screen|https://localhost:8443/accounting/control/FindAgreement] and enter a > range period in current year. > * The newly created agreement does not appears in result list > > * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen > which allow filtering using makeRangeCondition filter. > * Try again to search > [agreements|https://localhost:8443/accounting/control/FindAgreement] with the > same range period. > * The newly created agreement must appear -- This message was sent by Atlassian Jira (v8.3.4#803005)