java.lang.UnsupportedOperationException

Appcelerator JIRA | Nam Le | 4 years ago
  1. 0

    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.

    Appcelerator JIRA | 4 years ago | Nam Le
    java.lang.UnsupportedOperationException
  2. 0

    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}

    Appcelerator JIRA | 4 years ago | Michael Xia
    java.lang.UnsupportedOperationException
  3. 0

    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.

    Appcelerator JIRA | 4 years ago | Nam Le
    java.lang.UnsupportedOperationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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}

    Appcelerator JIRA | 4 years ago | Michael Xia
    java.lang.UnsupportedOperationException
  6. 0

    java errors and exceptions: June 2012

    blogspot.com | 3 months ago
    java.lang.UnsupportedOperationException

  1. alexs 8 times, last 8 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsupportedOperationException

    No message provided

    at java.util.Collections$UnmodifiableMap.put()
  2. Java RT
    Collections$UnmodifiableMap.put
    1. java.util.Collections$UnmodifiableMap.put(Unknown Source)
    1 frame
  3. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame