Blog

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

I am now debugging ColdBox for BlueDragon 7 and came upon an interesting bug that I cannot find a solution for. I am trying to get an iterator out of a linkedHashMap and BD keeps throwing me a Method hasNext could not be legally accessed. Has anybody experienced this? If so, please help. Below is the current simple code: //Create HashMap LinkedHashMap = CreateObject("java","java.util.LinkedHashMap").init(3); Collections = createObject("java", "java.util.Collections"); //synch it LinkedHashMap = Collections.synchronizedMap(LinkedHashMap); //put some elements LinkedHashMap.put("name","luis"); LinkedHashMap.put("date",now()); //Iterate iterator = LinkedHashMap.keySet().iterator(); key = ""; /* Loop and execute each interceptor as registered in order */ while( iterator.hasNext() ){ key = iterator.next(); writeoutput(key & "
"); }

Add Your Comment

Recent Entries

Into the Box 2025 Virtual Tickets Are Now LIVE!

Into the Box 2025 Virtual Tickets Are Now LIVE!

The wait is over! By popular demand, Into the Box 2025 virtual tickets are officially available! Secure your spot today and take advantage of our exclusive early bird pricing before it’s gone!

We’re bringing the community together to push the boundaries of modern development—because change starts with us. We’ve taken the first step, now it’s your turn to evolve and take action!

Maria Jose Herrera
Maria Jose Herrera
April 03, 2025
Security Red Flags in Your ColdFusion App (and how to fix them!)

Security Red Flags in Your ColdFusion App (and how to fix them!)

Security breaches can lead to data leaks, legal issues, and irreversible damage to your company's reputation. Many ColdFusion applications—especially older ones—are vulnerable to cyber threats due to outdated code, weak authentication, and improper security configurations.

When was the last time you audited your ColdFusion application for security risks? If you’re unsure, it’s time for a professional security review.


Top ColdFusion Security Risks – Are You Expose...

Cristobal Escobar
Cristobal Escobar
April 03, 2025
BoxLang 1.0.0 RC3 Has Landed!

BoxLang 1.0.0 RC3 Has Landed!

We are thrilled to announce the release of BoxLang 1.0.0-RC.3, marking a significant milestone in the development of our dynamic JVM language. This release brings a major performance boost and over 100 bug fixes and improvements, making it our most robust release to date. We are now entering the final stretch towards our full release on May 1st, and we need your help to ensure everything is in perfect shape. Please test your applications and report any issues.

Luis Majano
Luis Majano
April 03, 2025