GithubHelp home page GithubHelp logo

Comments (13)

foal avatar foal commented on July 4, 2024

I found the sane issue on google code: https://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=333

from gwt-eclipse-plugin.

foal avatar foal commented on July 4, 2024

-clean option helps sometime. After 10-20-30 eclipse restarts :)

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 4, 2024

Thanks for reporting and sharing the workaround.

from gwt-eclipse-plugin.

foal avatar foal commented on July 4, 2024

Really it isn't workaround. I spent few hours and result the same - the error.

I look into the sources and can't understand how NPE can happening on this line

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 4, 2024

Formatting it helps read it. Hm, I haven't seen that npe. From the looks of it its an older version of Eclipse, can you upgrade to a newer version such as Luna?

from gwt-eclipse-plugin.

foal avatar foal commented on July 4, 2024

It is STS 3.7 on Mars (e45).

BTW the error happening even on empty new workspase. First run is Ok. Second - the error. The only thing was updated is Java 8u45 -> 8u51. The error was on the 8u45 but disappeared after several restarts

from gwt-eclipse-plugin.

foal avatar foal commented on July 4, 2024

I see.

            Class<? extends IGdtProblemType> problemTypeEnum = this.getProblemTypeEnum(problemTypeEnumTypeName);
            if (problemTypeEnumTypeName == null) {
                CorePluginLog.logError((String)("Could not find problem enum type: " + problemTypeEnumTypeName));
                return;
            }

Should be if (problemTypeEnumType == null) {

from gwt-eclipse-plugin.

foal avatar foal commented on July 4, 2024

The real workaround:

Remove from the sts-3.7.0.RELEASE\configuration.settings\com.google.gdt.eclipse.suite.prefs file the flowing line:

problemSeverities=com.google.gwt.eclipse.core.markers.ClientBundleProblemType#602=1

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 4, 2024

Oh, I read the version wrong then, on mars, that could be. I have a few bugs to work out there. So you're saying its happening with empty workspace, I'll try that out. I've got one bug fixed already in mars, and I'll take a look at this. I'll be updating the beta in the next few days.

Or nice, it looks like you have a patch, cool. I can add that soon. I'm hoping to have another build out by this weekend with some bug fixes.

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 4, 2024

Or if you want the credit, just pull a PR against the main, you probably could just edit that quickly in github if you like. I can run the testing when the build server comes up.

from gwt-eclipse-plugin.

steveandrews01 avatar steveandrews01 commented on July 4, 2024

I've been getting the same problem. I am using GSS in my UIBinder templates referencing a separate constants stylesheet so have turned off the missing CSS file error in the GWT preferences so the project builds. This causes the error described.

If I remove the following line from the settings file mentioned above then it builds ok.

problemSeverities=com.google.gwt.eclipse.core.uibinder.problems.UiBinderTemplateProblemType#401=0

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 4, 2024

Build server is coming online, I'll be running the PRs and building today

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 4, 2024

This should be fixed, but I'm not sure if it's in the production repo yet. That will change soon as another set of changes is on its way.

from gwt-eclipse-plugin.

Related Issues (20)

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.