Giter Club home page Giter Club logo

vanilla-java's People

Contributors

peter-lawrey avatar

Watchers

 avatar

vanilla-java's Issues

UNABLE TO CREATE ARRAYLIST OF STRINGS

Given below is the code I have used--

public interface MutableString {
     public void setString(String text);
        public String getString();
}

The above interface is used within a class "WhileProcessor"--

public class WhileProcessor extends BaseProcessor {

    private WhileDef whileDef;
    private HugeArrayList<MutableString> resultList;

    public WhileProcessor(WhileDef whileDef) {
        super(whileDef);
        this.whileDef = whileDef;
        //Arvind Replaced Array List with HugeArrayList...
        HugeArrayList<MutableString> resultList = new HugeArrayBuilder<MutableString>() {}.create();

    }

...remaining code of WhileProcessor class....
}

The error I am getting is given below-- 

Exception in thread "Thread-7" java.lang.NoClassDefFoundError: 
org/objectweb/asm/Label
    at vanilla.java.collections.HugeArrayBuilder.acquireImplClass(HugeArrayBuilder.java:80)
    at vanilla.java.collections.HugeArrayBuilder.create(HugeArrayBuilder.java:43)
    at org.webharvest.runtime.processors.WhileProcessor.<init>(WhileProcessor.java:69)


Why is this happening? I have created the new interface as per the examples 
given in the wiki entry but still I am getting the above error.


Original issue reported on code.google.com by [email protected] on 28 May 2012 at 4:28

Test fills up /tmp

What steps will reproduce the problem?
1. Download the project.
2. Fix pom.xml by specifying source 1.6. (otherwise it doesn't compile)
3. Run mvn test

What is the expected output? What do you see instead?

It's still running, however after a few seconds it created a lot of 1 GB files 
named `/tmp/alloc-X`. As my `/tmp` is `/dev/shm` it's limited to 16 GB.

Filling `/tmp` is too bad as many programs rely on it.

What version of the product are you using? On what operating system?

I'm using the current trunk on Linux pixla12 2.6.32-44-generic #98-Ubuntu SMP 
Mon Sep 24 17:27:10 UTC 2012 x86_64 GNU/Linux

Original issue reported on code.google.com by [email protected] on 17 Oct 2012 at 11:21

HugeArrayList.iterator() fails when empty

It throws a NPE

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(Unknown Source) ~[na:na]
    at java.util.ArrayList.get(Unknown Source) ~[na:na]
    at vanilla.java.collections.impl.AbstractHugeContainer.getAllocation(AbstractHugeContainer.java:104) ~[collections.jar:na]
<snip>

Original issue reported on code.google.com by brianfromoregon on 3 Feb 2012 at 8:02

Warning - JUnit MemoryMappedTest hangs your PC

What steps will reproduce the problem?
1. Run the Junit tests using maven or eclipse

What is the expected output? What do you see instead?
Expected: JUnit passes - Actual: OS gets into unresponsive state after some 
290-320 million objects have been processed according to console output. 

What version of the product are you using? On what operating system?
V0.1.6 On Windows 7 64bit, 8GB Ram, Java 6


Original issue reported on code.google.com by [email protected] on 14 Feb 2012 at 10:31

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.