java.lang.UnsupportedOperationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • One of the titans ran into this issue: I ran into a problem over the holidays with Ti Studio 3.0.1 on my laptop (Windows). After installing the update to Studio, is seems that the CLI and Alloy install failed. (I am not using Alloy at this time.) Now when I try to run an Android app in the emulator with SDK 3.0.0.GA, I get the error log below. Does anyone know what it's complaining about? Thanks, - Shawn !ENTRY com.appcelerator.titanium.update 4 4 2013-01-01 16:24:30.649 !MESSAGE Error encountered during update !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-01-01 16:24:30.649 !MESSAGE !STACK 0 java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install( NodePackageManager.java:174) at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRel ease.java:43) at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates (TitaniumSDKUpdater.java:591) at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$0(TitaniumSDKUp dater.java:556) at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdat er.java:388) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-01-01 16:24:30.649 !MESSAGE !STACK 0 java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install( NodePackageManager.java:174) at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRel ease.java:43) at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates (TitaniumSDKUpdater.java:591) at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$0(TitaniumSDKUp dater.java:556) at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdat er.java:388) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.alloy.ui 4 0 2013-01-01 16:24:30.659 !MESSAGE (Build 3.0.1.201212181159) [ERROR] Failed to add Alloy templates !STACK 1 org.eclipse.core.runtime.CoreException: Unable to find 'alloy' binary. at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemp latesWithNewCommand(AlloyTemplateInstaller.java:261) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemp lates(AlloyTemplateInstaller.java:246) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.access$ 0(AlloyTemplateInstaller.java:244) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$1.run(A lloyTemplateInstaller.java:151) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.appcelerator.titanium.alloy.ui 4 0 2013-01-01 16:24:30.659 !MESSAGE Unable to find 'alloy' binary.
    via by Nam Le,
  • User reported the following exception is seen in the log when prompted for updating the npm packages, and the installation failed: {code} !ENTRY com.appcelerator.titanium.update 4 4 2013-01-01 16:24:30.649 !MESSAGE Error encountered during update !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-01-01 16:24:30.649 !MESSAGE !STACK 0 java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install(NodePackageManager.java:174) at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRelease.java:43) at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates(TitaniumSDKUpdater.java:591) at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$0(TitaniumSDKUpdater.java:556) at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdater.java:388) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-01-01 16:24:30.649 !MESSAGE !STACK 0 java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install(NodePackageManager.java:174) at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRelease.java:43) at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates(TitaniumSDKUpdater.java:591) at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$0(TitaniumSDKUpdater.java:556) at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdater.java:388) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.alloy.ui 4 0 2013-01-01 16:24:30.659 !MESSAGE (Build 3.0.1.201212181159) [ERROR] Failed to add Alloy templates !STACK 1 org.eclipse.core.runtime.CoreException: Unable to find 'alloy' binary. at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemplatesWithNewCommand(AlloyTemplateInstaller.java:261) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemplates(AlloyTemplateInstaller.java:246) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.access$0(AlloyTemplateInstaller.java:244) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$1.run(AlloyTemplateInstaller.java:151) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.appcelerator.titanium.alloy.ui 4 0 2013-01-01 16:24:30.659 !MESSAGE Unable to find 'alloy' binary. {code}
    via by Michael Xia,
  • One of the titans ran into this issue: I ran into a problem over the holidays with Ti Studio 3.0.1 on my laptop (Windows). After installing the update to Studio, is seems that the CLI and Alloy install failed. (I am not using Alloy at this time.) Now when I try to run an Android app in the emulator with SDK 3.0.0.GA, I get the error log below. Does anyone know what it's complaining about? Thanks, - Shawn !ENTRY com.appcelerator.titanium.update 4 4 2013-01-01 16:24:30.649 !MESSAGE Error encountered during update !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-01-01 16:24:30.649 !MESSAGE !STACK 0 java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install( NodePackageManager.java:174) at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRel ease.java:43) at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates (TitaniumSDKUpdater.java:591) at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$0(TitaniumSDKUp dater.java:556) at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdat er.java:388) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-01-01 16:24:30.649 !MESSAGE !STACK 0 java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install( NodePackageManager.java:174) at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRel ease.java:43) at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates (TitaniumSDKUpdater.java:591) at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$0(TitaniumSDKUp dater.java:556) at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdat er.java:388) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.alloy.ui 4 0 2013-01-01 16:24:30.659 !MESSAGE (Build 3.0.1.201212181159) [ERROR] Failed to add Alloy templates !STACK 1 org.eclipse.core.runtime.CoreException: Unable to find 'alloy' binary. at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemp latesWithNewCommand(AlloyTemplateInstaller.java:261) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemp lates(AlloyTemplateInstaller.java:246) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.access$ 0(AlloyTemplateInstaller.java:244) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$1.run(A lloyTemplateInstaller.java:151) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.appcelerator.titanium.alloy.ui 4 0 2013-01-01 16:24:30.659 !MESSAGE Unable to find 'alloy' binary.
    via by Nam Le,
  • User reported the following exception is seen in the log when prompted for updating the npm packages, and the installation failed: {code} !ENTRY com.appcelerator.titanium.update 4 4 2013-01-01 16:24:30.649 !MESSAGE Error encountered during update !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-01-01 16:24:30.649 !MESSAGE !STACK 0 java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install(NodePackageManager.java:174) at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRelease.java:43) at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates(TitaniumSDKUpdater.java:591) at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$0(TitaniumSDKUpdater.java:556) at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdater.java:388) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-01-01 16:24:30.649 !MESSAGE !STACK 0 java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.install(NodePackageManager.java:174) at com.appcelerator.titanium.update.TitaniumNPMRelease.install(TitaniumNPMRelease.java:43) at com.appcelerator.titanium.update.TitaniumSDKUpdater.installTitaniumUpdates(TitaniumSDKUpdater.java:591) at com.appcelerator.titanium.update.TitaniumSDKUpdater.access$0(TitaniumSDKUpdater.java:556) at com.appcelerator.titanium.update.TitaniumSDKUpdater$2.run(TitaniumSDKUpdater.java:388) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.alloy.ui 4 0 2013-01-01 16:24:30.659 !MESSAGE (Build 3.0.1.201212181159) [ERROR] Failed to add Alloy templates !STACK 1 org.eclipse.core.runtime.CoreException: Unable to find 'alloy' binary. at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemplatesWithNewCommand(AlloyTemplateInstaller.java:261) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemplates(AlloyTemplateInstaller.java:246) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.access$0(AlloyTemplateInstaller.java:244) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$1.run(AlloyTemplateInstaller.java:151) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.appcelerator.titanium.alloy.ui 4 0 2013-01-01 16:24:30.659 !MESSAGE Unable to find 'alloy' binary. {code}
    via by Michael Xia,
  • java errors and exceptions: June 2012
    via by Unknown author,
  • spring mvc http proxy
    via Stack Overflow by C.Giraud
    ,
    • java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableMap.put(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Users with the same issue

    jokesterjokester
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    alexsalexs
    8 times, last one,
    tvrmsmithtvrmsmith
    1 times, last one,
    HronomHronom
    3 times, last one,