Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4936] Android: require() raises an exception for JS module in 1.7.2

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2011-12-01T09:09:43.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-30, Release 1.7.3, Release 1.8.0
ComponentsAndroid
Labelsn/a
ReporterFederico "Lox" Lucignano
AssigneeDon Thorp
Created2011-07-27T01:26:12.000+0000
Updated2011-12-01T09:09:43.000+0000

Description

Another regression for Android (works on iOS), probably related to TIMOB-4802 (Ti.Filesystem issue). [KitchenSink commonjs.js example](https://github.com/appcelerator/KitchenSink/blob/master/Resources/examples/commonjs.js) fails at loading a CommonJS javascript module:
var echo = require('echo');
var result = echo.echo('hello world');
generates:
D/KrollContext(  423): (kroll$5: app://examples/commonjs.js) [2315,14044] Running evaluated script: app://examples/commonjs.js
D/TitaniumModule(  423): (kroll$5: app://examples/commonjs.js) [128,14172] Attempting to include native module: echo
D/TiFastDev(  423): (kroll$5: app://examples/commonjs.js) [188,14360] sent tokens successfully
E/TitaniumModule(  423): (kroll$5: app://examples/commonjs.js) [3,14363] Error loading module named: echo
E/TitaniumModule(  423): java.lang.IllegalArgumentException: size < 0
E/TitaniumModule(  423): 	at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:65)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.util.TiStreamHelper.toByteArray(TiStreamHelper.java:106)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.TiBlob.getBytes(TiBlob.java:120)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.TiBlob.getText(TiBlob.java:216)
E/TitaniumModule(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:431)
E/TitaniumModule(  423): 	at ti.modules.titanium.TitaniumModuleBindingGen$23.invoke(TitaniumModuleBindingGen.java:875)
E/TitaniumModule(  423): 	at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397)
E/TitaniumModule(  423): 	at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/TitaniumModule(  423): 	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/TitaniumModule(  423): 	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/TitaniumModule(  423): 	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)
E/TitaniumModule(  423): 	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223)
E/TitaniumModule(  423): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/TitaniumModule(  423): 	at android.os.Looper.loop(Looper.java:130)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)
E/KrollMethod(  423): (kroll$5: app://examples/commonjs.js) [33,14396] Exception calling kroll method require, invocation: null ]
E/KrollMethod(  423): org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalArgumentException: size < 0 (app://examples/commonjs.js#28)
E/KrollMethod(  423): 	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1786)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:453)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModuleBindingGen$23.invoke(TitaniumModuleBindingGen.java:875)
E/KrollMethod(  423): 	at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397)
E/KrollMethod(  423): 	at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)
E/KrollMethod(  423): 	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
E/KrollMethod(  423): 	at script(app://examples/commonjs.js:28)
E/KrollMethod(  423): 	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollMethod(  423): 	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollMethod(  423): 	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollMethod(  423): 	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)
E/KrollMethod(  423): 	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
E/KrollMethod(  423): 	at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217)
E/KrollMethod(  423): 	at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223)
E/KrollMethod(  423): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/KrollMethod(  423): 	at android.os.Looper.loop(Looper.java:130)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)
E/KrollMethod(  423): Caused by: java.lang.IllegalArgumentException: size < 0
E/KrollMethod(  423): 	at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:65)
E/KrollMethod(  423): 	at org.appcelerator.titanium.util.TiStreamHelper.toByteArray(TiStreamHelper.java:106)
E/KrollMethod(  423): 	at org.appcelerator.titanium.TiBlob.getBytes(TiBlob.java:120)
E/KrollMethod(  423): 	at org.appcelerator.titanium.TiBlob.getText(TiBlob.java:216)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:431)
E/KrollMethod(  423): 	... 18 more
D/TitaniumModule(  423): (kroll$5: app://examples/commonjs.js) [199,14595] Attempting to include native module: echo
E/TitaniumModule(  423): (kroll$5: app://examples/commonjs.js) [11,14606] Error loading module named: echo
E/TitaniumModule(  423): java.lang.NullPointerException
E/TitaniumModule(  423): 	at java.lang.String.<init>(String.java:276)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.TiBlob.getText(TiBlob.java:216)
E/TitaniumModule(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:431)
E/TitaniumModule(  423): 	at ti.modules.titanium.TitaniumModuleBindingGen$23.invoke(TitaniumModuleBindingGen.java:875)
E/TitaniumModule(  423): 	at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397)
E/TitaniumModule(  423): 	at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/TitaniumModule(  423): 	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/TitaniumModule(  423): 	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/TitaniumModule(  423): 	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)
E/TitaniumModule(  423): 	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223)
E/TitaniumModule(  423): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/TitaniumModule(  423): 	at android.os.Looper.loop(Looper.java:130)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)
E/KrollMethod(  423): (kroll$5: app://examples/commonjs.js) [13,14619] Exception calling kroll method require, invocation: null ]
E/KrollMethod(  423): org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (app://examples/commonjs.js#39)
E/KrollMethod(  423): 	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1786)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:453)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModuleBindingGen$23.invoke(TitaniumModuleBindingGen.java:875)
E/KrollMethod(  423): 	at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397)
E/KrollMethod(  423): 	at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)
E/KrollMethod(  423): 	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
E/KrollMethod(  423): 	at script(app://examples/commonjs.js:39)
E/KrollMethod(  423): 	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollMethod(  423): 	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollMethod(  423): 	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollMethod(  423): 	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)
E/KrollMethod(  423): 	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
E/KrollMethod(  423): 	at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217)
E/KrollMethod(  423): 	at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223)
E/KrollMethod(  423): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/KrollMethod(  423): 	at android.os.Looper.loop(Looper.java:130)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)
E/KrollMethod(  423): Caused by: java.lang.NullPointerException
E/KrollMethod(  423): 	at java.lang.String.<init>(String.java:276)
E/KrollMethod(  423): 	at org.appcelerator.titanium.TiBlob.getText(TiBlob.java:216)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:431)
E/KrollMethod(  423): 	... 18 more
D/TitaniumModule(  423): (kroll$5: app://examples/commonjs.js) [85,14704] Attempting to include native module: __bad_module__
E/TiFastDev(  423): (kroll$5: app://examples/commonjs.js) [28,14732] Broken pipe
E/TiFastDev(  423): java.net.SocketException: Broken pipe
E/TiFastDev(  423): 	at org.apache.harmony.luni.platform.OSNetworkSystem.write(Native Method)
E/TiFastDev(  423): 	at dalvik.system.BlockGuard$WrappedNetworkSystem.write(BlockGuard.java:284)
E/TiFastDev(  423): 	at org.apache.harmony.luni.net.PlainSocketImpl.write(PlainSocketImpl.java:472)
E/TiFastDev(  423): 	at org.apache.harmony.luni.net.SocketOutputStream.write(SocketOutputStream.java:48)
E/TiFastDev(  423): 	at org.appcelerator.titanium.TiFastDev$Session.sendTokens(TiFastDev.java:430)
E/TiFastDev(  423): 	at org.appcelerator.titanium.TiFastDev.openInputStream(TiFastDev.java:169)
E/TiFastDev(  423): 	at org.appcelerator.titanium.io.TiResourceFile.getInputStream(TiResourceFile.java:61)
E/TiFastDev(  423): 	at org.appcelerator.titanium.TiBlob.getInputStream(TiBlob.java:157)
E/TiFastDev(  423): 	at org.appcelerator.titanium.TiBlob.getBytes(TiBlob.java:117)
E/TiFastDev(  423): 	at org.appcelerator.titanium.TiBlob.getText(TiBlob.java:216)
E/TiFastDev(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:431)
E/TiFastDev(  423): 	at ti.modules.titanium.TitaniumModuleBindingGen$23.invoke(TitaniumModuleBindingGen.java:875)
E/TiFastDev(  423): 	at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397)
E/TiFastDev(  423): 	at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)
E/TiFastDev(  423): 	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
E/TiFastDev(  423): 	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/TiFastDev(  423): 	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/TiFastDev(  423): 	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/TiFastDev(  423): 	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)
E/TiFastDev(  423): 	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
E/TiFastDev(  423): 	at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
E/TiFastDev(  423): 	at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105)
E/TiFastDev(  423): 	at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306)
E/TiFastDev(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318)
E/TiFastDev(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217)
E/TiFastDev(  423): 	at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223)
E/TiFastDev(  423): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/TiFastDev(  423): 	at android.os.Looper.loop(Looper.java:130)
E/TiFastDev(  423): 	at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)
E/TitaniumModule(  423): (kroll$5: app://examples/commonjs.js) [17,14749] Error loading module named: __bad_module__
E/TitaniumModule(  423): java.lang.NullPointerException
E/TitaniumModule(  423): 	at java.lang.String.<init>(String.java:276)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.TiBlob.getText(TiBlob.java:216)
E/TitaniumModule(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:431)
E/TitaniumModule(  423): 	at ti.modules.titanium.TitaniumModuleBindingGen$23.invoke(TitaniumModuleBindingGen.java:875)
E/TitaniumModule(  423): 	at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397)
E/TitaniumModule(  423): 	at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/TitaniumModule(  423): 	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/TitaniumModule(  423): 	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/TitaniumModule(  423): 	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)
E/TitaniumModule(  423): 	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
E/TitaniumModule(  423): 	at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223)
E/TitaniumModule(  423): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/TitaniumModule(  423): 	at android.os.Looper.loop(Looper.java:130)
E/TitaniumModule(  423): 	at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)
E/KrollMethod(  423): (kroll$5: app://examples/commonjs.js) [57,14806] Exception calling kroll method require, invocation: null ]
E/KrollMethod(  423): org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (app://examples/commonjs.js#50)
E/KrollMethod(  423): 	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1786)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:453)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModuleBindingGen$23.invoke(TitaniumModuleBindingGen.java:875)
E/KrollMethod(  423): 	at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397)
E/KrollMethod(  423): 	at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)
E/KrollMethod(  423): 	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
E/KrollMethod(  423): 	at script(app://examples/commonjs.js:50)
E/KrollMethod(  423): 	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollMethod(  423): 	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollMethod(  423): 	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollMethod(  423): 	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)
E/KrollMethod(  423): 	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
E/KrollMethod(  423): 	at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217)
E/KrollMethod(  423): 	at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223)
E/KrollMethod(  423): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/KrollMethod(  423): 	at android.os.Looper.loop(Looper.java:130)
E/KrollMethod(  423): 	at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)
E/KrollMethod(  423): Caused by: java.lang.NullPointerException
E/KrollMethod(  423): 	at java.lang.String.<init>(String.java:276)
E/KrollMethod(  423): 	at org.appcelerator.titanium.TiBlob.getText(TiBlob.java:216)
E/KrollMethod(  423): 	at ti.modules.titanium.TitaniumModule.require(TitaniumModule.java:431)
E/KrollMethod(  423): 	... 18 more

Comments

  1. Paul Dowsett 2011-07-27

    Federico Thanks for raising this ticket. In order for it to be progressed, it must follow the guidelines described in [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist). Hence: * edit the ticket to use the wiki formatting markup provided or, specifically, put the code and log inside code blocks * state the exact SDK version you have used, which is output to the log at application launch * state the Android version you have tested * state whether the issue can be reproduced on a device or emulator Please see the checklist to see if you have omitted anything else. Many thanks
  2. Federico "Lox" Lucignano 2011-07-29

    Fixed the report following the guidelines, please fix it now :)
  3. Paul Dowsett 2011-08-08

    Federico This is great! Of course, I will certainly move it across. :) One thing, please note that the Titanium SDK build date and hash is displayed in the log when the application launches. Cheers
  4. Paul Dowsett 2011-08-08

    Federico You can link to other tickets by simply entering their ticket number in plain text, rather than using jira linking markup, and the system will automatically interpret it as a link. If you do it this way, the number will be styled with a strike-through when it has been closed, to make it obvious that the bug has been fixed. Thus, you are correct that ticket TIMOB-4802 relates to the issue you have described, and fortunately has now been fixed. I've tested commonjs.js and indeed it works without problems. Hope this helps
  5. Don Thorp 2011-08-08

    Was fixed by TIMOB-4802
  6. Don Thorp 2011-11-05

    Standardizing summary and labels.
  7. Don Thorp 2011-12-01

    Forgot to close after reopened for standardization.

JSON Source