Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.0, 1.8.4
-
Component/s: GroovyScriptEngine
-
Labels:None
-
Number of attachments :
Description
GroovyScriptEngine loadScriptByName from jarURL, first time is ok, second time fail, GroovyScriptEngine attempts to load from a fileURL.
For fix this, change this:
String path = conn.getURL().getPath();
to
String path = conn.getURL().toString();
Activity
Guillaume Laforge
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.8.6 [ 18245 ] | |
| Fix Version/s | 1.8.5 [ 18071 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.8.7 [ 18317 ] | |
| Fix Version/s | 1.8.6 [ 18245 ] |
Guillaume Laforge
made changes -
| Description |
GroovyScriptEngine loadScriptByName from jarURL, first time is ok, second time fail, GroovyScriptEngine attempts to load from a fileURL.
For fix this, change this: String path = conn.getURL().getPath(); to String path = conn.getURL().toString(); |
GroovyScriptEngine loadScriptByName from jarURL, first time is ok, second time fail, GroovyScriptEngine attempts to load from a fileURL.
For fix this, change this: {code} String path = conn.getURL().getPath(); {code} to {code} String path = conn.getURL().toString(); {code} |
Guillaume Laforge
made changes -
| Fix Version/s | 1.8.8 [ 18684 ] | |
| Fix Version/s | 1.8.7 [ 18317 ] |
blackdrag blackdrag
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | blackdrag blackdrag [ blackdrag ] | |
| Fix Version/s | 2.0.2 [ 18685 ] | |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |