[JBoss JIRA] (ARTIF-707) Uncaught GWT Error: Cannot read property 'indexOf' of null
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-707?page=com.atlassian.jira.plugin.... ]
Brett Meyer commented on ARTIF-707:
-----------------------------------
standalone-full.xml simply needs 'max-post-size="-1"' added to <http-listener name="default" socket-binding="http"/>, effectively accepting a POST of any size. After that, it works fine. Actually, it's surprisingly quick. It does, however, result in ~ 500 artifacts, so ARTIF-709 is still needed.
> Uncaught GWT Error: Cannot read property 'indexOf' of null
> ----------------------------------------------------------
>
> Key: ARTIF-707
> URL: https://issues.jboss.org/browse/ARTIF-707
> Project: Artificer
> Issue Type: Bug
> Components: UI
> Affects Versions: 1.0.0.Beta1
> Reporter: Thomas Heute
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> While playing with the UI, I tried to upload some random artifacts (In that case I tried to upload artificer-1.0.0.Beta1.zip itself.
> I get an error in the UI:
> Uncaught GWT Error!
> Exception caught: (TypeError) : Cannot read property 'indexOf' of null
> and a message remains forever:
> Importing Artifact(s)
> Please wait while your import is processed...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years
[JBoss JIRA] (ARTIF-707) Uncaught GWT Error: Cannot read property 'indexOf' of null
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-707?page=com.atlassian.jira.plugin.... ]
Brett Meyer commented on ARTIF-707:
-----------------------------------
Root cause:
org.apache.commons.fileupload.FileUploadException: UT000020: Connection terminated as request was larger than 10485760
> Uncaught GWT Error: Cannot read property 'indexOf' of null
> ----------------------------------------------------------
>
> Key: ARTIF-707
> URL: https://issues.jboss.org/browse/ARTIF-707
> Project: Artificer
> Issue Type: Bug
> Components: UI
> Affects Versions: 1.0.0.Beta1
> Reporter: Thomas Heute
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> While playing with the UI, I tried to upload some random artifacts (In that case I tried to upload artificer-1.0.0.Beta1.zip itself.
> I get an error in the UI:
> Uncaught GWT Error!
> Exception caught: (TypeError) : Cannot read property 'indexOf' of null
> and a message remains forever:
> Importing Artifact(s)
> Please wait while your import is processed...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years
[JBoss JIRA] (ARTIF-707) Uncaught GWT Error: Cannot read property 'indexOf' of null
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-707?page=com.atlassian.jira.plugin.... ]
Brett Meyer commented on ARTIF-707:
-----------------------------------
I take part of that back. It looks like the upload call never actually reaches Artificer, so Firefox is failing also. Regardless, even if it did reach the server, ARTIF-709 would be a problem.
> Uncaught GWT Error: Cannot read property 'indexOf' of null
> ----------------------------------------------------------
>
> Key: ARTIF-707
> URL: https://issues.jboss.org/browse/ARTIF-707
> Project: Artificer
> Issue Type: Bug
> Components: UI
> Affects Versions: 1.0.0.Beta1
> Reporter: Thomas Heute
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> While playing with the UI, I tried to upload some random artifacts (In that case I tried to upload artificer-1.0.0.Beta1.zip itself.
> I get an error in the UI:
> Uncaught GWT Error!
> Exception caught: (TypeError) : Cannot read property 'indexOf' of null
> and a message remains forever:
> Importing Artifact(s)
> Please wait while your import is processed...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years
[JBoss JIRA] (ARTIF-709) Allow artifact expansion to be enabled/disabled during each upload
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-709?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated ARTIF-709:
------------------------------
Fix Version/s: 1.0.0.Beta2
> Allow artifact expansion to be enabled/disabled during each upload
> ------------------------------------------------------------------
>
> Key: ARTIF-709
> URL: https://issues.jboss.org/browse/ARTIF-709
> Project: Artificer
> Issue Type: Feature Request
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> Expansion is useful in some cases (especially API jars, etc.). However, in others, it's actually pretty harmful. Ex: pushing in a project's ZIP distro, a large WAR with all its dependency JARs, etc. Currently, Artificer would get overwhelmed with the amount of info to pull out.
> Suggestion:
> 1.) Expansion disabled by default
> 2.) Enable with checkbox on web UI, argument on CLI, argument on Java client, etc.
> 3.) If *not* expanded, the relationship builders should still kick in. So, the contents would still be parsed. If it contains, for example, a WSDL that imports an XSD or a Java class that impls an API interface, the relationships should still be created. But those relationships would point to the archive itself, rather than an expanded/derived artifact.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years
[JBoss JIRA] (ARTIF-707) Uncaught GWT Error: Cannot read property 'indexOf' of null
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-707?page=com.atlassian.jira.plugin.... ]
Brett Meyer commented on ARTIF-707:
-----------------------------------
Chrome fails fast. Firefox appears to hang indefinitely on the "Importing Artifact(s)", but doesn't appear to actually fail.
Figure out why Chrome immediately fails (filesize restriction, etc). But Firefox should probably be temporarily deferred. Instead, focus on ARTIF-709 first. The server may simply be choking on the sheer number of artifacts in that distro (it's expanding and deriving the WARs, the dependency JARs in the WARs, all schemas, etc.). Arguably, expansion should occur only for *contract* or *schema* archives, not impl archives.
> Uncaught GWT Error: Cannot read property 'indexOf' of null
> ----------------------------------------------------------
>
> Key: ARTIF-707
> URL: https://issues.jboss.org/browse/ARTIF-707
> Project: Artificer
> Issue Type: Bug
> Components: UI
> Affects Versions: 1.0.0.Beta1
> Reporter: Thomas Heute
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> While playing with the UI, I tried to upload some random artifacts (In that case I tried to upload artificer-1.0.0.Beta1.zip itself.
> I get an error in the UI:
> Uncaught GWT Error!
> Exception caught: (TypeError) : Cannot read property 'indexOf' of null
> and a message remains forever:
> Importing Artifact(s)
> Please wait while your import is processed...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years
[JBoss JIRA] (ARTIF-709) Allow artifact expansion to be enabled/disabled during each upload
by Brett Meyer (JIRA)
Brett Meyer created ARTIF-709:
---------------------------------
Summary: Allow artifact expansion to be enabled/disabled during each upload
Key: ARTIF-709
URL: https://issues.jboss.org/browse/ARTIF-709
Project: Artificer
Issue Type: Feature Request
Reporter: Brett Meyer
Assignee: Brett Meyer
Expansion is useful in some cases (especially API jars, etc.). However, in others, it's actually pretty harmful. Ex: pushing in a project's ZIP distro, a large WAR with all its dependency JARs, etc. Currently, Artificer would get overwhelmed with the amount of info to pull out.
Suggestion:
1.) Expansion disabled by default
2.) Enable with checkbox on web UI, argument on CLI, argument on Java client, etc.
3.) If *not* expanded, the relationship builders should still kick in. So, the contents would still be parsed. If it contains, for example, a WSDL that imports an XSD or a Java class that impls an API interface, the relationships should still be created. But those relationships would point to the archive itself, rather than an expanded/derived artifact.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years
[JBoss JIRA] (ARTIF-708) Support Java 8
by Brett Meyer (JIRA)
Brett Meyer created ARTIF-708:
---------------------------------
Summary: Support Java 8
Key: ARTIF-708
URL: https://issues.jboss.org/browse/ARTIF-708
Project: Artificer
Issue Type: Task
Affects Versions: 1.0.0.Beta1
Reporter: Brett Meyer
Assignee: Brett Meyer
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project artificer-repository-hibernate: Compilation
failure: Compilation failure:
[ERROR]
/home/theute/Projects/Artificer/artificer/repository/hibernate/src/main/java/org/artificer/repository/hibernate/HibernateEntityFactory.java:[60,59]
cannot access javax.servlet.Filter
[ERROR] class file for javax.servlet.Filter not found
[ERROR]
/home/theute/Projects/Artificer/artificer/repository/hibernate/src/main/java/org/artificer/repository/hibernate/query/ArtificerToHibernateQueryVisitor.java:[577,19]
incomparable types: java.lang.Object and boolean
[ERROR]
/home/theute/Projects/Artificer/artificer/repository/hibernate/src/main/java/org/artificer/repository/hibernate/query/ArtificerToHibernateQueryVisitor.java:[579,26]
incomparable types: java.lang.Object and boolean
this is the JDK I use:
theute@X1Carbon:artificer (master)$ java -version
openjdk version "1.8.0_45"
OpenJDK Runtime Environment (build 1.8.0_45-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years
[JBoss JIRA] (ARTIF-707) Uncaught GWT Error: Cannot read property 'indexOf' of null
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-707?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated ARTIF-707:
------------------------------
Fix Version/s: 1.0.0.Beta2
> Uncaught GWT Error: Cannot read property 'indexOf' of null
> ----------------------------------------------------------
>
> Key: ARTIF-707
> URL: https://issues.jboss.org/browse/ARTIF-707
> Project: Artificer
> Issue Type: Bug
> Components: UI
> Affects Versions: 1.0.0.Beta1
> Reporter: Thomas Heute
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> While playing with the UI, I tried to upload some random artifacts (In that case I tried to upload artificer-1.0.0.Beta1.zip itself.
> I get an error in the UI:
> Uncaught GWT Error!
> Exception caught: (TypeError) : Cannot read property 'indexOf' of null
> and a message remains forever:
> Importing Artifact(s)
> Please wait while your import is processed...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years