<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>820</bug_id>
          
          <creation_ts>2013-08-25 10:57:18 +0200</creation_ts>
          <short_desc>URI Regressions in IOUtil/JarUtil with [un]escaped chars (was: TextRender curve shaders don&apos;t load if library path contains a space)</short_desc>
          <delta_ts>2013-10-11 20:05:20 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>757</dependson>
          <blocked>683</blocked>
    
    <blocked>857</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="leigh beattie">laykunowns</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
    
    <cc>rami.santina</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>41fce94f95448bbea110a455ea508740fac8d8c9</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2904</commentid>
    <comment_count>0</comment_count>
    <who name="leigh beattie">laykunowns</who>
    <bug_when>2013-08-25 10:57:18 +0200</bug_when>
    <thetext>Problem described here : http://forum.jogamp.org/Update-from-Jogamp-2-0-to-2-0-2-causes-curve-TextRenderer-exception-td4029789.html#a4029877

Exporting project with libraries in a separate folder produces this error when there is a space character in the path to the libraries. For example when application is stored in &quot;Google Drive&quot; folder on any platform the exception happens. If I change it to &quot;Google_Drive&quot; everything works fine. Since the application is portable this is pretty big problem.

Exception in thread &quot;GL Render Thread&quot; java.lang.RuntimeException: readShaderSource(shader/curverenderer01.vp) error: 
        at com.jogamp.opengl.util.glsl.ShaderCode.create(ShaderCode.java:179) 
        at com.jogamp.opengl.util.glsl.ShaderCode.create(ShaderCode.java:365) 
        at com.jogamp.opengl.util.glsl.ShaderCode.create(ShaderCode.java:447) 
        at jogamp.graph.curve.opengl.TextRendererImpl01.initShaderProgram(TextRendererImpl01.java:52) 
        at com.jogamp.graph.curve.opengl.Renderer.init(Renderer.java:134) 
        at engine.GameEngine$5.init(GameEngine.java:513) 
        at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:540) 
        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:586) 
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:572) 
        at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:377) 
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1034) 
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:909) 
        at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:602) 
        at engine.GameEngine$8.run(GameEngine.java:727) 
        at java.lang.Thread.run(Thread.java:722) 
Caused by: java.io.FileNotFoundException: Can&apos;t find include file uniforms.glsl 
        at com.jogamp.opengl.util.glsl.ShaderCode.readShaderSource(ShaderCode.java:746) 
        at com.jogamp.opengl.util.glsl.ShaderCode.readShaderSource(ShaderCode.java:767) 
        at com.jogamp.opengl.util.glsl.ShaderCode.readShaderSource(ShaderCode.java:796) 
        at com.jogamp.opengl.util.glsl.ShaderCode.create(ShaderCode.java:177) 
        ... 14 more</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2905</commentid>
    <comment_count>1</comment_count>
    <who name="leigh beattie">laykunowns</who>
    <bug_when>2013-08-25 10:57:52 +0200</bug_when>
    <thetext>This is with jogl release 2.0.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2916</commentid>
    <comment_count>2</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-08-29 15:47:09 +0200</bug_when>
    <thetext>This is a possible root cause:
http://forum.jogamp.org/JOGL-2-0-2-and-Netbeans-RCP-Applications-tp4029897p4029904.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3053</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-07 01:09:51 +0200</bug_when>
    <thetext>    Bug 820: Escape SPACE in filenames for URI ctor, use decoded URI components when compiling new URI.
    
    Add IOUtil:
      - String encodeToURI(String)
      - String decodeFromURI(String)
    
    Both only handle escaping of SPACE only. Determine whether other chars need to be treated.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>