Comments (28)
Hi,
I need more information please. Which version of the Plugin you use, exact steps to reproduce, everythine what it needs to help me. Also a little reproducable script. Thx :)
from minifierbeans.
Hi.
Plugin version 3.3, downloaded from here today. NB 12.3 also installed yesterday. I've just installed Netbeans, plugins and started to work - no some special steps. Experimentally I see, that all minifying command lead to exception. I can only copy as minified from context menu - this works only.
from minifierbeans.
I need all steps that you did :). No need for special steps but did you do a right click on a file? Or did you do a save on that or what exactly? I can't guess.
Experimentally I see, that all minifying command lead to exception
How was your experiment? What did you do? Tell me all what I need to reproduce it.
from minifierbeans.
Hello. Please, watch this https://yadi.sk/d/C8zIo33aT5eSog screen video. I have also showed that checkbox "Minify on Save" doesn't keep its state.
from minifierbeans.
Hi
Do you have enough information?
from minifierbeans.
Hey thx for asking again. I didn't find time to check this. I will do it in the next couple of days. Thx for your patience :).
from minifierbeans.
Unfortunately, I can't reproduce this problem. You are under windows I see, which JDK do you use?
from minifierbeans.
it was JDK14, but after I had this issue, I downloaded JDK 16. Portable version.
I see, this is my only trouble..
from minifierbeans.
So it didn't work with JDK 14 but it worked with 16, right? Or you have the problem on both JDKs? Can you please try to use JDK 11? I will try JDK 14 too to see whether this is the problem or not. Thx for the infos.
from minifierbeans.
Hey @Ilya-Zhulin I didn't try JDK 14 yet. I know that 16 is not supported with 12.3 but it will comes in 12.4. Can you try please different JDKs too like JDK 9, 10 or 11? I really want to help you, but as you can see I can't reproduce the problem. So I need more information.
from minifierbeans.
Hello, i want to install Minifierbeans-3.3.0.nbm on Netbeans 12.3 i use last OpenJDK 11 and get an error:
netbeans error cannot decrease processed workunit count(-2011422090) to lower value than before (0)
What happened?
from minifierbeans.
Hey @JuergenLaas please create a new ticket with all the information and the whole stracktrace. Otherwise I can't help without any information. Thx.
from minifierbeans.
@Ilya-Zhulin did you try Oracle JDK 14 or Open JDK 14?
from minifierbeans.
I use Oracle JDK
from minifierbeans.
I've updated NB to version 12.4 and now this error looks like this:
java.lang.NullPointerException: Cannot invoke "java.util.concurrent.Future.get(long, java.util.concurrent.TimeUnit)" because "task" is null at io.github.chris2011.netbeans.minifierbeans.javascript.JSMinify.jsMinify(JSMinify.java:124) at io.github.chris2011.netbeans.minifierbeans.javascript.JSMinify.access$000(JSMinify.java:54) at io.github.chris2011.netbeans.minifierbeans.javascript.JSMinify$1.run(JSMinify.java:72) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
from minifierbeans.
Still with Oracle JDK 14?
from minifierbeans.
Hi. Now I've downloaded previous major version - Oracle jdk-11.0.11 and have the same problem:
java.lang.NullPointerException
at io.github.chris2011.netbeans.minifierbeans.javascript.JSMinify.jsMinify(JSMinify.java:124)
at io.github.chris2011.netbeans.minifierbeans.javascript.JSMinify.access$000(JSMinify.java:54)
at io.github.chris2011.netbeans.minifierbeans.javascript.JSMinify$1.run(JSMinify.java:72)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
from minifierbeans.
Why did you close the ticket? Is it working now? If not, i guess you have Windows, right? Can you check whether the folder in your user path exists or not: users\username.netbeans\minifierbeans\custom-packages with a node_modules folder and some scripts?
from minifierbeans.
Sorry with closing - my bad. There is this folder on the screenshot. I see a package in zip archive (on the left panel), but folder contains json file only (shown on the right panel)
from minifierbeans.
OK, it's working now. I unpacked this archive, started NetBeans. The program started to download and unpack a new minifyneans archive, but it was finished by error of unpacking. I tried twice but with the same result. After this I found that custom_packages.zip become 36 Mb instead of 5. I unpacked it by hand and started NB again. It works from that.
from minifierbeans.
Only moment - NB doesn't store Minify on save checkbox for all tabs - CSS, JS etc. It is unchecked every time after restart of NB. Do you know something about it?
from minifierbeans.
Only moment - NB doesn't store Minify on save checkbox for all tabs - CSS, JS etc. It is unchecked every time after restart of NB. Do you know something about it?
Please see the issue section first, I already created it #73.
OK, it's working now. I unpacked this archive, started NetBeans. The program started to download and unpack a new minifyneans archive, but it was finished by error of unpacking. I tried twice but with the same result. After this I found that custom_packages.zip become 36 Mb instead of 5. I unpacked it by hand and started NB again. It works from that.
Can you please have a look, what the error was? If I don't show it, please have a look into the ide.log file.
So the original NPE was the error of missing CLIs I will handle this, by showing a notification, check them and to trigger the download/unpacking again. But if there is a problem while unpacking, I need to know what the problem is. Thx.
from minifierbeans.
This one (if I think correct )- this repeats many times in the message.log.
INFO [org.netbeans.modules.progress.spi.InternalHandle]: Cannot process more work than scheduled. Progress handle with name "Extracting minifierbeans archive" has requested progress to workunit no.745547391 but the total number of workunits is 0. That means the progress bar UI will not display real progress and will stay at 100%.
java.lang.IllegalArgumentException
[catch] at org.netbeans.modules.progress.spi.InternalHandle.progress(InternalHandle.java:329)
at org.netbeans.api.progress.ProgressHandle.progress(ProgressHandle.java:264)
at org.netbeans.api.progress.ProgressHandle.progress(ProgressHandle.java:242)
at io.github.chris2011.netbeans.minifierbeans.Installer.extractArchive(Installer.java:229)
at io.github.chris2011.netbeans.minifierbeans.Installer.access$400(Installer.java:33)
at io.github.chris2011.netbeans.minifierbeans.Installer$2.run(Installer.java:164)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
from minifierbeans.
Thx, will have a look :)
from minifierbeans.
Fixed in release 3.3.1, please test it @Ilya-Zhulin.
from minifierbeans.
The problem was, that I didn't know how the Progressbar in NetBeans worked but now I handled it.
from minifierbeans.
Hi, problem with exception is solved. Sorry for delay - it was vacation. Thank you.
from minifierbeans.
No problem :). Thx for the info.
from minifierbeans.
Related Issues (20)
- MissingResourceException on action Copy minified CSS
- Question: Get rid of copy minfied code or not HOT 1
- Switch from HTMLCompressor to html-minifier-terser
- Switch from Java based XMLCompressor to npm minify-xml HOT 1
- Plugin not available for Netbeans 11.3 HOT 9
- Installation in Netbeans 12.3 on OpenJDK 11 with Minifierbeans-3.3.0 not working. HOT 15
- Every option that was changed will be resetted after NetBeans restart HOT 1
- Random minified JavaScript code added to file on save HOT 4
- Change --language_out from STABLE to other spec HOT 1
- no .nbm file HOT 2
- Exception while unzipping HOT 2
- Netbeans 12.4 and OpenJ9 9-0.26.0 and minifierbeans 3.3.1 HOT 2
- After reboot Netbeans reset "Minify on save" setting HOT 7
- [BUG] HTML minify not working anymore due to update of html-minifier-terser HOT 1
- [BUG] Minifier doesn't work with non-latin path HOT 9
- Migrate to new Plugin Portal HOT 2
- [BUG]Bash scripts with wrong file permissions on MacOS HOT 1
- Can plugin be installed on Netbeans 14? HOT 1
- [BUG] - Permission Denied Exception on executing Minify JS action HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minifierbeans.